{"id":136,"date":"2011-11-30T15:38:28","date_gmt":"2011-11-30T15:38:28","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/esx\/vmware-tools-installeren\/"},"modified":"2018-12-11T16:09:10","modified_gmt":"2018-12-11T15:09:10","slug":"vmware-tools-installeren","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2011\/11\/30\/vmware-tools-installeren\/","title":{"rendered":"VMWare tools installeren"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><p>The first thing that is important is that you will need to know is that you have to install the compilation utilities, which aren\u2019t installed by default. Run these commands to get you started:<\/p>\n<blockquote><p><span style=\"color: #000080\">sudo apt-get install build-essential<br \/>sudo apt-get install linux-headers-`uname -r` <\/span><\/p><\/blockquote>\n<p>The first command installs gcc and all the compiler utilities. The second command installs the header files for your currently running kernel. Notice that the ` is the one next to the 1 key on your keyboard.<\/p>\n<p>Now you\u2019ll want to navigate to the VM \\ Install VMware Tools menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"231\" height=\"170\" alt=\"\" src=\"\/media\/images\/esx\/vmwaretoolsinstall.png\" \/><\/p>\n<p>Then mount the cdrom (first locate the cdrom in dev):<\/p>\n<blockquote><p><span style=\"color: #000080\">sudo mkdir \/media\/cdrom<br \/>sudo mount \/dev\/scd0 \/media\/cdrom<\/span><\/p><\/blockquote>\n<p>This will mount the vmware tools in Ubuntu so that you can begin the install. To install the tools, run the following commands:<\/p>\n<blockquote><p><span style=\"color: #000080\">cp \/cdrom\/*.gz \/tmp\/<br \/>cd \/tmp<br \/>tar xvzf VM*.gz<br \/>cd vmware*<br \/>sudo .\/vmware-install.pl<\/span><\/p><\/blockquote>\n<p>Select all of the defaults. It will prompt you that you need to compile the module for your system. Select yes and continue.<\/p>\n<p>Finally run these commands:<\/p>\n<blockquote><p><span style=\"color: #000080\">\/etc\/init.d\/networking stop<br \/>rmmod pcnet32<br \/>rmmod vmxnet<br \/>modprobe vmxnet<br \/>\/etc\/init.d\/networking start<\/span><\/p><\/blockquote>\n<p>after updating\u00a0ESX4i the vmware tools were outdated, so had to reinstall vmware tools, this did not work automatically so had to come up with a solution:<\/p>\n<p>\u00a0<\/p>\n<div class=\"jive-rendered-content\" jquery1297945346767=\"57\">\n<p>The following prompt appeared during the execution of VMware Tools install script vmware-config-tools.pl (commando: \/usr\/bin\/vmware-config-tools.pl):<\/p>\n<p style=\"padding-bottom: 0px; min-height: 8pt; padding-left: 0px; padding-right: 0px; height: 8pt; padding-top: 0px\">\u00a0<\/p>\n<p><strong>What is the location of the directory of c header files that match your running kernel <a class=\"jive-link-external-small\" href=\"http:\/\/192.168.178.50\/usr\/src\/linux\/include\"><font color=\"#3399cc\">\/usr\/src\/linux\/include<\/font><\/a><\/strong><\/p>\n<p>The default value was not being accepted by the script. I was running Ubuntu 8.10 as the guest OS, but other Ubuntu distributions might need the same treatment. The issue is that the C source code headers that correspond to your running Linux kernel are not installed. The VMware Tools installation needs to compile some modules during the installation, based upon your running kernel. It needs the kernel source headers in order to do this.<\/p>\n<p><strong>SOLUTION:<\/strong><\/p>\n<p>1) <em>Figure out what your kernel version is<\/em><\/p>\n<p><strong>uname -a<\/strong><\/p>\n<p>On mine, I got something like this:<\/p>\n<p>Linux dnm-ws01 2.6.24-28-generic #1 SMP Wed Nov 24 09:30:14 UTC 2010 i686 GNU\/Linux<\/p>\n<p>The kernel version is the &#8220;<em>2.6.24-28-generric<\/em>&#8221; part.<\/p>\n<p>2) Install the headers for your kernel<\/p>\n<p><strong>sudo apt-get install linux-headers-2.6.24-28-generic<\/strong><\/p>\n<p>Use the apt-get command to obtain and install the headers for your kernel. Your command will depend upon what you got from step #1 above. For mine it was:<\/p>\n<p><strong>sudo apt-get install linux-headers-2.6.24-28-generic<\/strong><\/p>\n<p>3) <em>Run the vmware-config-tools.pl script again<\/em><\/p>\n<p>Now you can re-run the configuration script OR allow it to continue if your did step #1 and #2 above in a separate terminal session and the script is still waiting for a response. This time, tell it where the headers are located. For me, it was:<\/p>\n<p>\/usr\/src\/linux-headers-<span lang=\"EN-GB\" style=\"font-family: Arial; font-size: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: NL; mso-bidi-language: AR-SA\">2.6.24-28-generic<\/span>\/include<\/p>\n<p>That&#8217;s it! Now the rest of the script should execute, build and install each module.<\/p>\n<\/div>\n<p>Some notes which need to be included in this page:<\/p>\n<p>configure VMWARE TOOLS<br \/>\/usr\/bin\/vmware-config-tools.pl<\/p>\n<p>remove old cdrom dingetjes<br \/>sudo rmdir \/media\/cdrom<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018The first thing that is important is that you will need to know is that you have to install the compilation utilities, which aren\u2019t installed by default. Run these commands to get you started: sudo apt-get install build-essentialsudo apt-get install linux-headers-`uname -r` The first command installs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}