Changes

Jump to navigation Jump to search
Created page with "== Media Wiki Installation Guide == === Download MediaWiki === <nowiki>https://www.mediawiki.org/wiki/Download</nowiki> === Install Apache Web Server === If not installed..."
== Media Wiki Installation Guide ==
=== Download MediaWiki ===
<nowiki>https://www.mediawiki.org/wiki/Download</nowiki>

=== Install Apache Web Server ===
If not installed already you must install it.
<nowiki> apt-get install apache2</nowiki>

To see the server ip:
<nowiki>sudo ifconfig eth0 | grep inet | awk '{ print $2 }'</nowiki>

=== Install MySQL server ===
apt-get install mysql-server
mysql_secure_installation

=== Install php ===
<nowiki>apt-get install php5 php-pear php5-mysql</nowiki>
==== Instalar pear ====
<nowiki>
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
</nowiki>
=== Mail set up ===
This will enable the MediaWiki to send e-mails
<nowiki>sudo pear install mail
sudo pear install net_smtp</nowiki>

==== Config mail ====
Add at the bottom of LocalSettings.php
<nowiki>
$wgSMTP = array(
'host' => 'ssl://smtp.gmail.com',
'IDHost' => 'gmail.com',
'port' => 465,
'username' => 'yourEmailAccount@gmail.com',
'password' => 'yourEmailPassword',
'auth' => true
);</nowiki>

Navigation menu