Centos With Openvz And Virtualbox

my experience installing centos 5.1 with openvz and virtualbox.

openvz for 'container' or OS-level virtualization.
and virtualbox for full virtual machine to run other os. (btw. anyway we can limits the cpu utilization used by virtualbox?)
see http://wiki.openvz.org/Introduction_to_virtualization for more on virtualization

what i did:

  • get centos 5.1 net install cd
  • boot and follow instructions.
  • enter centos mirror to get all the packages (example, enter host mirror.centos.org and /centos/5.1/os/i386/ for the directory.) if you ever use debian net install, you can choose your closest mirror from the built in database
  • do not choose Virtualization packages. virtualbox will not run within xen kernel. me, i choose only KDE desktop environment
  • extra and centosplus repo will help a lot. you might want yumex to ease your package installation, unless you prefer the cli…
  • i need few stuffs from rpmforge http://wiki.centos.org/Repositories/RPMForge
  • after few reboots i can log into kde.
  • follow openvz quick install. it's all you need to install openvz http://wiki.openvz.org/Quick_installation
  • dont forget to install ovzkernel-devel. it's needed for virtualbox
  • reboot and test openvz
  • virtualbox also need you to install compat-libstdc++-33
  • download run version virtualbox for all linux distribution. the one end with .run extension
  • go to terminal, su and sh VirtualBox_x.x.x_Linux_x86.run
  • if you installed kde-admin, you can run kuser to set your login as vboxuser group
  • reboot
  • now i got virtualbox up and running nicely

maybe… when i got free time, i'll re-do everything inside virtualbox and capture all the screen…

here's centos 5.1 installation screenshots.
it's an extremely clean install. i choose nothing and nothing at all. not even server.
centos 5.1 install screenshots
centos 5.1 install slideshow

problem: i dont know why, i got this problem: http://forum.openvz.org/index.php?t=msg&th=5065&start=0&
and thanks to the community, the problem fixed. see above link for problem details and fix.

light desktop:

yum groupinstall "X Window System"
yum groupinstall  "XFCE-4.4"
yum install kdebase
yum install gnome-session gnome-panel metacity


Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License