Installing and using Openvz & Webvz on Ubuntu 9.04

That worked for me:

sudo apt-get install vzctl vzquota
dpkg -i linux-image-2.6.26-2-openvz-686_2.6.26-25_i386.deb

Then you need to load into that kernel using grub and you are basically done:

alex@ubuntu:~$ uname -r

To install webvz then do:

apt-get install ruby rubygems libsqlite3-ruby sqlite3 irb libopenssl-ruby libreadline-ruby rdoc
gem install -v=2.3.2 rails

And after that, if you just run it:

ruby start/server
=> Booting WEBrick
=> Rails 2.3.2 application starting on
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-11-07 16:39:32] INFO  WEBrick 1.3.1
[2010-11-07 16:39:32] INFO  ruby 1.8.7 (2008-08-11) [i486-linux]
[2010-11-07 16:39:33] INFO  WEBrick::HTTPServer#start: pid=5129 port=3000

Download a template from and put it into /vz/template/cache directory, do not unpack though.

Now you can just go into webvz’s interface by using, e.g. and admin/admin123, you can create a new VE from there.

You’re done!

This post has beed used: installing openvz

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *