{"id":607,"date":"2019-07-17T12:17:26","date_gmt":"2019-07-17T12:17:26","guid":{"rendered":"http:\/\/michaelstoica.com\/?p=607"},"modified":"2019-07-17T12:17:26","modified_gmt":"2019-07-17T12:17:26","slug":"install-vmware-tools-on-centos","status":"publish","type":"post","link":"https:\/\/michaelstoica.com\/site\/install-vmware-tools-on-centos\/","title":{"rendered":"Install VMware Tools on CentOS"},"content":{"rendered":"<p>In the past few weeks I had to update VMware Tools on couple of CentOS machines.\u00a0Depending on which version of CentOS you are running, the process is different.<\/p>\n<p>We will start with the easiest one, so if you have CentOS 7 all you have to do is run\u00a0<em>yum install -y open-vm-tools\u00a0<\/em>and once it&#8217;s installed you can check it by running\u00a0<em>ls \/usr\/bin\/vmtoolsd.\u00a0<\/em>After the installation is finished you need to reboot the machine.<\/p>\n<p>If you are running an older versio, CentOS 5.x\/6 you will have first to go on vSphere, select the machine, go to Guest and choose Install\/Upgrade VMware Tools.<\/p>\n<p>After the ISO it&#8217;s attached to the VM you will have to mount it and create a folder:<\/p>\n<p><em>mkdir \/mnt\/cdrom<\/em><\/p>\n<p><em>mount \/dev\/cdrom \/mnt\/cdrom<\/em><\/p>\n<p>Next step is to create a folder, copy the content from the ISO and extract it.<\/p>\n<p><em>cp \/mnt\/cdrom\/VMwareTools*.tar.gz \/tmp\/<\/em><\/p>\n<p><em>cd \/tmp\/<\/em><\/p>\n<p><em>tar xvfz VMwareTools*.tar.gaz<\/em><\/p>\n<p>Now you have run the installer and once finished reboot the machine.<\/p>\n<p><em>cd \/tmp\/vmware-tools-distrib<\/em><\/p>\n<p><em>.\/vmware-install.pl -d (-d to auto accept defaults)<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past few weeks I had to update VMware Tools on couple of CentOS machines.\u00a0Depending on which version of CentOS you are running, the&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/michaelstoica.com\/site\/install-vmware-tools-on-centos\/\">Continue reading<span class=\"screen-reader-text\">Install VMware Tools on CentOS<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[35,51,13,39,12,42],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-general","tag-linux","tag-vexpert","tag-vmware","tag-vmware-tools","tag-vsphere","tag-vsphere-6-7","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p63Lge-9N","_links":{"self":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":1,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"predecessor-version":[{"id":608,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/607\/revisions\/608"}],"wp:attachment":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}