在帮助文件中,XenServer Tools安装描述如下:
Installing XenServer Tools on Linux VMs
1、Select the VM in the Resources pane, right-click, and then click Install XenServer Tools on the shortcut menu. Alternatively, on the VM menu, click Install XenServer Tools
2、Click Install XenServer Tools on the message dialog to go to the VM's console.
3、As the root user, mount the image into the VM:
mount /dev/xvdd /mnt
4、Execute the installation script as the root user:
/mnt/Linux/install.sh
5、If the kernel has been upgraded, or the VM was upgraded from a previous version, reboot the VM now.
Note that CD-ROM drives and ISOs attached to Linux VMs appear as /dev/xvdd
中文翻译一下:
在Linux虚拟机中安装XenServer Tools:
1、在资源区(Resources pane)选中要安装XenServer Tools的虚拟机,鼠标右键显示快捷菜单,点击安装XenServer Tools,或者在系统菜单中点击安装XenServer Tools
2、在对话框中点击安装XenServer Tools
3、在root用户下,将镜像mount到虚拟机
mount /dev/xvdd /mnt
4、执行安装脚本
/mnt/Linux/install.sh
5、需要的话,重启虚拟机。
还特意强调:光驱和ISOs映射到/dev/xvdd
但我在安装CentOS6.3虚机时,发现光驱和ISOs映射到/dev/cdrom而不是/dev/xvdd,因此第3步需要调整为:mount /dev/cdrom /mnt
其他版本Linux没有试过,需要的话可能需要调整一下。
mount /dev/xvdd /mnt