株式会社エキスパートエンタープライズ

ページを読みこみ中・・・

VMware WorkstaionやVMware ESXi等でVMwere Tools for CentOS 7.xをインストールする手順です。 廃止予定CentOS 7.x対応

ここではVMware Workstaion 11 + CentoOS 7.0 x64版での例となります。

現在は以下のパッケージでのインストールを推奨します。

rootでログイン済という状態での説明となります。

VMware Toolsのメディアが挿入済という状態での説明となります。

 perlインストール

「yum install -y perl」を入力します。

VMware toolsのインストーラがperlを利用するためインストールが必要です。

既にインストール済の場合インストールは不要です。

[root@centos ~]# yum install -y perl
読み込んだプラグイン:fastestmirror
base                                                     | 3.6 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/4): extras/7/x86_64/primary_db                          |  35 kB   00:01
~
インストール:
  perl.x86_64 4:5.16.3-283.el7

依存性関連をインストールしました:
  perl-Carp.noarch 0:1.26-244.el7
  perl-Encode.x86_64 0:2.51-7.el7
  perl-Exporter.noarch 0:5.68-3.el7
  perl-File-Path.noarch 0:2.09-2.el7
  perl-File-Temp.noarch 0:0.23.01-3.el7
  perl-Filter.x86_64 0:1.49-3.el7
  perl-Getopt-Long.noarch 0:2.40-2.el7
  perl-HTTP-Tiny.noarch 0:0.033-3.el7
  perl-PathTools.x86_64 0:3.40-5.el7
  perl-Pod-Escapes.noarch 1:1.04-283.el7
  perl-Pod-Perldoc.noarch 0:3.20-4.el7
  perl-Pod-Simple.noarch 1:3.28-4.el7
  perl-Pod-Usage.noarch 0:1.63-3.el7
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
  perl-Socket.x86_64 0:2.010-3.el7
  perl-Storable.x86_64 0:2.45-3.el7
  perl-Text-ParseWords.noarch 0:3.29-4.el7
  perl-Time-Local.noarch 0:1.2300-2.el7
  perl-constant.noarch 0:1.27-2.el7
  perl-libs.x86_64 4:5.16.3-283.el7
  perl-macros.x86_64 4:5.16.3-283.el7
  perl-parent.noarch 1:0.225-244.el7
  perl-podlators.noarch 0:2.5.1-3.el7
  perl-threads.x86_64 0:1.87-4.el7
  perl-threads-shared.x86_64 0:1.43-6.el7

完了しました!
			


 net-toolsインストール

「yum install -y net-tools」を入力します。

VMware toolsのインストーラがifconfigを利用するためインストールが必要です。

既にインストール済の場合インストールは不要です。

[root@centos ~]# yum install -y net-tools
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nus.edu.sg
 * extras: mirror.nus.edu.sg
 * updates: mirror.vastspace.net
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ net-tools.x86_64 0:2.0-0.17.20131004git.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

================================================================================
 Package         アーキテクチャー
                              バージョン                       リポジトリー
                                                                           容量
================================================================================
インストール中:
 net-tools       x86_64       2.0-0.17.20131004git.el7         base       304 k

トランザクションの要約
================================================================================
インストール  1 パッケージ

総ダウンロード容量: 304 k
インストール容量: 917 k
Downloading packages:
net-tools-2.0-0.17.20131004git.el7.x86_64.rpm              | 304 kB   00:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : net-tools-2.0-0.17.20131004git.el7.x86_64       1/1
  検証中                  : net-tools-2.0-0.17.20131004git.el7.x86_64       1/1

インストール:
  net-tools.x86_64 0:2.0-0.17.20131004git.el7

完了しました!
			


 ディスク マウント

「mount /dev/cdrom /mnt」を入力します。

VMware toolsのインストーラのマウントです。

マウント先を/mntとして処理していますが必要応じてマウント先を変更してください。

[root@centos ~]# mount /dev/cdrom /mnt
mount: /dev/sr0 is write-protected, mounting read-only
			


 ファイル解凍

「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.

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done
Stopping vmware-tools (via systemctl):                     [  OK  ]


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]

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


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)

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]

NOTICE:  It appears your system does not have the required fuse packages
installed.  The VMware blocking filesystem requires the fuse packages and its
libraries to function properly.  Please install the fuse or fuse-utils package
using your systems package management utility and re-run this script in order
to enable the VMware blocking filesystem.

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.
   Starting Virtual Printing daemon:                                   done
Starting vmware-tools (via systemctl):                     [  OK  ]
The configuration of VMware Tools 9.9.0 build-2304977 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
			


 インストーラー削除

「cd ..」を入力し、「rm -rf vmware-tools-distrib」と入力します。

[root@centos vmware-tools-distrib]# cd ..
[root@centos tmp]# rm -rf vmware-tools-distrib
[root@centos tmp]#
			


 完了



 CentOS 6.x/ CentOS 7.x セットアップ記録 各種設定 SSHクライアントキー生成 SSH自動ログイン設定 ホスト名設定 日本語ロケール設定 日本タイムゾーン設定 VMwere Tools for CentOS 6.x インストール方法 廃止予定 VMwere Tools for CentOS 7.x インストール方法 廃止予定 Open VM Tools for CentOS 6.x インストール方法 Open VM Tools for CentOS 7.x インストール方法 インストール済RPM・OSの一括アップデート方法 yumにてミラーを日本サイトのみにフィルタする方法 NFSクライアント設定方法 yum リポジトリ設定 EPEL リポジトリ設定 更新 IUS リポジトリ設定 nginx リポジトリ設定 Remi's リポジトリ設定 The Software Collections ( SCL ) リポジトリ設定 ZFS on Linux リポジトリ設定 OS インストール CentOS 6.x インストール方法 CentOS 7.x インストール方法 インストール Python pip インストール node.js 0.x系 インストール node.js 5.x系 インストール rsync インストール Ansible インストール whois インストール for CentOS 6.x whois インストール for CentOS 7.x PHP 5.4インストール for CentOS 6.x ルートキットチェックツール ZFS on Linux インストール 更新 各利用方法 whois コマンド 使い方 shutdown コマンド 使い方 ZFS利用方法 ZFSプール作成方法 ZFS領域作成方法 ZFSマウント先設定方法 ZFS重複排除設定方法 ZFS圧縮設定方法 Tips ホスト名情報表示 インストールOSバージョン情報表示
広告

Facebookも情報発信中!
広告