install:freebsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:freebsd [2015-11-29 00:17] – 173.199.65.11 | install:freebsd [2022-08-07 03:02] (current) – fixed incorrect syntax for chown command 67.209.241.26 | ||
---|---|---|---|
Line 3: | Line 3: | ||
#> cd / | #> cd / | ||
#> make install clean | #> make install clean | ||
- | |||
The default DokuWiki directory is ''/ | The default DokuWiki directory is ''/ | ||
Line 15: | 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.1448752637.txt.gz · Last modified: 2015-11-29 00:17 by 173.199.65.11