Koozali.org: home of the SME Server

MoinMoin on SME 7.0 How-to


MoinMoin on SME 7.0 How-to
« on: August 23, 2006, 07:13:34 AM »
How to install and configure MoinMoin on SME 7.0

Download and Install MoinMoin

Download MoinMoin 1.5.4 from http://prdownloads.sourceforge.net/moin/moin-1.5.4.tar.gz?download

Extract the tarball and install MoinMoin on your server by executing on a command line 'python setup.py' from the extracted source directory. This will install it to the site-packages directory of python. (If this isn't self-explanitory to you, please see http://moinmoin.wikiwikiweb.de/HelpOnInstalling/BasicInstallation)

Create an Ibay and Copy Files

Create a new ibay for your wiki (make sure you enable web access and CGI). In this example we will use the name 'testwiki' for the ibay. (If you wish to use a different name, please substitute it where you see 'testwiki' anywhere below)

Execute the following on a command line:
Code: [Select]

cd /home/e-smith/files/ibays/testwiki
cp -r /usr/share/moin/data cgi-bin
cp -r /usr/share/moin/underlay cgi-bin
cp /usr/share/moin/config/wikiconfig.py cgi-bin
cp /usr/share/moin/server/moin.cgi cgi-bin
rm html/index.html
cp -r /usr/share/moin/htdocs/* html
chown www cgi-bin/data -R
chown www cgi-bin/underlay -R

Edit Configuration Files

Edit wikiconfig.py in your cgi-bin directory. Find and change the following lines:
Code: [Select]
sitename = u'My Test Wiki'
logo_string = u'<img src="/testwiki/common/moinmoin.png" alt=MoinMoin Logo">'
url_prefix = '/testwiki'

Edit index.html in the html directory. There are two occurrences of 'moin.cgi' in this file. They need to be prepended by 'cgi-bin/' so that they say 'cgi-bin/moin.cgi'

Test the Wiki in Your Browser

Now open up a browser window and go to http://your-server/testwiki

If the installation has worked then you should see 'My Test Wiki' in the title bar and MoinMoin displaying in the browser. If only text shows up in the browser and no images, check that you have correctly set the url_prefix in wikiconfig.py as described above. If you have any other errors, please check that have followed all the instructions correctly.

Further Configuration and Administration

Now that the wiki in installed and working, go to http://moinmoin.wikiwikiweb.de/HelpOnConfiguration and read up on further tasks to be performed if you are not already familiar with the software. Most importantly you will want to create a login for yourself and assign yourself admin rights.

You may also wish to change permissions on the files in the i-bay to suit your security and access requirements.

Thats it! I hope this how-to is of help to someone.


Offline imcintyre

  • *
  • 609
  • +0/-0
MoinMoin on SME 7.0 How-to
« Reply #1 on: November 15, 2006, 02:01:22 AM »

Worked well. Thx


Offline imcintyre

  • *
  • 609
  • +0/-0
MoinMoin on SME 7.0 How-to
« Reply #2 on: April 11, 2007, 04:04:42 AM »

Have you tried the latest MoinMoin. I wanted to download it but don't know how to upgrade without possibly wiping everything.