<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VMWare Tools &#8211; Blog of Kliment Andreev &#8211; A place so I won&#039;t forget things</title>
	<atom:link href="https://blog.andreev.it/tag/vmware-tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it</link>
	<description></description>
	<lastBuildDate>Sat, 10 Oct 2020 13:21:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>ESX/ESXi: Install VMware Tools on FreeBSD 10.x/11.x/CentOS 7.x</title>
		<link>https://blog.andreev.it/2015/11/vmware-workstation-install-vmware-tools-on-freebsd-10-x/</link>
					<comments>https://blog.andreev.it/2015/11/vmware-workstation-install-vmware-tools-on-freebsd-10-x/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Wed, 25 Nov 2015 18:03:58 +0000</pubDate>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ESX/ESXi]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[VMWare Tools]]></category>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=2068</guid>

					<description><![CDATA[VMware Tools is a suite of utilities that enhances the performance of the virtual&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>VMware Tools is a suite of utilities that enhances the performance of the virtual machines guest operating system. Usually, it is a very simple install, especially on Windows OS. The port for FreeBSD is also easy, but there are some quirks that needs to be resolved. First, the instructions for the install assume that you have the cdrom already installed. Second, the tools depend on Perl and since 10.1, Perl was removed from the default install and /usr/bin. So, in order to install VMware Tools on FreeBSD 10.1 or 10.2, we have to do some work. For FreeBSD 11.x and higher, scroll all the way down.</p>
<h1>FreeBSD 10.x</h1>
<p>First, install the compatibility libraries.</p>
<pre class="brush: bash; title: ; notranslate">
pkg install compat6x-amd64
</pre>
<p>If you have a 32-bit FreeBSD, use <strong>compat6x-i386 </strong>instead.<br />
Then, install perl from the packages.</p>
<pre class="brush: bash; title: ; notranslate">
pkg install perl5-5.20.3_8
</pre>
<p>If there is a problem with this version, check what&#8217;s available and install the latest.</p>
<pre class="brush: bash; title: ; notranslate">
pkg search ^perl
</pre>
<p>Check the name of the cdrom drive.</p>
<pre class="brush: bash; title: ; notranslate">
dmesg | grep cd
</pre>
<p>In my case it was <strong>cd0</strong>. Most likely it&#8217;s <strong>cd0</strong>, unless you specified some SCSI cd when creating a custom VM.<br />
Right click the VM and choose Install VMware Tools.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2015/11/P058-01.jpg"><img fetchpriority="high" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2015/11/P058-01.jpg" alt="" width="225" height="362" class="aligncenter size-full wp-image-7383" srcset="https://blog.andreev.it/wp-content/uploads/2015/11/P058-01.jpg 225w, https://blog.andreev.it/wp-content/uploads/2015/11/P058-01-186x300.jpg 186w" sizes="(max-width: 225px) 100vw, 225px" /></a><br />
Create a mount point, mount the tools, copy the tools on the disk and extract them.</p>
<pre class="brush: bash; title: ; notranslate">
mkdir /tmp/vt
mount -t cd9660 /dev/cd0 /tmp/vt
cd /tmp/vt
cp vmware-freebsd-tools.tar.gz ../
cd ..
umount /tmp/vt
rm -Rf /tmp/vt
tar xzvf vmware-freebsd-tools.tar.gz
rm vmware-freebsd-tools.tar.gz
cd vmware-tools-distrib
</pre>
<p>If you try to run the tools with <strong>./vmware-install.pl</strong>, you&#8217;ll get an error &#8220;command not found&#8221;. That&#8217;s because the provided script is looking for perl under <strong>/usr/bin</strong>. As of FreeBSD 10.1, perl is no longer a system binary and after the install, the binary is under <strong>/usr/local/bin</strong>.<br />
So, edit the following files and replace <strong>/usr/bin/perl </strong>with <strong>/usr/local/bin/perl </strong>in the following three files. It&#8217;s the first line in all three files.</p>
<pre class="brush: bash; title: ; notranslate">
vmware-install.pl
vmware-install.real.pl (if you have VMware Workstation 12)
bin/vmware-config-tools.pl
bin/vmware-uninstall-tools.pl
</pre>
<p>Once replaced, you can start the installation with:</p>
<pre class="brush: bash; title: ; notranslate">
./vmware-install.pl
</pre>
<p>Look at the choices, but most likely you&#8217;ll accept the defaults and then reboot.</p>
<h1>FreeBSD 11.x</h1>
<p>If you are using FreeBSD 11.x and higher you can install it with or without X11 support (nox11).</p>
<pre class="brush: bash; title: ; notranslate">
pkg install open-vm-tools
pkg install open-vm-tools-nox11
</pre>
<p>Once installed, add these lines in <strong>/etc/rc.conf</strong>.</p>
<pre class="brush: bash; title: ; notranslate">
vmware_guest_vmblock_enable=&quot;YES&quot;
vmware_guest_vmhgfs_enable=&quot;NO&quot;
vmware_guest_vmmemctl_enable=&quot;YES&quot;
vmware_guest_vmxnet_enable=&quot;YES&quot;
vmware_guestd_enable=&quot;YES&quot;
</pre>
<p>Reboot after making changes in <strong>/etc/rc.conf</strong>.</p>
<h1>CentOS</h1>
<p>The installation for CentOS is much simpler. </p>
<pre class="brush: bash; title: ; notranslate">
yum install open-vm-tools
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2015/11/vmware-workstation-install-vmware-tools-on-freebsd-10-x/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
