Manual:Running MediaWiki on GNU/Linux

<-MediaWiki User's Guide: Running MediaWiki

Assumes you have a LAMP (Linux, Apache, MySQL, PHP) already set up on your machine. See http://dev.mysql.com/doc/mysql/en/Installing.html and http://www.php.net/manual/en/install.unix.php for more information on how to do this.

Configuration

 * 1) Download WikiMedia:
 * 2) Unzip the source files in some directory: tar zxvf mediawiki-x.y.z.tar.gz
 * 3) For the following, you may need to be root: i.e. su - and mv /path_to_mediawiki_unzip_dir/
 * 4) Move the directory into your web directory: i.e. mv mediawiki-x.y.z /usr/local/apache/htdocs/wiki or mv mediawiki-x.y.z public_html/wiki
 * 5) Change into your path: i.e. cd /usr/local/apache/htdocs
 * 6) Read the wiki/INSTALL file since this may change from release to release
 * 7) Start up Apache and MySQL if they are not running (this varies between distributions and setups, see their documentations for specifics)
 * 8) Set permissions of the wiki/ directory (This needs to be made more specific and secure): i.e. chmod -R a+rwx wiki/
 * 9) In your favorite browser, visit this config file for the install: i.e. mozilla http://www.example.net/wiki/config/index.php</tt>

Running a PHP Accelerator?
In some cases, when running 1.2.4, one may encounter problems during the install. If this happens, try disabling phpa by placing php_value phpa Off</tt> in .htaccess in the root directory of your install.


 * Running MediaWiki on Slackware Linux
 * Running MediaWiki on FreeBSD

Next page: Running MediaWiki on Windows >