Total Pageviews

Thursday, 17 November 2011

XenServer虚拟机linux系统安装XenServer Tools

1,先选择要安装Tools的虚拟机 ,然后右键选择 Install XenServer Tools
2,进入Console执行下面两条命令
# mount /dev/xvdd /mnt
# /mnt/Linux /install.sh


—————Linux系统VPS安装举例如下 —————-
1.在Xencenter里光驱换成xs-tools.iso
2.登陆SSH:
[root@ns0 ~]# cd /mnt
[root@ns0 mnt]# ls
[root@ns0 mnt]# mkdir xs-tools
[root@ns0 mnt]# mount /dev/xvdd /mnt/xs-tools/
mount: block device /dev/xvdd is write-protected, mounting read-only
[root@ns0 mnt]# cd /mnt/xs-tools/Linux/
[root@ns0 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.
Reboot
重启完成安装.

No comments:

Post a Comment