install:gentoo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:gentoo [2008-08-09 16:53] – fixed link references chi | install:gentoo [2017-06-27 02:57] (current) – 50.4.233.35 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DokuWiki on Gentoo ====== | ||
+ | To install [[: | ||
+ | |||
+ | ===== 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 | ||
+ | |||
+ | In this example, we assume you've got the '' | ||
+ | $> sudo emerge -av gentoolkit | ||
+ | |||
+ | 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=" | ||
+ | |||
+ | We assume that you'll use the '' | ||
+ | $> equery l webapp-config | ||
+ | * Searching for webapp-config ... | ||
+ | [IP-] [ ] app-admin/ | ||
+ | |||
+ | 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 " | ||
+ | |||