I recently had the opportunity to set up a piece of software called MoinMoin:
MoinMoin is an advanced, easy to use and extensible WikiEngine with a large community of users. Said in a few words, it is about collaboration on easily editable web pages. MoinMoin is Free Software licensed under the GNU GPL.A Wiki is an easy way to set up a collaborative website in a hurry and on the cheap.
Here's some easy steps (with commands) to get it going on your Fedora Core 4 system. This guide is assuming you already have Apache running on your server and that you are only interested in hosting one Wiki site, because that's all I've used it for so far.
-
Install MoinMoin
You might need to install mod_python as well (since it runs on Python), so in that case your command might look like this:yum install moin
yum install moin mod_python
-
For the purposes of this installation, we're going to assume that you'd like your Wiki to live in the folder
/var/www/moin/mywiki. MoinMoin works a little bit differently than other software. Rather than an explicit install directory, some configuration and other data are stored in the "install folder", while the software itself lives elsewhere. You are expected to copy these default folders to somewhere else and have your Wiki point to there.cp -R /usr/share/moin/data /var/www/moin/mywiki cp -R /usr/share/moin/underlay /var/www/moin/mywiki cp -R /usr/share/moin/config/wikiconfig.py /var/www/moin/mywiki
-
You need to set appropriate permissions to ensure that your web server (usually running using a user called
apache) can read and write to the appropriate directories while stopping other users from getting access to it.chown -R apache:apache /var/www/moin chmod -R ug+rwX /var/www/moin chmod -R o-rwx /var/www/moin
-
You have to configure your web server to serve up your Wiki instance. It's easier to do this in a separate configuration file rather than editing the main
httpd.conffile, so create a new one in your Apache configuration folder (i.e./etc/httpd/conf.d/moin.conf) and open it in your favourite text editor. Now paste the following into the file (theAlias /wikiline is not a typo - MoinMoin needs to refer to that path to get it to work, it helps it run more than one Wiki but also restricts you from having just "wiki" as your folder name to the outside world):Alias /wiki/ "/usr/share/moin/htdocs/" <Location /mywiki> SetHandler python-program # Add the path of your wiki directory PythonPath "['/var/www/moin/mywiki'] + sys.path" PythonHandler MoinMoin.request::RequestModPy.run # Location value must match the Apache Location value! PythonOption Location /mywiki </Location> -
Open the Moin configuration file you copied over earlier (
wikiconfig.py) and edit it. You only have to modify it in a few places:# Site name, used by default for wiki name-logo [Unicode] sitename = u'The title of my new Wiki' # Where your mutable wiki pages are. You want to make regular # backups of this directory. data_dir = '/var/www/moin/mywiki/data/' # Where read-only system and help page are. You might want to share # this directory between several wikis. When you update MoinMoin, # you can safely replace the underlay directory with a new one. This # directory is part of MoinMoin distribution, you don't have to # backup it. data_underlay_dir = '/var/www/moin/mywiki/underlay/' -
Everything should be set up for you now. Restart your web server and you'll be set!
This is a basic setup - if you'd like more or different functionality, read the docs and give it a go!/sbin/service httpd restart
Comments and feedback are welcome!
Comments[5]
Posted
on March 18, 2006 7:31:48 CST PM
I'm laughing so hard it hurts. You had to know that while you were typing that blog you were going to take shit from someone...
I have to go now. My MoinMoin has been very unhappy with me since I told it that a trip to Fedora Core 4 was absolutely out of the question. Besides, Zoltaria 20 is much nicer this time of year.
Peace out Captain Kirk.
Comment from
Brad
on March 20, 2006 8:25:21 CST PM
If you had a website and wrote about fire extinguishers I wouldn't laugh at you, Brad.
Comment from
Derek Burt
on March 20, 2006 8:58:18 CST PM
I'm laughing so hard I'm crying! I'm not sure which is funnier -- /wiki-wiki-wild/ or fire extinguishers!!!!
Comment from
Bernie
on March 23, 2006 12:15:29 CST AM
you forgot to mention the wiki would be in http//localhost.localdomain/mywiki
Comment from
Anonymous
on September 14, 2006 1:51:26 CST PM


try this one: /loser/$%OI)2/give derek a life/wiki-wiki-wild/u$are*useless@$.com.org.edu.ca
Try that one. I think it might work.