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

^ debootstrap Ubuntu Dapper Drake

.pre
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
.pre

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:

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

.pre
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
.pre

^ Start container

.pre
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...
.pre

^ Install SocialText

This is from `docs/INSTALL.apt-get` in "SocialText git repository"<http://github.com/socialtext/socialtext/blob/df895cf4051000cb8277098b26078deb671bf4f8/nlw/docs/INSTALL.apt-get>

^^ /etc/apt/sources.list

.pre
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
.pre

^^ install dependencies

.pre
root@stwiki3:~# apt-cache search socialtext
.pre