After posting, I realized that my instructions didn't properly address your specific questions, so here are the steps to install DokuWiki on the Cherokee server:
Download and Install DokuWiki (per
DokuWiki Installation Instructions)
1. Download the latest stable release of
DokuWiki (currently 2010-11-07a)
2. Create a web directory (Note: all examples use hda1. Change this to suit your situation)
sudo mkdir /mnt/hda1/www
3. Unpack the tarball
sudo tar -xf dokuwiki-2010-11-07a.tgz -C /mnt/hda1/www
4. Change ownership of the DokuWiki directory
sudo chown -R tc.staff /mnt/hda1/www/dokuwiki-2010-11-07a/
Configure Cherokee1. Create the Cherokee log files and set permissions
cd /var/log
sudo touch cherokee.access cherokee.error
sudo chown tc.staff cherokee.*
2. Start the Cherokee admin interface
sudo cherokee-admin
3. Open a web browser and enter
127.0.0.1:9090 in the address bar
4. Log on using the credentials supplied in the terminal
- If the server is running click on [Stop Server]
5. Select: General
a) Select: Network
IPv6 - Uncheck Enabled
b) Select: Permissions
User: tc
Group: staff
6. Select: vServers
a) Select: Basics
Document Root: /mnt/hda1/www/dokuwiki-2010-11-07a
Directory Indexes: index.html, index.php
b) Select: Behavior [Rule Management] [New]
Select: Languages > PHP [Add] [Create]
Click: [Non Final] in Extensions php box to change it to final
7. Select: Save [Ok]
8. Select: Home [Start Server]
Important HousekeepingAdd config files to
/opt/.filetool.lst and run a backup
echo usr/local/etc/cherokee/cherokee.conf >> /opt/.filetool.lst
echo var/log/cherokee.access >> /opt/.filetool.lst
echo var/log/cherokee.error >> /opt/.filetool.lst
filetool.sh -b
Set Up DokuWiki1. In your browser address bar enter:
localhost/install.php2. Follow the on-screen instructions to complete the setup.
Important: If you plan on running your wiki with public access over the internet, please note the warning box (lower right) stating that your data directory is NOT properly secured and follow the instructions given in the link.Once setup is complete, you can access the wiki by entering
localhost in the address bar.
If you want your server to start
automagically on system boot, add the following stanza to /opt/bootlocal.sh
echo /usr/local/etc/init.d/cherokee start >> /opt/bootlocal.sh
{Edit: Amended to include missing instructions.}