MediaWiki is the world's most famous open source Wiki program, running in the PHP+MYSQL environment. MediaWiki was used as a system software for Wikipedia from February 25, 2002 and has a number of other application examples. The development of MediaWiki is supported by the Wikimedia Foundation.
First, the environment
# lsb_release-a
LSB Version:: core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64: Printing-4.0-noarch
Distributor Id:centos
Description:centos Release 6.3 (Final)
release:6.3
Codename:final
# getconf Long_bit
64
# Rpm-qa | grep httpd
Httpd-2.2.15-30.el6.centos.x86_64
Httpd-tools-2.2.15-30.el6.centos.x86_64
# Rpm-qa | grep MySQL
Mysql-server-5.1.73-3.el6_5.x86_64
Mysql-libs-5.1.73-3.el6_5.x86_64
Php-mysql-5.3.3-27.el6_5.x86_64
Mysql-5.1.73-3.el6_5.x86_64
# Rpm-qa | grep php
Php-common-5.3.3-27.el6_5.x86_64
Php-cli-5.3.3-27.el6_5.x86_64
Php-5.3.3-27.el6_5.x86_64
Php-mysql-5.3.3-27.el6_5.x86_64
Php-pdo-5.3.3-27.el6_5.x86_64
Php-gd-5.3.3-27.el6_5.x86_64
# Rpm-qa | grep libxml2
Libxml2-2.7.6-4.el6_2.4.x86_64
Libxml2-python-2.7.6-4.el6_2.4.x86_64
Second, installation MediaWiki
Cd/usr/local/src
wget http://dumps.wikimedia.org/mediawiki/1.17/mediawiki-1.17.5.tar.gz
Tar xzvf fmediawiki-1.17.5.tar.gz
MV Mediawiki-1.17.5/var/www/html/wiki
Chown Root:root/var/www/html/wiki-r
Third, configuration MediaWiki
Open browser access: Http://ip/wiki, will prompt you localsettings.php page did not find, please set, click " set up the wiki" as required, step by step setup, the download down LocalSettings.php upload to the root directory of the wiki;
This article is from the "Square Hill" blog, please be sure to keep this source http://523514.blog.51cto.com/513514/1440021
Linux installation MediaWiki