{"id":4345,"date":"2013-02-19T00:06:09","date_gmt":"2013-02-18T16:06:09","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4345"},"modified":"2023-04-28T09:48:56","modified_gmt":"2023-04-28T09:48:56","slug":"how-to-install-and-remove-vmware-tools-on-centos-5-9","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-and-remove-vmware-tools-on-centos-5-9\/","title":{"rendered":"How to Install and Remove VMware Tools on CentOS 5.9"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/03\/vmware-150x150.png\" alt=\"vmware\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-2144 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/03\/vmware-150x150.png 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/03\/vmware-100x100.png 100w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>This post focus on how to install and remove VMware Tools on CenOS 5.9. VMware Tools is important components in order to provide perfect VM Operating system(OS). It is a group of utilities that enhances the overall performance of the virtual machine\u2019s guest OS and improves management of the virtual machine (VM). Please follow below steps to install and also remove the VMware Tools on CentOS 5.9:<\/p>\n<p><strong>Install VMware Tools on CentOS 5.9 :<\/strong><br \/>\n1. Mount from media :<\/p>\n<pre>\n[root@centos59 ~]# mount \/dev\/cdrom \/mnt\nmount: block device \/dev\/cdrom is write-protected, mounting read-only\n<\/pre>\n<p>2. Got to \/mnt :<\/p>\n<pre>\n[root@centos59 ~]# cd \/mnt\n[root@centos59 mnt]# ls\nmanifest.txt  VMwareTools-9.2.2-893683.tar.gz\n<\/pre>\n<p>3. Copy VMwareTools from \/mnt to \/tmp :<\/p>\n<pre>\n[root@centos59 mnt]# cp VMwareTools-9.2.2-893683.tar.gz \/tmp\n<\/pre>\n<p>4. Extract the VMwareTools :<\/p>\n<pre>\n[root@centos59 tmp]# tar xzvf VMwareTools-9.2.2-893683.tar.gz\n[root@centos59 tmp]# cd vmware-tools-distrib\n<\/pre>\n<p>5. Start installing VMwareTools :<\/p>\n<pre>\n[root@centos59 vmware-tools-distrib]# .\/vmware-install.pl\nCreating a new VMware Tools installer database using the tar4 format.\n\nInstalling VMware Tools.\n\nIn which directory do you want to install the binary files?\n[\/usr\/bin]\n\nWhat is the directory that contains the init directories (rc0.d\/ to rc6.d\/)?\n[\/etc\/rc.d]\n\nWhat is the directory that contains the init scripts?\n[\/etc\/rc.d\/init.d]\n\nIn which directory do you want to install the daemon files?\n[\/usr\/sbin]\n\nIn which directory do you want to install the library files?\n[\/usr\/lib\/vmware-tools]\n\nIn which directory do you want to install the documentation files?\n[\/usr\/share\/doc\/vmware-tools]\n\nThe path \"\/usr\/share\/doc\/vmware-tools\" does not exist currently. This program\nis going to create it, including needed parent directories. Is this what you\nwant? [yes]\n\nThe installation of VMware Tools 9.2.2 build-893683 for Linux completed\nsuccessfully. You can decide to remove this software from your system at any\ntime by invoking the following command: \"\/usr\/bin\/vmware-uninstall-tools.pl\".\n\nBefore running VMware Tools for the first time, you need to configure it by\ninvoking the following command: \"\/usr\/bin\/vmware-config-tools.pl\". Do you want\nthis program to invoke the command for you now? [yes]\n\nInitializing...\n\n\nMaking sure services for VMware Tools are stopped.\n\nStopping Thinprint services in the virtual machine:\n   Stopping Virtual Printing daemon:                                   done\nStopping VMware Tools services in the virtual machine:\n   Guest operating system daemon:                          [  OK  ]\n   Unmounting HGFS shares:                                 [  OK  ]\n   Guest filesystem driver:                                [  OK  ]\n\n\nThe VMware FileSystem Sync Driver (vmsync) allows external third-party backup\nsoftware that is integrated with vSphere to create backups of the virtual\nmachine. Do you wish to enable this feature? [no]\n\nFound a compatible pre-built module for vmci.  Installing it...\n\n\nFound a compatible pre-built module for vsock.  Installing it...\n\n\nFound a compatible pre-built module for vmxnet3.  Installing it...\n\n\nFound a compatible pre-built module for pvscsi.  Installing it...\n\n\nFound a compatible pre-built module for vmmemctl.  Installing it...\n\n\nThe VMware Host-Guest Filesystem allows for shared folders between the host OS\nand the guest OS in a Fusion or Workstation virtual environment.  Do you wish\nto enable this feature? [yes]\n\nCould not create the '\/mnt\/hgfs' directory.\nThe filesystem driver (vmhgfs module) is used only for the shared folder\nfeature. The rest of the software provided by VMware Tools is designed to work\nindependently of this feature.\n\nIf you wish to have the shared folders feature, you can install the driver by\nrunning vmware-config-tools.pl again after making sure that gcc, binutils, make\nand the kernel sources for your running kernel are installed on your machine.\nThese packages are available on your distribution's installation CD.\n[ Press Enter key to continue ]\n\nFound a compatible pre-built module for vmxnet.  Installing it...\n\n\nThe vmblock enables dragging or copying files between host and guest in a\nFusion or Workstation virtual environment.  Do you wish to enable this feature?\n[yes]\n\nFound a compatible pre-built module for vmblock.  Installing it...\n\n\n!!! [EXPERIMENTAL] !!!\nVMware automatic kernel modules enables automatic building and installation of\nVMware kernel modules at boot that are not already present.  By selecting yes,\nyou will be enabling this experimental feature.  You can always disable this\nfeature by re-running vmware-config-tools.pl.\n\nWould you like to enable VMware automatic kernel modules?\n[no]\n\nNo X install found.\n\nCreating a new initrd boot image for the kernel.\n   Starting Virtual Printing daemon:                                   done\n   Checking acpi hot plug                                  [  OK  ]\nStarting VMware Tools services in the virtual machine:\n   Switching to guest configuration:                       [  OK  ]\n   Paravirtual SCSI module:                                [  OK  ]\n   Guest memory manager:                                   [  OK  ]\n   Guest vmxnet fast network device:                       [  OK  ]\n   VM communication interface:                             [  OK  ]\n   VM communication interface socket family:               [  OK  ]\n   Blocking file system:                                   [  OK  ]\n   Guest operating system daemon:                          [  OK  ]\nThe configuration of VMware Tools 9.2.2 build-893683 for Linux for this running\nkernel completed successfully.\n\nYou must restart your X session before any mouse or graphics changes take\neffect.\n\nYou can now run VMware Tools by invoking \"\/usr\/bin\/vmware-toolbox-cmd\" from the\ncommand line.\n\nTo enable advanced X features (e.g., guest resolution fit, drag and drop, and\nfile and text copy\/paste), you will need to do one (or more) of the following:\n1. Manually start \/usr\/bin\/vmware-user\n2. Log out and log back into your desktop session; and,\n3. Restart your X session.\n\nTo use the vmxnet driver, restart networking using the following commands:\n\/etc\/init.d\/network stop\nrmmod pcnet32\nrmmod vmxnet\nmodprobe vmxnet\n\/etc\/init.d\/network start\n\nEnjoy,\n\n--the VMware team\n\n<\/pre>\n<p><strong>Remove VMware Tools on CentOS 5.9 :<\/strong><\/p>\n<p>In Linux, Solaris, FreeBSD and NetWare, the is easy way to remove VMware-Tools as below :<\/p>\n<pre>\n[root@centos59 ~]# vmware-uninstall-tools.pl\n<\/pre>\n<p>Example :<\/p>\n<pre>\n[root@centos59 ~]# vmware-uninstall-tools.pl\nUninstalling the tar installation of VMware Tools.\n\nStopping services for VMware Tools\n\nStopping VMware Tools services in the virtual machine:\n   Guest operating system daemon:                          [  OK  ]\n   VMware User Agent (vmware-user):                        [  OK  ]\n   Blocking file system:                                   [  OK  ]\n   Unmounting HGFS shares:                                 [  OK  ]\n   Guest filesystem driver:                                [  OK  ]\n   Guest memory manager:                                   [  OK  ]\n   VM communication interface socket family:               [  OK  ]\n   VM communication interface:                             [  OK  ]\n\nStopping Thinprint services in the virtual machine:\n   Stopping Virtual Printing daemon:                                   done\n\nFile \/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders is\nbacked up to\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders.old.0.\n\nFile \/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/pango\/pangorc is backed up to\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/pango\/pangorc.old.0.\n\nThis program previously created the file\n\/usr\/lib\/vmware-tools\/libconf\/etc\/pango\/pangorc, and was about to remove it.\nSomebody else apparently did it already.\n\nFile \/etc\/vmware-tools\/vmware-user.desktop is backed up to\n\/etc\/vmware-tools\/vmware-user.desktop.old.0.\n\nFile \/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/fonts\/fonts.conf is backed up to\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/fonts\/fonts.conf.old.0.\n\nThis program previously created the file\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/pango\/pango.modules, and was about to\nremove it.  Somebody else apparently did it already.\n\nThis program previously created the file\n\/usr\/lib\/vmware-tools\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders, and was about to\nremove it.  Somebody else apparently did it already.\n\nFile \/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/gtk-2.0\/gtk.immodules is backed up\nto \/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/gtk-2.0\/gtk.immodules.old.0.\n\nThis program previously created the file\n\/usr\/lib\/vmware-tools\/libconf\/etc\/gtk-2.0\/gtk.immodules, and was about to\nremove it.  Somebody else apparently did it already.\n\nThis program previously created the file\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/pango\/pangox.aliases, and was about to\nremove it.  Somebody else apparently did it already.\n\nThis program previously created the directory\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/gtk-2.0, and was about to remove it.\nSince there are files in that directory that this program did not create, it\nwill not be removed.\n\nThis program previously created the directory\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/pango, and was about to remove it.\nSince there are files in that directory that this program did not create, it\nwill not be removed.\n\nThis program previously created the directory\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc\/fonts, and was about to remove it.\nSince there are files in that directory that this program did not create, it\nwill not be removed.\n\nThis program previously created the directory\n\/usr\/lib\/vmware-tools\/lib32\/libconf\/etc, and was about to remove it. Since\nthere are files in that directory that this program did not create, it will not\nbe removed.\n\nThis program previously created the directory\n\/usr\/lib\/vmware-tools\/lib32\/libconf, and was about to remove it. Since there\nare files in that directory that this program did not create, it will not be\nremoved.\n\nThis program previously created the directory \/usr\/lib\/vmware-tools\/lib32, and\nwas about to remove it. Since there are files in that directory that this\nprogram did not create, it will not be removed.\n\nThis program previously created the directory \/usr\/lib\/vmware-tools, and was\nabout to remove it. Since there are files in that directory that this program\ndid not create, it will not be removed.\n\nThe removal of VMware Tools 9.2.2 build-893683 for Linux completed\nsuccessfully.  Thank you for having tried this software.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post focus on how to install and remove VMware Tools on CenOS 5.9. VMware Tools is important components in order to provide perfect VM Operating system(OS). It is a&#8230;<\/p>\n","protected":false},"author":6,"featured_media":316,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1083],"tags":[1895],"class_list":["post-4345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware","tag-vmware"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4345"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/316"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}