VMware Toolsインストール

CentOSでのインストール方法がよくわからなくて後回しにしてましたが、ようやくできたんでまとめます(ノ∀`)

VMware Playerの[Player]タブの管理から[VMware Toolsのインストール]をクリックします。
post362-01

端末を開いたら管理者権限に切り替えて、圧縮ファイルを任意の場所(今回はホーム直下)にコピーします。
# cp /media/VMware\ Tools/VMwareTools-9.2.0-799703.tar.gz .

コピーした圧縮ファイルを展開します。
# tar zxvf VMwareTools-8.8.1-528969.tar.gz

ディレクトリを展開先のvmware-tools-distribに変更します。
# cd vmware-tools-distrib

インストールファイルを実行します。
# ./vmware-install.pl

インストール中にいくつか確認を求められますが、殆どが よくわからないのでデフォルトのままで作業を進めています。
以下、ログです。

# ./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

This program previously created the file
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pango.modules, and was about to
remove it.  Somebody else apparently did it already.

File /etc/vmware-tools/vmware-user.desktop is backed up to
/etc/vmware-tools/vmware-user.desktop.old.0.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules.old.0.

File /usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf is backed up to
/usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf.old.0.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
backed up to
/usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.0.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to
remove it.  Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangorc, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to
remove it.  Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangox.aliases, and was about to
remove it.  Somebody else apparently did it already.

This program previously created the directory
/usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0, 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-tools/lib64/libconf/etc/fonts, 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-tools/lib/libtpvmlpd2.so, and was about to remove it. Somebody
else apparently did it already.

This program previously created the directory
/usr/lib/vmware-tools/lib64/libconf/etc, 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-tools/lib/libtpvmgp.so, and was about to remove it. Somebody
else apparently did it already.

This program previously created the directory
/usr/lib/vmware-tools/lib64/libconf, 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-tools/lib64, 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-tools, 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.0.

The removal of VMware Tools 9.2.0 build-799703 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.2.0 build-799703 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  ]

The VMware FileSystem Sync Driver (vmsync) allows external third-party backup
software that is integrated with vSphere to create backups of the virtual
machine. Do you wish to enable this feature? [no]

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.  Use the flag
--clobber-kernel-modules=vmxnet3 to override.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=pvscsi to override.

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=vmmemctl to override.

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]

!!! [EXPERIMENTAL] !!!
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present.  By selecting yes,
you will be enabling this experimental feature.  You can always disable this
feature 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.

Detected X server version 1.10.6

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.2.0 build-799703 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 ...
#

インストールの最後の方で、Mounting HGFS sharesが失敗となったのですが、これはホストOSとの共有フォルダの設定らしく、今回は必要ない感じなのでこのままインストールを終了させました。

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.2.0 build-799703 for Linux for this running
kernel completed successfully.

Mounting HGFS sharesが必要であれば、VMware Playerの仮想マシン設定のオプションで、共有フォルダを有効にして共有フォルダを設定後、再度VMware Toolsをインストールしなければならないようです。
post362-02

インストール終了後にシステムを再起動して、インストール完了となります。

何というか、知識が足りない上に手順がめんどくさいので、なかなか理解しにくいのかも知れませんね。
いっぺん手順覚えちゃうとそれほど難しいものでもないと感じました。
ではまた(=゚ω゚)ノシ

この記事はいかがでしたか?
良かったらポチッとお願いします!励みになります!!