This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:dokuwiki [2019/07/29 09:39] – oemb1905 | computing:dokuwiki [2022/07/15 05:19] (current) – oemb1905 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* **Jonathan Haack** | * **Jonathan Haack** | ||
* **Haack' | * **Haack' | ||
- | * **netcmnd@jonathanhaack.com** | + | * **webmaster@haacksnetworking.org** |
------------------------------------------- | ------------------------------------------- | ||
+ | To install dokuwiki: | ||
- | Backup dokuwiki first | + | wget doku.tgz |
- | tar zcpfv dokuwiki-backup.tar.gz | + | tar zxvf doku.tgz |
+ | |||
+ | Once that's done, follow the instructions in [[https://wiki.haacksnetworking.org|Apache Survival]] in order to set up a dedicated domain and virtual host for your wiki. Once that's done, replace the '' | ||
- | Download | + | sudo chmod g+rwx / |
+ | sudo chmod -R 755 / | ||
+ | sudo chown -R www-data: | ||
+ | sudo chown www-data: | ||
+ | sudo chmod -R 775 / | ||
+ | sudo chmod -R 755 / | ||
+ | sudo chmod -R 755 / | ||
+ | cd / | ||
+ | sudo chmod 2775 {attic,cache,index, | ||
+ | sudo chown www-data: | ||
+ | |||
+ | After permissions are all set, navigate to the installer page so it can instantiate the database and global wiki settings. | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Eventually your instance will become outdated. In that case, first back up the install, then wget the new tgz file, then unpack and migrate the new content on top of the existing as follows: | ||
+ | |||
+ | zip -r doku-bu-date.zip /path/to/doku | ||
wget https:// | wget https:// | ||
tar zxvf dokuwiki-example-39fe13964.tgz | tar zxvf dokuwiki-example-39fe13964.tgz | ||
' | ' | ||
| | ||
- | Often, I need to recursively chmod the entire dokuwiki directory at 777, and then one by one fix the permissions on dokuwiki after I do the upgrade/ | + | Remember, the permissions |
sudo chmod g+rwx / | sudo chmod g+rwx / | ||
Line 28: | Line 48: | ||
sudo chown www-data: | sudo chown www-data: | ||
- | Dokuwiki details their permission recommendations here: [[https:// | + | Dokuwiki details their rational for these permission recommendations here: [[https:// |
yourwiki> | yourwiki> | ||
Line 36: | Line 56: | ||
yourwiki/ | yourwiki/ | ||
- | --- //[[oemb1905@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.org|oemb1905]] |