Changes

How to Set Up a MediaWiki 1.23 Server on CentOS 6

1,168 bytes added, 13:12, 19 July 2014
no edit summary
###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 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
###run ''sudo service mysqld start'' to start the mysql server
###run ''sudo mysql_secure_installation''
####just hit enter for 'none' at the 1st password prompt
####hit ''y'' and enter to set a root password
####type in your new root-password and hit enter (twice)
####hit ''y'' and enter to remove the ''anonymous'' account
####hit ''y'' and enter to ensure that root can only login at the physical keyboard
####hit ''y'' and enter to remove the test database
####hit ''y'' and enter to reload the privilege table
##Install 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:
###*<?php
###*phpinfo();
###*?>
###save & exit
###run ''sudo service httpd restart'' to reload the apache server
###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]]
==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