MediaWiki

MediaWiki is an web based Wiki software written in the PHP language. It can either use MySQL or PostgreSQL Database Management System.

Instalação

Para instalar o MediaWiki, execute o seguinte comando na linha de comando:

sudo apt-get install mediawiki php5-gd

You should also install Apache2 PHP5 scripting language and Database Management Systems, MySQL or PostgreSQL depending on your need. Please refer to those sections in this manual for installation instructions.

Configuração

Antes de configurar a aplicação MediaWiki, você deve configurar o PHP5. Edite o arquivo /etc/php5/apache2/php.ini e descomente as seguintes linhas, se ainda estiverem comentadas:

; extension = mysql.so
; extension = gd.so

Uma vez que você tenha descomentado as linhas acima no arquivo de configuração /etc/php5/apache2/php.ini do PHP5, você pode executar os seguintes comandos para configurar o MediaWiki:

sudo ln -s /var/lib/mediawiki1.7 /var/www/mediawiki
sudo chmod 777 /var/www/mediawiki/config
sudo chown -R www-data.www-data /usr/share/mediawiki1.7

Aponte seu navegador web para a seguinte URL para configurar o Media/Wiki:

http://localhost/config/index.php
[Dica]

Please read the “Checking environment...” section in this page. You should be able to fix many issues by carefully reading this section.

Para obter mais detalhes, consulte a página do MediaWiki.