Media Wiki installation guide

From RHS Wiki
Revision as of 23:57, 26 March 2015 by Rafahsolis (talk | contribs) (Created page with "== Media Wiki Installation Guide == === Download MediaWiki === <nowiki>https://www.mediawiki.org/wiki/Download</nowiki> === Install Apache Web Server === If not installed...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Media Wiki Installation Guide

Download MediaWiki

   https://www.mediawiki.org/wiki/Download

Install Apache Web Server

If not installed already you must install it.

 apt-get install apache2

To see the server ip:

sudo ifconfig eth0 | grep inet | awk '{ print $2 }'

Install MySQL server

apt-get install mysql-server mysql_secure_installation

Install php

apt-get install php5 php-pear php5-mysql

Instalar pear

apt-get install php-pear #instalamos pear sudo pear channel-update pear.php.net #actualizamos los canales sudo pear list #nos muestra los paquetes instalados pear remote-list #muestra la lista de paquetes disponibles para instalar

Mail set up

This will enable the MediaWiki to send e-mails

sudo pear install mail
sudo pear install net_smtp

Config mail

Add at the bottom of LocalSettings.php

    $wgSMTP = array(
        'host' => 'ssl://smtp.gmail.com',
        'IDHost' => 'gmail.com',
        'port' => 465,
        'username' => 'yourEmailAccount@gmail.com',
        'password' => 'yourEmailPassword',
        'auth' => true
    );