A MoinMoin configured server running under OpenVZ. It can save time by letting you ignore the MoinMoin installation details if there is a need to launch another wiki.
The information on this page will help you download and start the VE (Virtual Environment) that is identical to a real running MoinMoin server.
Requirements
You must have ROOT access to a Linux machine that is running OpenVZ (the Hardware Node).
Template Information
Created By |
Aleksandr Levchuk < alevchuk@gmail.com > |
Creator's Public Key |
So far, only one friend confirmed and signed my public key, Ray Amberg, but I hope to get other well know persons to confirm and sign it. B0ADA76C can be found at https://launchpad.net/~alevchuk |
Created On |
Thursday 2007-10-04 |
Size |
127.2M |
OpenVZ Image Hosting By |
|
Download Link |
|
GPG Signature |
|
Derived From |
http://download.openvz.org/template/precreated/debian-4.0-i386-minimal.tar.gz (this?) |
Some of the Software in the VE |
MoinMoin 1.5.8, Lighttpd 1.4.18, Debian GNU/Linux 4.0, Python 2.4.4, Perl 5.8.8, Ruby 1.8.5 |
Recommended Configuration |
Installation
1. Download the template to your OpenVZ host node (HN):
sudo wget --directory-prefix=/vz/template/cache/ DOWNLOAD_LINK
Verify the signature if you are concerned about security.
2. Download the config file to your HN:
sudo wget --directory-prefix=/etc/vz/conf/ RECOMMENDED_CONFIGURATION_LINK
3. Choose the VEID number, and the IP that you want it to serve on. For example:
export MOIN_VEID=221 export MOIN_IP=138.123.123.123
4. Run the following on you HN:
sudo vzctl create $MOIN_VEID --ostemplate ovz-template-moin sudo cp /etc/vz/conf/ovz-template-moin.conf /etc/vz/conf/$MOIN_VEID.conf sudo vzctl set $MOIN_VEID --ipadd $MOIN_IP --save
5. Run:
sudo vzctl start $MOIN_VEID
The machine will boot and you'll have a running wiki!
A low-level way to test this is to run:
wget -qO- http://$MOIN_IP | grep "MoinMoin Powered"
That should show a line of HTML, like this <li>..</li>.
6. (optional). You can set a friendly hostname to remind yourself what that VE is. Run:
sudo vzctl set $MOIN_VEID --hostname moinmoin-wiki --save
7. (optional). If you decided that you would like to upgrade you virtual machine with "apt-get" or "aptitude". You will need to configure the correct DNS entries. For example:
sudo vzctl set $MOIN_VEID --nameserver 138.1.1.1 --nameserver 138.2.2.2 --save sudo vzctl set $MOIN_VEID --searchdomain ucr.edu --save
Advanced Details
All of the configuration and wiki pages are located in /srv/moin/ inside the VE.