VMware Toolsをインストール

VMWareToolsの説明を読んでいると、あんまり必要なさそうなイメージを受けますが、アレを入れることによって、使うことの出来るvmxnetはvlanceに比べて、倍以上のパフォーマンスが出るみたいですね。

ってことらしいので、インストールすることに。


CentOS 5.1をインストール完了後、rootでログイン。で、VMware Fusionのメニューの[仮想マシン]の[VMware Toolsのインストール]をクリック。するとVM上ではCD-ROMが挿入されたことになるらしく、CentOS上のデスクトップのComputerのCDROMドライブを開くと、rpmとtar.gzが見つかった。

おもむろにrpmを実行。インストールが終了しても特に何も変わらない。VMをシャットダウンして、VMware自身を起動し直しても気の利いたことを言わない。もう一回、マウントされているcdromを開いて、今度はtar.gzの方をやってみる。とりあえず/tmpにコピーして、後はターミナル。

$ tar xfv VMwareTools-7.6.3-87978.tar.gz 
$ cd vmware-tools-distrib/
$ ./vmware-install.pl

実行したら色々聞かれるけど基本デフォルトで。画面の大きさだけは小さめを選んでおいた。

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.9-67.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-53.1.21.el5 #1 SMP Tue May 20 09:34:18 EDT 2008 i686
Build Date: 19 January 2008
Build ID: xorg-x11-server 1.1.1-48.26.el5_1.5 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.2860", Time: Tue Jun  3 11:32:19 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.2860"

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   Mounting HGFS shares:                                   [FAILED]
   Guest memory manager:                                   [  OK  ]
   Guest vmxnet fast network device:                       [  OK  ]
   Blocking file system:                                   [  OK  ]
   DMA setup:                                              [  OK  ]
   Guest operating system daemon:                          [  OK  ]

The configuration of VMware Tools 7.6.3 build-87978 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 the following command: 
"/usr/bin/vmware-toolbox" during an X server session.

To use the vmxnet driver, restart networking using the following commands: 
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

To make use of the virtual printer, you will need to restart the CUPS service

If you wish to configure any experimental features, please run the following 
command: "vmware-config-tools.pl --experimental".

Enjoy,

--the VMware team

っていうメッセージが出て終了。これで出来たっぽい。