Moin Moin

MoinMoin is a Wiki engine implemented in Python, based on the PikiPiki Wiki engine, and licensed under the GNU GPL.


To install MoinMoin, run the following command in the command prompt:

sudo apt-get install python-moinmoin

You should also install apache2 web server. For installing apache2 web server, please refer to “Instal·lació” sub-section in “HTTPD - Apache2 Web Server” section.


Per a configurar la vostra primera aplicació wiki, haureu d'executar el conjunt d'ordres següents.. Assumirem que volem crear un lloc wiki anomenat elmeuwiki:

cd /usr/share/moin
sudo mkdir elmeuwiki
sudo cp -R data elmeuwiki
sudo cp -R underlay elmeuwiki
sudo cp server/moin.cgi elmeuwiki
sudo chown -R www-data.www-data elmeuwiki
sudo chmod -R ug+rwX elmeuwiki
sudo chmod -R o-rwx elmeuwiki

ara haureu de configurar el MoinMoin per a trobar el vostre wiki nou elmeuwiki. Per a configurar el MoinMoin, obriu el fitxer /etc/moin/ i canvieu la línia següent:

data_dir = '/org/elmeuwiki/data'


data_dir = '/usr/share/moin/elmeuwiki/data'

Also, below the data_dir option add the data_underlay_dir:


If the /etc/moin/ file does not exists, you should copy /etc/moin/ file to /etc/moin/ file and do the above mentioned change.


If you have named your Wiki as my_wiki_name you should insert a line ("my_wiki_name", r".*") in /etc/moin/ file after the line ("mywiki", r".*").

Once you have configured MoinMoin to find your first Wiki application mywiki, you should configure apache2 and make it ready for your Wiki application.

You should add the following lines in /etc/apache2/sites-available/default file inside the <VirtualHost *> tag:

### moin
  ScriptAlias /mywiki "/usr/share/moin/mywiki/moin.cgi"
  alias /moin_static184 "/usr/share/moin/htdocs"
  <Directory /usr/share/moin/htdocs>
  Order allow,deny
  allow from all
### end moin

Adjust the "moin_static184" in the alias line above, to the moinmoin version installed.

Once you configure the apache2 web server and make it ready for your Wiki application, you should restart it. You can run the following command to restart the apache2 web server:

sudo /etc/init.d/apache2 restart


You can verify the Wiki application and see if it works by pointing your web browser to the following URL:


You can also run the test command by pointing your web browser to the following URL:


For more details, please refer to the MoinMoin web site.