全件表示TopRSSAdmin
スポンサーサイト
-- / -- / -- ( -- )
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。


-- : -- : -- | | page top↑
vSphere4 のゲストOSがLinux(CentOS5.4)で VMware-Toolsをインストールする方法
2010 / 03 / 24 ( Wed )
1.CentOS起動(runlevel5)

2.rootでログイン

3.vSphereClientの[CDのアイコン+スパナ]の絵をクリック

4.[データストア上のISOイメージに接続]をクリック
 参照で[\\vmimages\tools-isoimages\linux.iso]を選んで[OK]


5.次のコマンドを入力
# rpm -ivh '/media/VMware Tools/VMwareTools-4.0.0-219382.i386.rpm'
準備中... ########################################### [100%]
1:VMwareTools ########################################### [100%]

The installation of VMware Tools 4.0.0 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMwareTools".

Before running VMware Tools for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config-tools.pl".

Enjoy,

--the VMware team



6.vmware-config-tools.pl の実行

# /usr/bin/vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ OK ]
Unmounting HGFS shares: [ OK ]
Guest filesystem driver: [ OK ]
Use of uninitialized value in string at /usr/bin/vmware-config-tools.pl line 1329.
サービス vmware-tools は、chkconfig をサポートしていません。
Use of uninitialized value in string at /usr/bin/vmware-config-tools.pl line 1348.
Use of uninitialized value in string at /usr/bin/vmware-config-tools.pl line 1367.
The bld-2.6.18-8.el5-i686smp-RHEL5 - vmmemctl module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmhgfs module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmxnet module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmblock module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmci module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vsock module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmxnet3 module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - pvscsi module loads perfectly into the
running kernel.


Detected X.org version 7.1.


Please choose one of the following display sizes that X will start with (1 -
15):

[1] "640x480"
[2] "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1400x900"
[8] "1440x900"
[9] "1280x1024"
[10] "1376x1032"
[11] "1400x1050"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:

[3] 2


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-53.1.14.el5PAE i686 Red Hat, Inc.
Build Date: 03 September 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
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.3236", Time: Wed Apr 7 15:50:53 2010
(++) Using config file: "/tmp/vmware-config0/XF86Config.3236"

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Checking acpi hot plug [ OK ]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ OK ]
Paravirtual SCSI module: [ OK ]
Guest memory manager: [ OK ]
Guest vmxnet fast network device: [ OK ]
VM communication interface: [ OK ]
VM communication interface socket family: [ OK ]
Guest operating system daemon: [ OK ]

The configuration of VMware Tools 4.0.0 build-219382 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

7.解像度の変更するには、一度ログオフして、再度ログオンして、[システム]→[設定]→[画面の解像度]

8.vmnet driver を使う場合、下記のコマンドを実行

# /etc/init.d/network stop
# rmmod pcnet32
# rmmod vmxnet
# modprobe vmxnet
# /etc/init.d/network start





以上


11 : 45 : 42 | トラックバック(0) | コメント(0) | page top↑
<<YAMAHA ルータ telnet コマンドの利用許可設定 | ホーム | Linux で ディレクトリのサイズをコマンドで調べるとき。>>
コメント
コメントの投稿














管理者にだけ表示を許可する

トラックバック
トラックバックURL
http://redhatman.blog23.fc2.com/tb.php/285-274bb915
この記事にトラックバックする(FC2ブログユーザー)
| ホーム |
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。