#configuração, #OPW

How to install MediaWiki on Mac OS X using MAMP?

Hello everyone.

As I said earlier I will work on Wikimedia Foundation on the project MediaWiki Homepage Redesign. So the first thing I did was kill my curiosity, I downloaded the MediaWiki code and put to run on my machine. MediaWiki has been created using PHP and I need to run some MAMP solution because nowadays I ‘m using Mac OS X Mavericks (10.9). The MediaWiki works with multiple databases, but I chose the MySQL because it comes with MAMP.

Let’s work.

First you will need to obtain the MAMP, install normally and start the service.

Now you need create a user to database. To do this you can access the http://localhost:8888/MAMP and in phpMyAdmin section create a user named mediawiki and choose a password.

mediawiki user

mediawiki user

After this you need get the source code of MediaWiki, extract the content and copy to folder of MAMP, like that:

cd /Applications/MAMP/htdocs/

cp -R ~/Downloads/mediawiki-X.X.X .

mv mediawiki-X.X.X mediawiki

So, now if you access the http://localhost:8888 page you should see this:

And if you click at link you will see the page to start the installation of MediaWiki:

Installation is very simple, but you need to pay attention in connection with the database. Make sure that:

  • selected MySQL as database type
  • give a name for your database
  • inform the credentials of user database previously created
Connect database

Connect database

To finish the process of installation some file named LocalSettings.php will be generated and the last step is put it inside mediawiki folder:

cp ~/Downloads/LocalSettings.php .

And is ready!!! You can access your wiki http://localhost:8888/mediawiki/index.php.

That’s all folks 😉


Um comentário sobre “How to install MediaWiki on Mac OS X using MAMP?

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google

Você está comentando utilizando sua conta Google. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s