Introduction

These are sample installation instructions for

Prerrequisites / conventions

Install Code

In this step we will create 2 directories:

Instructions

cd /home/myuser/domains/wiki.mydomain.com
mkdir moinmoin
wget http://static.moinmo.in/files/moin-1.8.3.tar.gz
tar xvfz moin-1.8.3.tar.gz
cd moin-1.8.3
python setup.py --quiet install --record=install.log --prefix=/home/myuser/domains/wiki.mydomain.com/moinmoin

Test

Do the following. If no errors are shown ate the last step, code installation is fine. Note that instead of python2.3 you may have a newer version.

$ python
import sys
sys.path.insert(0, '/home/myuser/domains/wiki.mydomain.com/moinmoin/lib/python2.3/site-packages')
import MoinMoin

Create Instance

This web site will contain a unique wiki. All its data will be stored in:

Additionally we create a directory to keep the createinstance.sh script, customized, and eventually others, so they aren't lost if we update the MoinMoin code:

Prepare createinstance script

mkdir moinmore
cp moinmoin/share/moin/underlay/pages/HelpOnInstalling\(2f\)WikiInstanceCreation/attachments/createinstance.sh moinmore
vi moinmore/createinstance.sh

Edit:

create instance

sh moinmore/createinstance.sh moindata

Create CGI script

cp moinmoin/share/moin/server/moin.cgi public_html

Prepare directory with static content We use a symbolic link for this purpose

Configure Instance

Apache configuration

vi public_html/.htaccess

Configure User Accounts

Complete Apache configuration

The last one after desired accounts have been created.

Shell commands

Installation Guide of MoinMoin on a DirectAdmin Subdomain (last edited 2009-05-19 16:53:27 by JaumeSola)