How to Intstall moin wiki in Linux


Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUponShare on VKBuffer this page

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, it is basesdon Python language and give more posiblities then an normale wiki .

First we will have to download pyhton .

[root@localhost ~]# python -V

Python 2.4.3

now you have to download and install Moin .

 yum  install moin


Create a directory :

mkdir /var/www/mywiki/cgi-bin

cp -a /usr/share/moin/{data,underlay} /var/www/mywiki

cp -a /usr/share/moin/server/moin.cgi /var/www/mywiki/cgi-bin

cp -a /usr/share/moin/config/ /var/www/mywiki/cgi-bin

chown -R apache:apache /usr/share/moin/{data,underlay}

make new httpd conf file

vi /etc/httpd/conf.d/mywiki.conf

add this

ScriptAlias /mywiki "$DESTDIR/cgi-bin/moin.cgi"

Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all

# To use mod_pyton disable all above, enable the following lines and
# also change to have absolute paths for data/underlay dirs.
# SetHandler python-program
# PythonPath "['$DESTDIR/cgi-bin'] + sys.path"
# PythonHandler
Alias /wiki/ "/usr/share/moin/htdocs/"

Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

save and exit


edit /etc/httpd/conf/httpd.conf 

to include “AddHandler cgi-script .cgi”

and edit add the good name page and uncomment the front page

edit /var/www/mywiki/cgi-bin/

restart your apache

service httpd restart

Voila :)

go to htp://ip/mywiki or http://hostname/mywiki