install:gentoo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:gentoo [2009-09-30 22:46] – old revision restored ach | install:gentoo [2017-06-27 02:57] (current) – 50.4.233.35 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== DokuWiki on Gentoo ====== | ====== DokuWiki on Gentoo ====== | ||
+ | To install [[: | ||
- | To install [[:DokuWiki]] | + | ===== Prior Configs ===== |
+ | ==== System Base ==== | ||
+ | First, be sure your system is up to date: | ||
+ | $> sudo emerge --sync | ||
+ | As usual, be sure to follow any directions that come back from updating your system before you go on to the later parts of this outline. | ||
+ | $> sudo emerge -auv @world | ||
- | $> emerge --sync | + | In this example, we assume you've got the '' |
- | $> emerge -a dokuwiki | + | $> sudo emerge -av gentoolkit |
- | This will install DokuWiki in '' | + | Assuming that Apache is your web server, and already installed on your host, be sure that PHP is supported. |
+ | | ||
+ | ...you should find PHP in the list of options supported; for instance: | ||
+ | APACHE2_OPTS=" | ||
- | When having | + | We assume that you'll use the '' |
+ | $> equery l webapp-config | ||
+ | * Searching for webapp-config ... | ||
+ | [IP-] [ ] app-admin/webapp-config-1.54-r1: | ||
+ | |||
+ | If it doesn' | ||
+ | $> sudo emerge -av webapp-config | ||
+ | |||
+ | ==== DokuWiki package ==== | ||
+ | |||
+ | To use this example, '' | ||
+ | | ||
+ | ...be sure there' | ||
+ | www-apps/ | ||
+ | |||
+ | |||
+ | ===== Install ===== | ||
+ | Once that's ready, you can bring the package to your host. | ||
+ | $> sudo emerge -av dokuwiki | ||
+ | |||
+ | To be sure that the '' | ||
+ | $ equery u dokuwiki | ||
+ | [ Legend : U - final flag setting for installation] | ||
+ | [ : I - package is installed with flag ] | ||
+ | [ Colors : set, unset ] | ||
+ | * Found these USE flags for www-apps/ | ||
+ | U I | ||
+ | - - gd : Add support for media-libs/ | ||
+ | + + vhosts : Add support for installing web-based applications into a | ||
+ | virtual-hosting environment | ||
+ | |||
+ | If you don't like what you see there -- for instance, if the '' | ||
+ | |||
+ | To use the '' | ||
+ | |||
+ | $> equery l dokuwiki | ||
+ | * Searching for dokuwiki ... | ||
+ | [IP-] [ ] www-apps/ | ||
+ | |||
+ | Here, our '' | ||
+ | |||
+ | $> webapp-config --version | ||
+ | bash: webapp-config: | ||
+ | $> sudo webapp-config --version | ||
+ | 1.54 | ||
+ | |||
+ | To use '' | ||
+ | |||
+ | $> sudo webapp-config -h < | ||
+ | * | ||
+ | * | ||
+ | * This can take several minutes for larger apps | ||
+ | * Files and directories installed | ||
+ | [...] | ||
+ | |||
+ | If all goes well, that should be followed by " | ||
- | You should not forget to set up Apache (the web server) to support PHP. See [[http:// | ||
install/gentoo.1254343561.txt.gz · Last modified: 2009-09-30 22:46 by ach