Revision 3 as of 2006-10-27 06:09:03

Clear message

Varies somewhat from the setup described on [] homepage,

Also note, all instances of the term "mywiki" should be updated to the wiki name you have chosen. This includes filenames! So, if your wiki instance is called "wiki1" then you should make changes to /etc/, NOT /etc/ as the example shows. You must also replace some instances of mywiki with your wiki's name (wiki1). (Such as in /etc/moin/, /etc/moin/, and /etc/apache2/sites-available/default. Some files/folders need to be renamed like /etc/moin/, /usr/share/moin/mywiki)

Steps to Install

Derived from []

Get Software

Install MoinMoin and Apache2.

sudo apt-get install python2.4-moinmoin
sudo apt-get install apache2

Create your own wiki called mywiki

Create a wiki called mywiki and set the permissions.

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

Commission moin to find your new wiki

Insert into, on a line after "wikis = ["

("mywiki", r".*"),

In change the data_dir line to

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

Make apache ready for your wiki

Insert into /etc/apache2/sites-available/default (inside of the "<VirtualHost *>" tag)

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

Restart apache to apply your changes:

sudo /etc/init.d/apache2 restart

See if it works

Go to your wiki's homepage:

Or try the test command:

Next Steps


You should probably set up PasswordProtectedEditing and investigate other security stuff: SecurityPolicy.