Difference between revisions of "Media Wiki installation guide"
Jump to navigation
Jump to search
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...") |
Rafahsolis (talk | contribs) |
||
| Line 23: | Line 23: | ||
pear remote-list #muestra la lista de paquetes disponibles para instalar | pear remote-list #muestra la lista de paquetes disponibles para instalar | ||
</nowiki> | </nowiki> | ||
| + | |||
| + | === Extract MediaWiki === | ||
| + | Extract MediaWiki files to your apache web home directory, now you can open your browser and follow the initial configuration settings.<br /> | ||
| + | Once finished and with your MediaWiki working is recomended to remove the config directory (at least move it to some were where nobody can access it | ||
| + | |||
=== Mail set up === | === Mail set up === | ||
This will enable the MediaWiki to send e-mails | This will enable the MediaWiki to send e-mails | ||
Revision as of 00:00, 27 March 2015
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
Extract MediaWiki
Extract MediaWiki files to your apache web home directory, now you can open your browser and follow the initial configuration settings.
Once finished and with your MediaWiki working is recomended to remove the config directory (at least move it to some were where nobody can access it
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
);