1.在Xencenter裡光碟機換成xs-tools.iso
2.登陸SSH:
cd /mnt
mkdir xs-tools mount /dev/xvdd /mnt/xs-tools/ mount: block device /dev/xvdd is write-protected, mounting read-only cd /mnt/xs-tools/Linux/ bash install.sh
Detected `CentOS release 5.2 (Final)' (centos version 5).
The following changes will be made to this Virtual Machine:
* packages to be installed/upgraded:
- kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24.x86_64.rpm
- xe-guest-utilities-4.1.0-257.x86_64.rpm
Continue? [y/n] y
Preparing...########################################### [100%] 1:xe-guest-utilities########################################### [100%] Preparing...########################################### [100%] package kernel-xen-2.6.18-92.el5 (which is newer than kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24) is already installed
You should now reboot this Virtual Machine.
重啟完成安裝。
注意如果xvdd不存在則會提示:
/dev/xvdd does not exist.
這時候來嘗試下/dev/cdrom,即:
mount /dev/cdrom /mnt/xs-tools/ mount: block device /dev/xvdd is write-protected, mounting read-only
然後
cd /mnt/xs-tools/Linux/ bash install.sh
安裝完成,重啟即可!
Hits: 99