情况说明:
(1)本文采用OEL6.3x64操作系统,需要有KVM安装环境。(2)convirt2.1.1采用源码方式安装,convirt环境分别两部分,一部分是cms,用于管理kvm/xen虚拟主机上的虚拟机,一部分做为客户端安装到kvm/xen虚拟主机上。(3)convirt2.1.1是开源的管理xen/kvm虚拟化管理工具,是众多开源工具中的一种。
1.安装convirt环境
(1)安装KVM环境
(2)准备convirt安装源
# cd /etc/yum.repos.d
# wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
(3)下载convirt与cms安装包
# cd /root/
# wget --no-cache http://www.convirture.com/downloads/convirt/2.1.1/convirt-2.1.1.tar.gz
# wget --no-cache http://www.convirture.com/downloads/convirt/2.1.1/convirt-install-2.1.1.tar.gz
(4)安装convirt安装包
# tar -xzvf convirt-install-2.1.1.tar.gz
# cd convirt-install/install/cms/scripts/ && ./install_dependencies
…
初始化 MySQL 数据库: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h vmnode1 password 'new-password'
Alternatively