How to install XenServer Tools on Linux VMs

Question:  How  to install  XenServer Tools on Linux VMs  ?

 Answer : 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

Now login as root on your  VM    Linux Machine

 mount /dev/xvdd /mnt
mount: block device /dev/xvdd is write-protected, mounting read-only
list  the  files onder the  /mnt 

 

[root@hosted ~]# ls  /mnt/
AUTORUN.INF  copyright.txt  EULA_DRIVERS  Linux  README.txt  xensetup.exe

Go  onder  Linux en list

[root@hosted Linux]# ls
debian-etch
debian-lenny
install.sh
rhel4x
versions.deb
versions.rpm
xe-guest-utilities_6.0.0-743_amd64.deb
xe-guest-utilities_6.0.0-743_i386.deb
xe-guest-utilities-6.0.0-743.i386.rpm
xe-guest-utilities-6.0.0-743.x86_64.rpm
xe-guest-utilities-xenstore-6.0.0-743.i386.rpm
xe-guest-utilities-xenstore-6.0.0-743.x86_64.rpm
xe-linux-distribution
[root@hosted Linux]#

 

 Execute the installation script as the root user:

cd   /mnt/Linux/   & ./install.sh

[root@hosted Linux]# ./install.sh 
Detected `CentOS release 5.7 (Final)' (centos version 5).The following changes will be made to this Virtual Machine:
  * packages to be installed/upgraded:
    - xe-guest-utilities-6.0.0-743.x86_64.rpm
    - xe-guest-utilities-xenstore-6.0.0-743.x86_64.rpm
Continue? [y/n]

 

Done