install:freebsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:freebsd [2009-03-30 23:42] – 79.51.80.175 | install:freebsd [2022-08-07 03:02] (current) – fixed incorrect syntax for chown command 67.209.241.26 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DokuWiki on FreeBSD ====== | ||
+ | To install [[: | ||
+ | #> cd / | ||
+ | #> make install clean | ||
+ | The default DokuWiki directory is ''/ | ||
+ | |||
+ | To configure dokuwiki copy the options from the / | ||
+ | |||
+ | This should be done because a portupgrade will overwrite dokuwiki.php. | ||
+ | |||
+ | To upgrade using the ports tree, do: | ||
+ | |||
+ | #> portupgrade dokuwiki | ||
+ | |||
+ | Make sure that the ports tree has been updated, or this will have no effect. | ||
+ | |||
+ | -- -- -- -- -- | ||
+ | |||
+ | In addition to building from source, as of freeBSD 10+, one can now use the package manager: | ||
+ | |||
+ | pkg install dokuwiki | ||
+ | |||
+ | The package maintainer recommends moving the data directory, and as noted above, it can be moved anywhere. | ||
+ | |||
+ | mv / | ||
+ | nano / | ||
+ | |||
+ | Inside the local.php file, add something like this: | ||
+ | |||
+ | $conf[' | ||
+ | |||
+ | Close the file and now let's make sure that new directory can be accessed by externally: | ||
+ | |||
+ | sudo chmod -R 775 / | ||
+ | sudo chown -R www / | ||
+ | |||
+ | This should remove the security warning from the Admin/ | ||