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.

Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen. It should be in the form http://domain/directory/mw-config/index.php. Replace directory with the path to your extracted MediaWiki folder. If installing on a local machine, replace domain with localhost. If you install locally and later want to access your wiki from domain, then you will need to change LocalSettings.php from localhost to domain. If installed on a remote server, replace domain with your server's domain name (eg: www.myserver.com).