VMware-tools 인스톨 과정

2010. 2. 23. 17:3799. 정리전 - IT/29. IT 잡동지식

ESXi 3.5 Update4の場合の流れです。

VMware Toolsを導入するための準備をします。

# yum -y install gcc
# yum -y install kernel-devel.i686

ゲストOSのメニューから仮想マシン→VMware Toolsのインストール/アップグレード
cent24

VMware ToolsのCDイメージをマウント

# mount /dev/cdrom /mnt

rpmパッケージをインストール

# rpm -ivh /mnt/VMwareTools-3.5.0-153875.i386.rpm

CDイメージをアンマウント

# umount /mnt

※ 마운트에 있는 파일이 tar.gz형식이면 데스크탑에 복사하여
압축풀고 아래와 같이 실행한다

[root@localhost Desktop]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ls -al
合計 548
drwxr-xr-x  7 root root   4096  1月 23 10:25 .
drwx------  4 root root   4096  2月 23 17:10 ..
-r--r--r--  1 root root 526061  1月 23 10:25 FILES
lrwxrwxrwx  1 root root     13  2月 23 17:10 INSTALL -> ./doc/INSTALL
drwxr-xr-x  2 root root   4096  1月 23 10:25 bin
drwxr-xr-x  2 root root   4096  1月 23 10:25 doc
drwxr-xr-x  3 root root   4096  1月 23 10:25 etc
drwxr-xr-x  2 root root   4096  1月 23 10:25 installer
drwxr-xr-x 17 root root   4096  1月 23 10:25 lib
lrwxrwxrwx  1 root root     31  2月 23 17:10 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# ./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] yes

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Skipping VMware Tools services shutdown on the host:[  OK  ]

The removal of VMware Tools 8.1.3 build-203739 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]

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] 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 8.1.4 build-227600 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...


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                   [  OK  ]
   Virtual Printing daemon:                         [  OK  ]
   Unmounting HGFS shares:                          [  OK  ]
   Guest filesystem driver:                         [  OK  ]


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


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


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


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


[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] yes

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


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


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


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


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




Detected X.org version 7.1.


Host resolution detected as "1280 x 1024".


Please choose one of the following display sizes that X will start with:

[1]  "320x200"
[2]  "320x240"
[3]  "400x300"
[4]  "512x384"
[5]  "640x400"
[6]  "640x480"
[7]  "720x480"
[8]  "800x480"
[9]  "854x480"
[10]  "720x576"
[11]  "800x600"
[12]  "1024x768"
[13]  "1280x720"
[14]  "1280x768"
[15]< "1152x864"
Please enter a number between 1 and 15:

[15] 15


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.18-128.1.10.el5PAE i686 Red Hat, Inc.
Current Operating System: Linux localhost 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:39:04 EST 2010 i686
Build Date: 05 January 2010
Build ID: xorg-x11-server 1.1.1-48.67.el5_4.1
        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.6005", Time: Tue Feb 23 17:30:37 2010
(++) Using config file: "/tmp/vmware-config0/XF86Config.6005"

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
   Checking acpi hot plug                           [  OK  ]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                [  OK  ]
   Paravirtual SCSI module:                         [  OK  ]
   Guest filesystem driver:                         [  OK  ]
   Mounting HGFS shares:                            [失敗]
   Guest memory manager:                            [  OK  ]
   Guest vmxnet fast network device:                [  OK  ]
   VM communication interface:                      [  OK  ]
   VM communication interface socket family:        [  OK  ]
   Blocking file system:                            [  OK  ]
   File system sync driver:                         [  OK  ]
   Guest operating system daemon:                   [  OK  ]
   Virtual Printing daemon:                         [  OK  ]

The configuration of VMware Tools 8.1.4 build-227600 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 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.

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

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/hdc ...
[root@localhost vmware-tools-distrib]#