Dobrica Pavlinušić's random unstructured stuff
OpenVZ Dapper container: Revision 1


debootstrap Ubuntu Dapper Drake

root@mljac:~# cd /vz/private/
root@mljac:/vz/private# mkdir 207018
root@mljac:/vz/private# debootstrap --arch i386 dapper 207018 http://hr.archive.ubuntu.com/ubuntu

Then fix it using instructions at https://help.ubuntu.com/community/OpenVZ

Configure OpenVZ container

Create 1/4 slice of full hardware for this container:

root@mljac:/etc/vz/conf# vzsplit -n 4 > ve-0.25.conf-sample

XXX REMOVE

root@mljac:~# vzctl create 207018 --ostemplate ubuntu-6.06-i386-minimal --ipadd 193.198.207.18 --hostname stwiki3.rot13.org
Creating VE private area (ubuntu-6.06-i386-minimal)
Performing postcreate actions
VE private area was created

Start container

root@mljac:~# vzctl start 207018
Starting VE ...
VE is mounted 
Adding IP address(es): 193.198.207.18
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: stwiki3.rot13.org
VE start in progress...

Install SocialText

This is from docs/INSTALL.apt-get in SocialText git repository

/etc/apt/sources.list

deb http://hr.archive.ubuntu.com/ubuntu dapper main restricted universe
deb http://security.ubuntu.com/ubuntu dapper-updates main restricted universe
deb http://open.socialtext.net/apt socialtext-open main

install dependencies

root@stwiki3:~# apt-cache search socialtext