This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.
Warning: no promises of security are made in this guide. It was intended to be run on an offline workstation.
At a minimum, the webserver must access your wiki on demand. There are better and more complex ways of setting it up, but this will suffice. In /etc/httpd/httpd.conf, in the section: IfModule mod_alias.c, add the following line:
Alias /wiki/ /var/wiki
Replace /var/wiki with the directory you've chosen.
Apache will not be configured to use PHP by default, so you may need to do the following.
Edit /etc/httpd/httpd.conf by uncommenting the line: #Include /etc/httpd/mod_php.conf
Edit /etc/httpd/httpd.conf by adding: index.php to the line DirectoryIndex index.html
Edit /etc/httpd/mod_php.conf by adding: .phtml to the line <FilesMatch \.(php|phtml)$>
Make sure Apache is set to run at startup: chmod +x /etc/rc.d/rc.httpd
Unzip the dump by typing: bunzip2 20031231_cur_table.sql.bz2 (this will take a while depending on the size of the dump and the speed of your workstation).
Import the dump in your database by starting a mysql session as above, if you have not done so, loading the wiki database (the name as you gave above), by typing: use <wiki db> and then importing the data by typing: source /path/20031231_cur_table.sql. This will also take a long time.
At this point you should have a working install with some data in it. Other things will also need to be set up (classic TODO here).