Wednesday, February 15, 2012

Mindtouch Wiki on Ubuntu 10.04


We use the open source core version of the Mindtouch wiki for internal collaboration. Mindtouch has several attractive features including:


Mono Runtime from Badgerports

You'll need the Badgerports backports repository to get the latest Mono runtime. Add the following to your /etc/apt/sources.list:

deb lucid main

Next, add the key for the repository:

$ sudo gpg --keyserver --recv-key  C90F9CB90E1FAD0C
$ sudo gpg -a --export C90F9CB90E1FAD0C | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install mono-runtime

Installing Mindtouch

You'll need the fimero repository enabled.

Ensure the Mindtouch repository has been added to your /etc/apt/sources.list:

deb xUbuntu_10.04/

Finally, install Mindtouch with

$ sudo apt-get install bbmindtouch

When the install process completes, point your browser to http://<your wikihost> and complete the installation process. Finally run sudo /usr/local/bin/ to complete the installation.

Backup and Restore

The source for the backup script is available here:

The bbmindtouch package installs a copy at /usr/local/bin/ This generates a backup file in /tmp

Add the following crontab entry for backup:

# m h  dom mon dow   command
0 2 * * * /usr/local/bin/ -b
30 2 * * * /bin/cp /tmp/backupWiki-10.1.3.tar.gz ${BACKUP_FOLDER}

Change ${BACKUP_FOLDER} to an appropriate path.

To restore your wiki, simply run

$ sudo /usr/local/bin/ -r ${BACKUP_FILE}

No comments: