ここではVMware Workstaion 11 + CentoOS 6.6 x64版での例となります。
現在は以下のパッケージでのインストールを推奨します。
rootでログイン済という状態での説明となります。
VMware Toolsのメディアが挿入済という状態での説明となります。
「yum install -y perl」を入力します。
VMware toolsのインストーラがperlを利用するためインストールが必要です。
既にインストール済の場合インストールは不要です。
[root@centos ~]# yum install -y perl 読み込んだプラグイン:fastestmirror インストール処理の設定をしています Determining fastest mirrors * base: ftp.tsukuba.wide.ad.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp base | 3.7 kB 00:00 base/primary_db | 4.6 MB 00:17 ~ インストール: perl.x86_64 4:5.10.1-136.el6_6.1 依存性関連をインストールしました: perl-Module-Pluggable.x86_64 1:3.90-136.el6_6.1 perl-Pod-Escapes.x86_64 1:1.04-136.el6_6.1 perl-Pod-Simple.x86_64 1:3.13-136.el6_6.1 perl-libs.x86_64 4:5.10.1-136.el6_6.1 perl-version.x86_64 3:0.77-136.el6_6.1 完了しました!
「mount /dev/cdrom /mnt」を入力します。
VMware toolsのインストーラのマウントです。
マウント先を/mntとして処理していますが必要応じてマウント先を変更してください。
[root@centos ~]# mount /dev/cdrom /mnt mmount: ブロックデバイス /dev/sr0 は書き込み禁止です、読込み専用でマウントします
「cd /tmp」を入力し、「tar -xzf /mnt/VMwareTools-9.9.0-2304977.tar.gz」と入力します。
解凍先を/tmpとして処理していますが必要応じて解凍先を変更してください。
[root@centos ~]# cd /tmp [root@centos tmp]# tar -xzf /mnt/VMwareTools-9.9.0-2304977.tar.gz
「umount /mnt」と入力します。
[root@centos tmp]# umount /mnt
「cd vmware-tools-distrib/」を入力し、「./vmware-install.pl」と入力します。
[root@centos tmp]# cd vmware-tools-distrib/ [root@centos vmware-tools-distrib]# ./vmware-install.pl 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/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] 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 9.9.0 build-2304977 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. 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] Do you want to enable Guest Authentication (vgauth)? [yes] No X install found. Creating a new initrd boot image for the kernel. vmware-tools-thinprint start/running initctl: Job failed to start Unable to start services for VMware Tools Execution aborted.
「cd ..」を入力し、「rm -rf vmware-tools-distrib」と入力します。
[root@centos vmware-tools-distrib]# cd .. [root@centos tmp]# rm -rf vmware-tools-distrib [root@centos tmp]#
ページ更新日:2019/07/01