Changes

Jump to: navigation, search

How to Set Up a MediaWiki 1.23 Server on CentOS 6

589 bytes added, 13:03, 20 July 2014
no edit summary
#Setting up the Linux OS
##Follow my guide for [[Setting Up a Secure CentOS 6 Server]]
#Installing [https://www.mediawiki.org/ MediaWiki]
##Install [https://httpd.apache.org/ Apache]
###run ''sudo yum install httpd'' to install apache and its dependencies
###run ''sudo chkconfig httpd on'' to make sure apache starts on boot
###Visit the ip address of your server, preferably from a different computer, to ensure everything is working properly. You should see something like this.
###*[[File:Apache_2_Test.png|600px]]
##Install [https://www.mysql.com/ MySQL]
###run ''sudo yum install mysql-server'' to install the mysql server and its dependencies
###run ''sudo chkconfig mysqld on'' to make sure that mysql starts on boot
####hit ''y'' and enter to remove the test database
####hit ''y'' and enter to reload the privilege table
##Install [https://php.net/ PHP]
###run ''sudo yum install php php-mysql'' to install php, php-mysql, and dependencies
###run ''sudo vi /var/www/html/info.php'' to create and edit a new webpage & populate the file with the following:
###visit your server ip/info.php (ie: http://192.168.1.100/info.php) and it should look something like this:
###*[[File:PHP_5_Test.png|600px]]
##Install [https://www.mediawiki.org/ Mediawiki]
###If you don't already have it, install wget via ''sudo yum install wget''
###Visit the [http://www.mediawiki.org/wiki/Download MediaWiki Download] page to find the latest version. Substitute the path to the latest version in the next command if necessary
###run ''wget https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.1.tar.gz'' to download the latest version of MediaWiki
###run ''tar xvzf mediawiki-1.23.1.tar.gz'' to unpack the downloaded file
==References==
*https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-centos-6-4
*https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6

Navigation menu