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

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

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

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

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

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

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

 perlインストール

「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]#
			


 完了



 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も情報発信中!
広告