Tag Archives: vmware-tool Installation

Ubuntu Ubuntu 14.04.5 vmware-tool Installation

[BEGIN] 2017/9/28 17:09:03
Last login: Thu Sep 21 14:54:32 2017 from 10.2.202.39

########    ###    ########  ########  #### ##     ##
     ##    ## ##   ##     ## ##     ##  ##   ##   ##
    ##    ##   ##  ##     ## ##     ##  ##    ## ##
   ##    ##     ## ########  ########   ##     ###
  ##     ######### ##     ## ##     ##  ##    ## ##
 ##      ##     ## ##     ## ##     ##  ##   ##   ##
######## ##     ## ########  ########  #### ##     ##
root@zabbix:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
root@zabbix:~# 
root@zabbix:~# yum install -y gcc gcc-c++ automake make
-bash: yum: command not found
root@zabbix:~# mkdir /mnt/cdrom/
root@zabbix:~# mount /dev/cdrom /mnt/cdrom/
mount: block device /dev/sr0 is write-protected, mounting read-only
root@zabbix:~# cd /mnt/cdrom/
root@zabbix:/mnt/cdrom# ll
total 71816
dr-xr-xr-x 2 root root     2048 May 23  2016 ./
drwxr-xr-x 3 root root     4096 Sep 28 17:13 ../
-r-xr-xr-x 1 root root     2012 May 23  2016 manifest.txt*
-r-xr-xr-x 1 root root     1850 May 23  2016 run_upgrader.sh*
-r--r--r-- 1 root root 72083159 May 23  2016 VMwareTools-10.0.9-3917699.tar.gz
-r-xr-xr-x 1 root root   687524 May 23  2016 vmware-tools-upgrader-32*
-r-xr-xr-x 1 root root   757944 May 23  2016 vmware-tools-upgrader-64*
root@zabbix:/mnt/cdrom# cp VMwareTools-10.0.9-3917699.tar.gz /tmp/
root@zabbix:/mnt/cdrom# cd /tmp/
root@zabbix:/tmp# ll
total 70420
drwxrwxrwt  3 root   root       4096 Sep 28 17:14 ./
drwxr-xr-x 22 root   root       4096 Jul 25 09:45 ../
drwxr-xr-x  2 zabbix zabbix     4096 Sep 26 11:16 hsperfdata_zabbix/
-r--r--r--  1 root   root   72083159 Sep 28 17:14 VMwareTools-10.0.9-3917699.tar.gz
-rw-rw-r--  1 zabbix zabbix       23 Sep 28 17:14 zabbix_server_1169.pinger
-rw-rw-r--  1 zabbix zabbix       24 Sep 28 17:14 zabbix_server_1173.pinger
-rw-rw-r--  1 zabbix zabbix       23 Sep 28 17:14 zabbix_server_1178.pinger
root@zabbix:/tmp# umount /dev/cdrom
root@zabbix:/tmp# tar -zxvf VMwareTools-10.0.9-3917699.tar.gz 
root@zabbix:/tmp# ll
total 70420
drwxrwxrwt  4 root   root       4096 Sep 28 17:14 ./
drwxr-xr-x 22 root   root       4096 Jul 25 09:45 ../
drwxr-xr-x  2 zabbix zabbix     4096 Sep 26 11:16 hsperfdata_zabbix/
-r--r--r--  1 root   root   72083159 Sep 28 17:14 VMwareTools-10.0.9-3917699.tar.gz
drwxr-xr-x  9 root   root       4096 May 23  2016 vmware-tools-distrib/
-rw-rw-r--  1 zabbix zabbix       13 Sep 28 17:14 zabbix_server_1172.pinger
-rw-rw-r--  1 zabbix zabbix       13 Sep 28 17:14 zabbix_server_1178.pinger
root@zabbix:/tmp# cd vmware-tools-distrib/
root@zabbix:/tmp/vmware-tools-distrib# ll
total 524
drwxr-xr-x  9 root root   4096 May 23  2016 ./
drwxrwxrwt  4 root root   4096 Sep 28 17:15 ../
drwxr-xr-x  2 root root   4096 May 23  2016 bin/
drwxr-xr-x  5 root root   4096 May 23  2016 caf/
drwxr-xr-x  2 root root   4096 May 23  2016 doc/
drwxr-xr-x  5 root root   4096 May 23  2016 etc/
-rw-r--r--  1 root root 282475 May 23  2016 FILES
-rw-r--r--  1 root root   2538 May 23  2016 INSTALL
drwxr-xr-x  2 root root   4096 May 23  2016 installer/
drwxr-xr-x 14 root root   4096 May 23  2016 lib/
drwxr-xr-x  3 root root   4096 May 23  2016 vgauth/
-rwxr-xr-x  1 root root    243 May 23  2016 vmware-install.pl*
-rwxr-xr-x  1 root root 205571 May 23  2016 vmware-install.real.pl*
root@zabbix:/tmp/vmware-tools-distrib# ./vmware-install.pl
open-vm-tools are available from the OS vendor and VMware recommends using 
open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
Do you still want to proceed with this legacy installer?[no] ^C
root@zabbix:/tmp/vmware-tools-distrib# apt-get install open-vm-tools

root@zabbix:/tmp/vmware-tools-distrib# ./vmware-install.pl
The installer has detected an existing installation of open-vm-tools on this 
system and will not attempt to remove and replace these user-space 
applications. It is recommended to use the open-vm-tools packages provided by 
the operating system. If you do not want to use the existing installation of 
open-vm-tools and attempt to install VMware Tools, you must uninstall the 
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] 

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] 

What is the directory that contains the init scripts?
[/etc/init.d] 

In which directory do you want to install the daemon files?
[/usr/sbin] 

In which directory do you want to install the library files?
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want?[yes] 

The installation of VMware Tools 10.0.9 build-3917699 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now?[yes] 

The file /usr/bin/vmware-hgfsclient that this program was about to install 
already exists.  Overwrite?[no] 

The file /sbin/mount.vmhgfs that this program was about to install already 
exists.  Overwrite?[no] 

Initializing...


Making sure services for VMware Tools are stopped.



The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature?[no] 

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.19.0-80-generic
vmware-tools start/running
The configuration of VMware Tools 10.0.9 build-3917699 for Linux for this 
running kernel completed successfully.

Enjoy,

--the VMware team

root@zabbix:/tmp/vmware-tools-distrib# reboot


Broadcast message from root@zabbix

	(/dev/pts/0) at 17:16 ...




The system is going down for reboot NOW!

root@zabbix:/tmp/vmware-tools-distrib#