{"id":4259,"date":"2018-04-02T17:40:26","date_gmt":"2018-04-02T17:40:26","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4259"},"modified":"2018-04-02T17:40:26","modified_gmt":"2018-04-02T17:40:26","slug":"install-vmware-tools-on-centos-7-vm","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/04\/02\/install-vmware-tools-on-centos-7-vm\/","title":{"rendered":"Install vmware tools on CentOS VM"},"content":{"rendered":"\n<p>Installing VMware tools in CentOS involves the following steps:<\/p>\n\n\n\n<p>Install the opem-vm-tools:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nyum install open-vm-tools\n<\/pre><\/div>\n\n\n<p>Output:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n================================================================================================================================================\n Package                             Arch                       Version                                       Repository                   Size\n================================================================================================================================================\nInstalling:\n open-vm-tools                       x86_64                     10.1.5-3.el7                                  base                        663 k\nInstalling for dependencies:\n fuse                                x86_64                     2.9.2-8.el7                                   base                         85 k\n fuse-libs                           x86_64                     2.9.2-8.el7                                   base                         93 k\n libdnet                             x86_64                     1.12-13.1.el7                                 base                         31 k\n libicu                              x86_64                     50.1.2-15.el7                                 base                        6.9 M\n libmspack                           x86_64                     0.5-0.5.alpha.el7                             base                         64 k\n net-tools                           x86_64                     2.0-0.22.20131004git.el7                      base                        305 k\n pciutils                            x86_64                     3.5.1-2.el7                                   base                         93 k\n xmlsec1                             x86_64                     1.2.20-7.el7_4                                updates                     177 k\n xmlsec1-openssl                     x86_64                     1.2.20-7.el7_4                                updates                      76 k\n\nTransaction Summary\n================================================================================================================================================\nInstall  1 Package (+9 Dependent packages)\n\nTotal download size: 8.4 M\nInstalled size: 29 M\n\n<\/pre><\/div>\n\n\n<p>Reboot the server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nshutdown -r now\n<\/pre><\/div>\n\n\n<p><br>Install with with the Vmware CD:<\/p>\n\n\n\n<p>Login to ESXi.<\/p>\n\n\n\n<p>Select the VM from the Virtual Machine list.<\/p>\n\n\n\n<p>Click the actions wheel for the warning message:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"210\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1-1024x210.png\" alt=\"\" class=\"wp-image-4260\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1-1024x210.png 1024w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1-300x61.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1-768x157.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1-1536x315.png 1536w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot1.png 1631w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Select Guest OS &gt; Install Vmware Tools<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"218\" height=\"151\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2018\/04\/vmwarescreenshot2.png\" alt=\"\" class=\"wp-image-4261\"\/><\/a><\/figure>\n\n\n\n<p>Run the mount command with no arguments to determine whether your Linux distribution automatically mounted the VMware Tools virtual CD-ROM image.<\/p>\n\n\n\n<p>If the CD-ROM device is mounted, the CD-ROM device and its mount point are listed as something like this:<\/p>\n\n\n\n<p>\/dev\/cdrom on \/mnt\/cdrom type iso9660 (ro,nosuid,nodev)<\/p>\n\n\n\n<p>If the VMware Tools virtual CD-ROM image is not mounted, mount the CD-ROM drive.<\/p>\n\n\n\n<p>If a mount point directory does not already exist, create it.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmkdir \/mnt\/cdrom\n<\/pre><\/div>\n\n\n<p>Some Linux distributions use different mount point names. For example, on some distributions the mount point is \/media\/VMware Tools rather than \/mnt\/cdrom. Modify the command to reflect the conventions that your distribution uses.<\/p>\n\n\n\n<p>Mount the CD-ROM drive.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmount \/dev\/cdrom \/mnt\/cdrom\n<\/pre><\/div>\n\n\n<p>Some Linux distributions use different device names or organize the \/dev directory differently. If your CD-ROM drive is not \/dev\/cdrom or if the mount point for a CD-ROM is not \/mnt\/cdrom, modify the command to reflect the conventions that your distribution uses.<\/p>\n\n\n\n<p>Change to a working directory (for example, \/tmp).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncd \/tmp\n<\/pre><\/div>\n\n\n<p>Delete any previous vmware-tools-distrib directory before you install VMware Tools. The location of this directory depends on where you placed it during the previous installation. Often this directory is placed in \/tmp\/vmware-tools-distrib.<\/p>\n\n\n\n<p>List the contents of the mount point directory and note the filename of the VMware Tools tar installer.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nls \/mnt\/cdrom\/\nmanifest.txt  run_upgrader.sh  VMwareTools-10.1.0-4449150.tar.gz  vmware-tools-upgrader-32  vmware-tools-upgrader-64\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\n<\/pre><\/div>\n\n\n<p>Uncompress the installer.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntar zxpf \/mnt\/cdrom\/VMwareTools-10.1.0-4449150.tar.gz\n<\/pre><\/div>\n\n\n<p>The value x.x.x is the product version number, and yyyy is the build number of the product release.<\/p>\n\n\n\n<p>If you attempt to install a tar installation over an RPM installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.<\/p>\n\n\n\n<p>If necessary, unmount the CD-ROM image.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\numount \/dev\/cdrom\n<\/pre><\/div>\n\n\n<p>If your Linux distribution automatically mounted the CD-ROM, you do not need to unmount the image.<\/p>\n\n\n\n<p>Run the installer and configure VMware Tools.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd vmware-tools-distrib\n.\/vmware-install.pl\nopen-vm-tools packages are available from the OS vendor and VMware recommends\nusing open-vm-tools packages. See http:\/\/kb.vmware.com\/kb\/2073803 for more\ninformation.\n<\/pre><\/div>\n\n\n<p>Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running. Respond to the prompts by pressing Enter to accept the default values, if appropriate for your configuration. Follow the instructions at the end of the script.<\/p>\n\n\n\n<p>Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.<\/p>\n\n\n\n<p>If you are using vCenter Server, the VMware Tools label on the Summary tab changes to OK.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing VMware tools in CentOS involves the following steps: Install the opem-vm-tools: Output: Reboot the server: Install with with the Vmware CD: Login to ESXi. Select the VM from the Virtual Machine list. Click the actions wheel for the warning message: Select Guest OS &gt; Install Vmware Tools Run the mount command with no arguments &#8230; <a title=\"Install vmware tools on CentOS VM\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/04\/02\/install-vmware-tools-on-centos-7-vm\/\" aria-label=\"Read more about Install vmware tools on CentOS VM\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,120],"tags":[],"class_list":["post-4259","post","type-post","status-publish","format-standard","hentry","category-esxi","category-vmware"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=4259"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4259\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}