openvz安装过程:
主系统:Centos 6.0
安装方法:yum
1、添加yum源
#cd /etc/yum.repos.d
#wget http://download.openvz.org/openvz.repo
2、更新系统
#yum update
3、安装
#yum install ovzkernel vzctl
4、配置启动项为openvz
#vim /boot/grub/menu.list
把启动项设置为如下:
title OpenVZ (2.6.8-022stab029.1)
root (hd0,0)
kernel /vmlinuz-2.6.8-022stab029.1 ro root=/dev/sda5
initrd /initrd-2.6.8-022stab029.1.img
5、重启
#reboot
6、启动openvz
# /sbin/service vz start
7、可安装web管理界面
#wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh
安装完成:
安装完成后访问:
http://IP:3000
参考文档: