VMware FusionのUbuntu14.04にVMwareToolsをインストールしてみた件

MacOS XVMware FusionのゲストOSとしてUbuntu14.04をインストールしていたけどVMwareToolsをインストールしていなかったのでインストールしてみた。
参照先は以下。

http://tukaikta.blog135.fc2.com/blog-entry-129.html
http://partnerweb.vmware.com/GOSIG/Ubuntu_14_04_LTS.html#Tools
http://d.hatena.ne.jp/ytooyama/20130615/1371308333
http://kledgeb.blogspot.jp/2015/09/ubuntu-vmware-workstation-player-2.html

マウント

VMware Fusionの「仮装マシン」メニューの「VMware Toolsのインストール」を選択することでマウントされる。

マウント前
kohchi@ubuntu13:~$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1       19478204 8918296   9547428  49% /
none                   4       0         4   0% /sys/fs/cgroup
udev             1022272       4   1022268   1% /dev
tmpfs             206380    1080    205300   1% /run
none                5120       0      5120   0% /run/lock
none             1031880     152   1031728   1% /run/shm
none              102400      32    102368   1% /run/user
マウント後
kohchi@ubuntu13:~$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1       19478204 8918332   9547392  49% /
none                   4       0         4   0% /sys/fs/cgroup
udev             1022272       4   1022268   1% /dev
tmpfs             206380    1084    205296   1% /run
none                5120       0      5120   0% /run/lock
none             1031880     152   1031728   1% /run/shm
none              102400      32    102368   1% /run/user
/dev/sr0           71704   71704         0 100% /media/kohchi/VMware Tools

実行エラー

マウントされたものはDVDとして認識し、フォルダ画面が表示される。

フォルダ画面にあるtarボールをホームへドラッグ&ドロップしてその後DVDを取り出す(取り出しボタンを押すとアンマウントされる)。


で実行してみたけど、open-vm-toolsをインストールする必要があるらしい。

kohchi@ubuntu13:~$ pwd
/home/kohchi
kohchi@ubuntu13:~$ zcat VMwareTools-10.0.1-3160059.tar.gz | tar xf -
kohchi@ubuntu13:~$ cd vmware-tools-distrib/
kohchi@ubuntu13:~/vmware-tools-distrib$ sudo ./vmware-install.pl
[sudo] password for kohchi: 
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] 

kohchi@ubuntu13:~/vmware-tools-distrib$

open-vm-toolsインストール

http://kb.vmware.com/kb/2073803 から http://partnerweb.vmware.com/GOSIG/Ubuntu_14_04_LTS.html#Tools に辿りつきapt-getでopen-vm-toolsをインストール。

kohchi@ubuntu13:~/vmware-tools-distrib$ sudo apt-get install open-vm-tools
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
  libpostproc52 libupstart1 linux-headers-3.13.0-24
  linux-headers-3.13.0-24-generic linux-image-3.13.0-24-generic
  linux-image-3.8.0-31-generic linux-image-extra-3.13.0-24-generic
  linux-image-extra-3.8.0-31-generic
これを削除するには 'apt-get autoremove' を利用してください。
以下の特別パッケージがインストールされます:
  libdumbnet1 zerofree
提案パッケージ:
  open-vm-tools-desktop
以下のパッケージが新たにインストールされます:
  libdumbnet1 open-vm-tools zerofree
アップグレード: 0 個、新規インストール: 3 個、削除: 0 個、保留: 131 個。
490 kB のアーカイブを取得する必要があります。
この操作後に追加で 2,493 kB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://jp.archive.ubuntu.com/ubuntu/ trusty/main libdumbnet1 i386 1.12-4build1 [25.3 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu/ trusty-updates/main open-vm-tools i386 2:9.4.0-1280544-5ubuntu6.2 [456 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu/ trusty/main zerofree i386 1.0.2-1ubuntu1 [8,574 B]
490 kB を 0秒 で取得しました (1,042 kB/s)
以前に未選択のパッケージ libdumbnet1 を選択しています。
(データベースを読み込んでいます ... 現在 261017 個のファイルとディレクトリがインストールされています。)
Preparing to unpack .../libdumbnet1_1.12-4build1_i386.deb ...
Unpacking libdumbnet1 (1.12-4build1) ...
以前に未選択のパッケージ open-vm-tools を選択しています。
Preparing to unpack .../open-vm-tools_2%3a9.4.0-1280544-5ubuntu6.2_i386.deb ...
Unpacking open-vm-tools (2:9.4.0-1280544-5ubuntu6.2) ...
以前に未選択のパッケージ zerofree を選択しています。
Preparing to unpack .../zerofree_1.0.2-1ubuntu1_i386.deb ...
Unpacking zerofree (1.0.2-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
libdumbnet1 (1.12-4build1) を設定しています ...
open-vm-tools (2:9.4.0-1280544-5ubuntu6.2) を設定しています ...
 * Starting open-vm daemon vmtoolsd                                      [ OK ] 
zerofree (1.0.2-1ubuntu1) を設定しています ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
kohchi@ubuntu13:~/vmware-tools-distrib$

VMwareToolsのインストール

もう一回インストーラを起動してインストール。質問はすべてデフォルト(この場合インストーラに"-d"オプションをつけるといいらしい)で、インストール完了後リブート。

kohchi@ubuntu13:~/vmware-tools-distrib$ sudo ./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] 

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.1 build-3160059 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? [yes] 


Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.13.0-63-generic/build/include".
The path "/lib/modules/3.13.0-63-generic/build/include" appears to be a valid 
path to the 3.13.0-63-generic kernel headers.
Would you like to change it? [no] 

Using kernel build system.
make: ディレクトリ `/tmp/modconfig-egp2TO/vmhgfs-only' に入ります
/usr/bin/make -C /lib/modules/3.13.0-63-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' に入ります
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-egp2TO/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-egp2TO/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-egp2TO/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-egp2TO/vmhgfs-only/vmhgfs.ko
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' から出ます
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/modconfig-egp2TO/vmhgfs-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/modconfig-egp2TO/vmhgfs-only' から出ます
cp -f vmhgfs.ko ./../vmhgfs.o
make: ディレクトリ `/tmp/modconfig-egp2TO/vmhgfs-only' から出ます

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] 

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.13.0-63-generic
vmware-tools start/running
vmware-tools-thinprint start/running
The configuration of VMware Tools 10.0.1 build-3160059 for Linux for this 
running kernel completed successfully.

Enjoy,

--the VMware team

kohchi@ubuntu13:~/vmware-tools-distrib$ sync;sync;sync
kohchi@ubuntu13:~/vmware-tools-distrib$ sudo reboot

VMwareToolsの再インストールしてkernel-modulesだけインストール

リブート後ログインしてUbuntuでコピーしてMacOS Xでペーストしてみたけどうまくいかず。
http://kledgeb.blogspot.jp/2015/09/ubuntu-vmware-workstation-player-2.html を見ると以下の質問でデフォルト[no]として答えていたのでカーネルモジュールを自動的にインストールしていないみたいなので再度インストール。

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

kohchi@ubuntu13:~/vmware-tools-distrib$ sudo ./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] 

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for vmware-tools

vmware-tools stop/waiting
Stopping services for vmware-tools-thinprint

vmware-tools-thinprint stop/waiting
The removal of VMware Tools 10.0.1 build-3160059 for Linux completed 
successfully.

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] 

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.1 build-3160059 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? [yes] 

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? [yes] 


Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.13.0-63-generic/build/include".
The path "/lib/modules/3.13.0-63-generic/build/include" appears to be a valid 
path to the 3.13.0-63-generic kernel headers.
Would you like to change it? [no] 

Using kernel build system.
make: ディレクトリ `/tmp/modconfig-OknHE6/vmhgfs-only' に入ります
/usr/bin/make -C /lib/modules/3.13.0-63-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' に入ります
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-OknHE6/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-OknHE6/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-OknHE6/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-OknHE6/vmhgfs-only/vmhgfs.ko
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' から出ます
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/modconfig-OknHE6/vmhgfs-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/modconfig-OknHE6/vmhgfs-only' から出ます
cp -f vmhgfs.ko ./../vmhgfs.o
make: ディレクトリ `/tmp/modconfig-OknHE6/vmhgfs-only' から出ます

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] yes

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.13.0-63-generic
vmware-tools start/running
vmware-tools-thinprint start/running
The configuration of VMware Tools 10.0.1 build-3160059 for Linux for this 
running kernel completed successfully.

Enjoy,

--the VMware team

kohchi@ubuntu13:~/vmware-tools-distrib$ sync;sync;sync
kohchi@ubuntu13:~/vmware-tools-distrib$ sudo reboot

open-vm-tools-desktopをインストール

リブート後同じように試してみたけどコピペできない。open-vm-tools-desktopをインストールしてからVMwareToolsを再度インストール。
なお、今回のVMwareToolsインストールでの自動的にカーネルモジュールをインストールするかどうかの質問は先ほど[yes]と答えてのでデフォルト[yes]となっていた。

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

kohchi@ubuntu13:~$ sudo apt-get install open-vm-tools-desktop
[sudo] password for kohchi: 
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
  libpostproc52 libupstart1 linux-headers-3.13.0-24
  linux-headers-3.13.0-24-generic linux-image-3.13.0-24-generic
  linux-image-3.8.0-31-generic linux-image-extra-3.13.0-24-generic
  linux-image-extra-3.8.0-31-generic
これを削除するには 'apt-get autoremove' を利用してください。
以下のパッケージが新たにインストールされます:
  open-vm-tools-desktop
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 131 個。
120 kB のアーカイブを取得する必要があります。
この操作後に追加で 447 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu/ trusty-updates/main open-vm-tools-desktop i386 2:9.4.0-1280544-5ubuntu6.2 [120 kB]
120 kB を 0秒 で取得しました (424 kB/s)   
以前に未選択のパッケージ open-vm-tools-desktop を選択しています。
(データベースを読み込んでいます ... 現在 261111 個のファイルとディレクトリがインストールされています。)
Preparing to unpack .../open-vm-tools-desktop_2%3a9.4.0-1280544-5ubuntu6.2_i386.deb ...
Unpacking open-vm-tools-desktop (2:9.4.0-1280544-5ubuntu6.2) ...
open-vm-tools-desktop (2:9.4.0-1280544-5ubuntu6.2) を設定しています ...
kohchi@ubuntu13:~$ 

kohchi@ubuntu13:~$ cd vmware-tools-distrib/
kohchi@ubuntu13:~/vmware-tools-distrib$ sudo ./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] 

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for vmware-tools

vmware-tools stop/waiting
Stopping services for vmware-tools-thinprint

vmware-tools-thinprint stop/waiting
The removal of VMware Tools 10.0.1 build-3160059 for Linux completed 
successfully.

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] 

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.1 build-3160059 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] 

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? [yes] 


Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.13.0-63-generic/build/include".
The path "/lib/modules/3.13.0-63-generic/build/include" appears to be a valid 
path to the 3.13.0-63-generic kernel headers.
Would you like to change it? [no] 

Using kernel build system.
make: ディレクトリ `/tmp/modconfig-dzVYo5/vmhgfs-only' に入ります
/usr/bin/make -C /lib/modules/3.13.0-63-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' に入ります
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-dzVYo5/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-dzVYo5/vmhgfs-only/vmhgfs.ko
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-63-generic' から出ます
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/modconfig-dzVYo5/vmhgfs-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/modconfig-dzVYo5/vmhgfs-only' から出ます
cp -f vmhgfs.ko ./../vmhgfs.o
make: ディレクトリ `/tmp/modconfig-dzVYo5/vmhgfs-only' から出ます

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?
[yes] 

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.13.0-63-generic
vmware-tools start/running
vmware-tools-thinprint start/running
The configuration of VMware Tools 10.0.1 build-3160059 for Linux for this 
running kernel completed successfully.

Enjoy,

--the VMware team

kohchi@ubuntu13:~/vmware-tools-distrib$ sync;sync;sync
kohchi@ubuntu13:~/vmware-tools-distrib$ sudo reboot

リブート後、Ubuntu上でコピーしたものをMacOS Xでペーストしてみたところうまくいった。
最初からopen-vm-tools-desktopを入れとけって話か。

VMwareFusionのCentOS6.5にVMware Toolsを再インストール(追記)

http://d.hatena.ne.jp/kazuokohchi/20150704

に書いた件の追記。
今回VMwareFusion7からVMwareFution8にアップグレードしてから、同様にCentOSVMware Toolsをインストールしようとしたら、以下のように「VMware Toolsの再インストール」のメニューがなかった(「VMware Toolsのインストール」がグレイアウトという状態)。

試しに一度、CentOSをshutdownして再度起動したところ表示された。。。。

あとは以前書いたとおり、「VMware Toolsの再インストール」を選択後、マウントされたことを確認してインストールスクリプトを実行して完了。

$ df
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      18134344 7080440  10132716  42% /
tmpfs                   953272      80    953192   1% /dev/shm
/dev/sda1               495844  126913    343331  27% /boot
/dev/sr0                 71704   71704         0 100% /media/VMware Tools
$ cd /media/VMware\ Tools/
$ ls
VMwareTools-10.0.1-3160059.tar.gz  vmware-tools-upgrader-32
manifest.txt                       vmware-tools-upgrader-64
run_upgrader.sh
$ pwd
/media/VMware Tools
$ ls -l
合計 71352
-r--r--r-- 1 kohchi kohchi 71613955 1019 04:34 2015 VMwareTools-10.0.1-3160059.tar.gz
-r-xr-xr-x 1 kohchi kohchi     1994 1019 04:33 2015 manifest.txt
-r-xr-xr-x 1 kohchi kohchi     1850 1019 04:15 2015 run_upgrader.sh
-r-xr-xr-x 1 kohchi kohchi   687524 1019 04:17 2015 vmware-tools-upgrader-32
-r-xr-xr-x 1 kohchi kohchi   757944 1019 04:20 2015 vmware-tools-upgrader-64
$ cp -ip VMwareTools-10.0.1-3160059.tar.gz /tmp
$ cd /tmp
$ zcat VMwareTools-10.0.1-3160059.tar.gz | tar xf -
$ cd vmware-tools-distrib/
$ su
パスワード:
# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
   Common Agent:                                           [  OK  ]
   VGAuthService:                                          [  OK  ]
   VMware User Agent (vmware-user):                        [  OK  ]
   Blocking file system:                                   [  OK  ]
   Unmounting HGFS shares:                                 [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   VM communication interface socket family:               [  OK  ]
   VM communication interface:                             [  OK  ]

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done

This program previously created the directory 
/var/lib/vmware-caf/pme/data/input, and was about to remove it. Since there are
files in that directory that this program did not create, it will not be 
removed.

This program previously created the directory /var/lib/vmware-caf/pme/data, and
was about to remove it. Since there are files in that directory that this 
program did not create, it will not be removed.

This program previously created the directory /usr/lib/vmware-caf/pme/bin, and 
was about to remove it. Since there are files in that directory that this 
program did not create, it will not be removed.

This program previously created the directory /etc/vmware-caf/pme/config, and 
was about to remove it. Since there are files in that directory that this 
program did not create, it will not be removed.

This program previously created the directory /usr/lib/vmware-caf/pme, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /var/lib/vmware-caf/pme, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /var/lib/vmware-caf, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /usr/lib/vmware-caf, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /etc/vmware-caf/pme, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /etc/vmware-caf, and was about to
remove it. Since there are files in that directory that this program did not 
create, it will not be removed.

File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.7.

The removal of VMware Tools 10.0.1 build-3160059 for Linux completed 
successfully.

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/rc.d] 

What is the directory that contains the init scripts? 
[/etc/rc.d/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] 

In which directory do you want to install the common agent library files? 
[/usr/lib] 

In which directory do you want to install the common agent transient files? 
[/var/lib] 

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.1 build-3160059 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] 

Initializing...


Making sure services for VMware Tools are stopped.

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done
Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
   Common Agent:                                           [  OK  ]
   VGAuthService:                                          [  OK  ]
   VMware User Agent (vmware-user):                        [  OK  ]
   Blocking file system:                                   [  OK  ]
   Unmounting HGFS shares:                                 [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   VM communication interface socket family:               [  OK  ]
   VM communication interface:                             [  OK  ]


Found a compatible pre-built module for vmci.  Installing it...


Found a compatible pre-built module for vsock.  Installing it...


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? [yes] 

Found a compatible pre-built module for vmhgfs.  Installing it...


Found a compatible pre-built module for vmxnet.  Installing it...


The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] 

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] 

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 


Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 
if you want to enable Common Agent (caf). [yes] 

Do you want to enable Common Agent (caf)? [yes] 



Detected X server version 1.13.0



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.

NOTE: both /etc/vmware-tools/GuestProxyData/server/key.pem and 
      /etc/vmware-tools/GuestProxyData/server/cert.pem already exist.
      They are not generated again. To regenerate them by force,
      use the "vmware-guestproxycerttool -g -f" command.

   Starting Virtual Printing daemon:                                   done
   Checking acpi hot plug                                  [  OK  ]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [  OK  ]
   VM communication interface:                             [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   Mounting HGFS shares:                                   [失敗]
   Blocking file system:                                   [  OK  ]
   VMware User Agent:                                      [  OK  ]
   Guest operating system daemon:                          [  OK  ]
   VGAuthService:                                          [  OK  ]
   Common Agent:                                           [  OK  ]
The configuration of VMware Tools 10.0.1 build-3160059 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device 
/dev/sr0 ...
# df
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      18134344 6840244  10372912  40% /
tmpfs                   953272     232    953040   1% /dev/shm
/dev/sda1               495844  126912    343332  27% /boot
# 

wgetでhttpsを使ってファイルを取得

以下を参考にして証明書無視してwgethttps経由でダウンロードできた。

http://pentan.info/server/linux/wget_error_ssl.html

というのはwordpressのモノは以前はhttpでダウンロードできていたのに、4.3になってからhttpでダウンロードしようとするとhttpsにフォワードしてくれてエラーとなるようだ。

$ wget http://ja.wordpress.org/wordpress-4.3-ja.zip
--2015-08-30 09:38:36--  http://ja.wordpress.org/wordpress-4.3-ja.zip
Resolving ja.wordpress.org... 66.155.40.250, 66.155.40.249
Connecting to ja.wordpress.org|66.155.40.250|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://ja.wordpress.org/wordpress-4.3-ja.zip [following]
--2015-08-30 09:38:37--  https://ja.wordpress.org/wordpress-4.3-ja.zip
Connecting to ja.wordpress.org|66.155.40.250|:443... connected.
ERROR: The certificate of ‘ja.wordpress.org’ is not trusted.
ERROR: The certificate of ‘ja.wordpress.org’ hasn't got a known issuer.
$ wget --no-check-certificate https://ja.wordpress.org/wordpress-4.3-ja.zip
--2015-08-30 09:39:44--  https://ja.wordpress.org/wordpress-4.3-ja.zip
Resolving ja.wordpress.org... 66.155.40.250, 66.155.40.249
Connecting to ja.wordpress.org|66.155.40.250|:443... connected.
WARNING: The certificate of ‘ja.wordpress.org’ is not trusted.
WARNING: The certificate of ‘ja.wordpress.org’ hasn't got a known issuer.
HTTP request sent, awaiting response... 200 OK
Length: 7579949 (7.2M) [application/zip]
Saving to: ‘wordpress-4.3-ja.zip’

wordpress-4.3-ja.zi 100%[=====================>]   7.23M   368KB/s   in 24s    

2015-08-30 09:40:09 (313 KB/s) - ‘wordpress-4.3-ja.zip’ saved [7579949/7579949]

$ md5sum wordpress-4.3-ja.zip 
83c8eb427c21f30aaab1cba73f0d98d9  wordpress-4.3-ja.zip
$

証明書確認なしなので、一応md5を確認して完了とした。

VMware FusionのWindows上で任意のファイル・フォルダを複数選択するには

Windows上での任意複数選択(CTRL+クリック)がMacOS XVMware Fusion上ではできない件。Shift+クリックでまとめて選択はできるけど、任意のファイルを複数選択ってことはできないので意外に不便。これは以下のようにして変更できる。

1. プロファイルを確認

[仮想マシン]->[設定]から[キーボードとマウス]を選択。

使用しているプロファイルを確認する。

2. 環境設定を変更

[VMware Fusion]->[環境設定]を選択し、[キーボードとマウス]を選択する。[キーボードとマウスのプロファイル]で確認したプロファイルに設定し、[副ボタン]のチェックをはずす。

使っているマシンは右クリックが付いているのでいいんだけれどApple純正のマウスやトラックパッドのときは却って右クリックがないので不便かもしれない。

参照サイトは以下

http://www.softantenna.com/wp/mac/ctrl-select-windows-on-vmware-fusion/

HTMLでの外部リソース指定にプロトコルがいらない件

以下の記事を見て省略できるってことを知り驚いた。

http://detarame.moo.jp/2012/08/07/google%E3%81%8C%E6%8E%A8%E8%96%A6%E3%81%99%E3%82%8Bhtml%E3%81%A8css%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E6%96%B9%E6%B3%95/
http://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml

Google HTML/CSS Style Guideの[Protocol]の[Omit the protocol from embedded resources.]の箇所。

<!-- Not recommended -->
<script src="http://www.google.com/js/gweb/analytics/autotrack.js"></script>
<!-- Recommended -->
<script src="//www.google.com/js/gweb/analytics/autotrack.js"></script>
/* Not recommended */
.example {
  background: url(http://www.google.com/images/example);
}
/* Recommended */
.example {
  background: url(//www.google.com/images/example);
}

マジか。httpからhttpsへの変更、またはその逆で以前修正していたことを思い出しちょっと悲しくなった。
上記リンクではその他にも有能なtipsが載っている。

VMware Fustion7上のCentOS6.5にVMware Toolsを再インストール

VMware FusionをアップグレードしてからCentOSを起動していなかったのでVMware Toolsを再インストールしていなかった。そのため、ホストOSとゲストOS間でのコピペがうまくいかない(これが一番痛い)ので再インストールを実施。

1. メニューの[仮想マシン]の[VMware Toolsの再インストール]を選択。

2. ダイアログがでてくるので[インストール]をクリック。

3. メニューの[仮想マシン]では[VMware Toolsのインストールをキャンセル]となっている。

4. /media/VMware Toolsにマウントされるので、あとは解凍して実行する。質問はすべてデフォルト。

$ df
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      18134344 6798704  10414452  40% /
tmpfs                   953272     232    953040   1% /dev/shm
/dev/sda1               495844  126912    343332  27% /boot
/dev/sr0                 62490   62490         0 100% /media/VMware Tools
$ pwd
/media/VMware Tools
$ ls -l
合計 62139
-r--r--r-- 1 kohchi kohchi 62183192  523 06:44 2015 VMwareTools-9.9.3-2759765.tar.gz
-r-xr-xr-x 1 kohchi kohchi     1959  523 06:43 2015 manifest.txt
-r--r--r-- 1 kohchi kohchi     1850  523 06:41 2015 run_upgrader.sh
-r-xr-xr-x 1 kohchi kohchi   683620  523 06:42 2015 vmware-tools-upgrader-32
-r-xr-xr-x 1 kohchi kohchi   758168  523 06:42 2015 vmware-tools-upgrader-64
$ cp -ip VMwareTools-9.9.3-2759765.tar.gz /tmp
$ cd /tmp
$ zcat VMwareTools-9.9.3-2759765.tar.gz | tar xvf -
解凍したファイルが表示
....
$ cd vmware-tools-distrib/
$ su
# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
   VMware User Agent (vmware-user):                        [  OK  ]
   Blocking file system:                                   [  OK  ]
   Unmounting HGFS shares:                                 [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   VM communication interface socket family:               [  OK  ]
   VM communication interface:                             [  OK  ]

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done

File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.5.

The removal of VMware Tools 9.9.3 build-2759765 for Linux completed 
successfully.

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/rc.d] 

What is the directory that contains the init scripts? 
[/etc/rc.d/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] 

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 9.9.3 build-2759765 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]

Initializing...


Making sure services for VMware Tools are stopped.

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done
Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
   VMware User Agent (vmware-user):                        [  OK  ]
   Blocking file system:                                   [  OK  ]
   Unmounting HGFS shares:                                 [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   VM communication interface socket family:               [  OK  ]
   VM communication interface:                             [  OK  ]


Found a compatible pre-built module for vmci.  Installing it...


Found a compatible pre-built module for vsock.  Installing it...


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? [yes] 

Found a compatible pre-built module for vmhgfs.  Installing it...


Found a compatible pre-built module for vmxnet.  Installing it...


The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] 

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] 

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 


Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? [yes] 



Detected X server version 1.13.0



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
   Starting Virtual Printing daemon:                                   done
   Checking acpi hot plug                                  [  OK  ]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [  OK  ]
   VM communication interface:                             [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   Mounting HGFS shares:                                   [失敗]
   Blocking file system:                                   [  OK  ]
   VMware User Agent:                                      [  OK  ]
   Guest operating system daemon:                          [  OK  ]
The configuration of VMware Tools 9.9.3 build-2759765 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

# df
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      18134344 7047724  10165432  41% /
tmpfs                   953272     232    953040   1% /dev/shm
/dev/sda1               495844  126913    343331  27% /boot
#

HGFSが失敗しているけど元々エラーだったのでとりあえず終了。

元記事は以下。

http://mawatari.jp/archives/centos-6-2-vmware-tools-install-log