Difference between revisions of "How to Set Up a MediaWiki 1.23 Server on CentOS 6"

From steamWiki
Jump to: navigation, search
Line 1: Line 1:
UNDER CONSTRUCTION
+
#Setting up the OS
 
+
##Follow my guide for [[Setting Up a Secure CentOS 6 Server]]
{{:Setting Up a Secure CentOS 6 Server}}
+
#Installing [https://www.mediawiki.org/ MediaWiki]
 
+
##Install Apache
=MediaWiki=
+
###run ''sudo yum install httpd'' to install apache and its dependencies
#Install Apache
+
###run ''sudo chkconfig httpd on'' to make sure apache starts on boot
##run ''sudo yum install httpd'' to install apache and its dependencies
+
###Add the following lines to your ''/etc/sysconfig/iptables'' file to allow web traffic
##run ''sudo chkconfig httpd on'' to make sure apache starts on boot
+
###*<nowiki>#</nowiki> Accept web traffic.
##Add the following lines to your ''/etc/sysconfig/iptables'' file to allow web traffic
+
###*-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
##*<nowiki>#</nowiki> Accept web traffic.
+
###restart to ensure the iptables are reloaded and check that apache is correctly started at boot
##*-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
+
###Visit the ip address of your server, preferably from a different computer, to ensure everything is working properly.  You should see something like this.
##restart to ensure the iptables are reloaded and check that apache is correctly started at boot
+
###*[[File:Apache_2_Test.png|600px]]
##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.jpg|600px]]
 
  
 
==References==
 
==References==
 
*https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-centos-6-4
 
*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
 
*https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6

Revision as of 19:47, 16 July 2014

  1. Setting up the OS
    1. Follow my guide for Setting Up a Secure CentOS 6 Server
  2. Installing MediaWiki
    1. Install Apache
      1. run sudo yum install httpd to install apache and its dependencies
      2. run sudo chkconfig httpd on to make sure apache starts on boot
      3. Add the following lines to your /etc/sysconfig/iptables file to allow web traffic
        • # Accept web traffic.
        • -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
      4. restart to ensure the iptables are reloaded and check that apache is correctly started at boot
      5. Visit the ip address of your server, preferably from a different computer, to ensure everything is working properly. You should see something like this.
        • Apache 2 Test.png

References