This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:dokuwiki [2019/01/08 22:53] – oemb1905 | computing:dokuwiki [2022/07/15 04:54] – oemb1905 | ||
---|---|---|---|
Line 6: | Line 6: | ||
------------------------------------------- | ------------------------------------------- | ||
+ | To install dokuwiki: | ||
- | Backup dokuwiki first | + | wget doku.tgz |
- | tar zcpfv dokuwiki-backup.tar.gz /Library/Server/Web/Data/Sites/Haacks/dokuwiki | + | tar zxvf doku.tgz |
+ | |||
+ | Once that's done, follow the instructions in [[https:// | ||
+ | |||
+ | 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, | ||
+ | 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:// | ||
- | Download dokuwiki, untar it, copy it to primary dokuwiki directory | + | 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: |
- | | + | |
- | tar zxvf dokuwiki-c5525093cf2c4f47e2e5d2439fe13964.tgz | + | |
- | ' | + | |
| | ||
- | Fix permissions on dokuwiki | + | zip -r doku-bu-date.zip / |
+ | wget https:// | ||
+ | tar zxvf dokuwiki-example-39fe13964.tgz | ||
+ | ' | ||
+ | |||
+ | Remember, the permissions | ||
- | chmod g+rwx /var/www/html/dokuwiki | + | |
- | sudo chmod -R 755 /var/www/html/ | + | sudo chmod -R 755 /var/www/jonathanhaack.com/ |
- | sudo chown -R www-data:foo /var/www/html/ | + | sudo chown -R www-data:user /var/www/jonathanhaack.com/ |
- | sudo chown www-data:foo /var/www/html/ | + | sudo chown www-data:user /var/www/jonathanhaack.com/ |
- | sudo chmod -R 775 /var/www/html/ | + | sudo chmod -R 775 /var/www/jonathanhaack.com/ |
- | sudo chmod -R 755 /var/www/html/ | + | sudo chmod -R 755 /var/www/jonathanhaack.com/ |
- | sudo chmod -R 755 /var/www/html/ | + | sudo chmod -R 755 /var/www/jonathanhaack.com/ |
- | cd /var/www/html/ | + | cd /var/www/jonathanhaack.com/ |
- | chmod 2775 / | + | |
- | chown www-data:foo / | + | |
- | 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/ | ||
- | + | --- //[[jonathan@haacksnetworking.org|oemb1905]] | |
- | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + |