install:freebsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:freebsd [2010-07-26 15:06] – old revision restored andi | 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 ====== | ====== DokuWiki on FreeBSD ====== | ||
- | |||
To install [[: | To install [[: | ||
- | |||
#> cd / | #> cd / | ||
#> make install clean | #> make install clean | ||
- | |||
The default DokuWiki directory is ''/ | The default DokuWiki directory is ''/ | ||
Line 17: | Line 14: | ||
Make sure that the ports tree has been updated, or this will have no effect. | 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/ | ||
+ |
install/freebsd.1280149585.txt.gz · Last modified: 2010-07-26 15:06 by andi