Comments on Installing And Using OpenVZ On Ubuntu 10.04

Installing And Using OpenVZ On Ubuntu 10.04 In this HowTo I will describe how to prepare an Ubuntu 10.04 server for OpenVZ. With OpenVZ you can create multiple Virtual Private Servers (VPS) on the same hardware, similar to Xen and the Linux Vserver project. OpenVZ is the open-source branch of Virtuozzo, a commercial virtualization solution used by many providers that offer virtual servers. The OpenVZ kernel patch is licensed under the GPL license, and the user-level tools are under the QPL license.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: V. Parhomenko

"sudo su" is pretty deprecated. "sudo -i" seems more reasonable cause it doesn't spawns 1 more process, like "sudo su" does.

By:

apt-get install vzctl vzquota

Worked for me. Only vzpkg was missing.

By: fe4r

In my case I got many errors:


HOSTCC Documentation/video4linux/v4lgrab

Documentation/video4linux/v4lgrab.c:34:28: error: linux/videodev.h: No such file or directory

Documentation/video4linux/v4lgrab.c: In function ?main?:

Documentation/video4linux/v4lgrab.c:103: error: storage size of ?cap? isn?t known

Documentation/video4linux/v4lgrab.c:104: error: storage size of ?win? isn?t known

Documentation/video4linux/v4lgrab.c:105: error: storage size of ?vpic? isn?t known

Documentation/video4linux/v4lgrab.c:116: error: ?VIDIOCGCAP? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:116: error: (Each undeclared identifier is reported only once

Documentation/video4linux/v4lgrab.c:116: error: for each function it appears in.)

Documentation/video4linux/v4lgrab.c:123: error: ?VIDIOCGWIN? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:129: error: ?VIDIOCGPICT? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:135: error: ?VID_TYPE_MONOCHROME? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:137: error: ?VIDEO_PALETTE_GREY? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:138: error: ?VIDIOCSPICT? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:151: error: ?VIDEO_PALETTE_RGB24? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:154: error: ?VIDEO_PALETTE_RGB565? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:158: error: ?VIDEO_PALETTE_RGB555? undeclared (first use in this function)

Documentation/video4linux/v4lgrab.c:105: warning: unused variable ?vpic?

Documentation/video4linux/v4lgrab.c:104: warning: unused variable ?win?

Documentation/video4linux/v4lgrab.c:103: warning: unused variable ?cap?

make[3]: *** [Documentation/video4linux/v4lgrab] Error 1

make[2]: *** [Documentation/video4linux] Error 2

make[1]: *** [vmlinux] Error 2



any suggestions...  

By:

RE: wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2

How about "apt-get source linux-image-$(uname -r)" ?