Installing VMware tools in guest Windows Based OS is simple where dialog box appears and user just needs to confirm the installation. In CLI based linux OS user needs to perform a couple of check and complete procedure is as following:
First step is to make sure that perl is present in the server;
Using the following command it can be verified:
rpm -qa | grep perl
if it is not present then use following commands to install (I have installed it in centOS);
yum -y install perl
after it is installed create a directory:
mkdir /mnt/cdrom
mkdir /mnt/cdrom
Then on the Vsphere client and attach the linux tools iso:
after iso is inserted mount the cdrom to folder which was created earlier
mount /dev/cdrom /mnt/cdrom
copy the tar file on /tmp folder
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
after copy umount the device
umount /mnt/cdrom
umount /mnt/cdrom
unzip the tar file
tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp
tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp
then run the following command, -D means default setting if you want manual settings then remove the -D check
/./tmp/vmware-tools-distrib/vmware-install.pl -D
/./tmp/vmware-tools-distrib/vmware-install.pl -D
remove the files and tmp folder
rm -f /tmp/VMwareTools-*.tar.gz
rm -rf /tmp/vmware-tools-distrib
rm -f /tmp/VMwareTools-*.tar.gz
rm -rf /tmp/vmware-tools-distrib
No comments:
Post a Comment