VMWare Sever2.x のインストール

更新日2010-01-07 (木) 16:06:17

インストール

VMWareのサイトhttp://www.vmware.com/jp/products/server/あたりから登録後DL。登録終了後メールに連絡が来るのでそのURLをアクセスしてライセンス番号を取得。

rpmでまずインストール

# rpm -ivh VMware-server-2.0.2-203138.i386.rpm

設定

Vine4.2では/usr/bin/vmware-config.plを実行中シリアルNoのところで以下のようなエラーで進まない。

The path "/var/lib/vmware/Virtual Machines" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes]

NOT_REACHED /build/mts/release/bora-203138/bora/lib/unicode/unicodeSimpleTypes.c:2315
NOT_REACHED /build/mts/release/bora-203138/bora/lib/unicode/unicodeSimpleTypes.c:2315
Panic loop
Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  *****-*****-*****-*****

NOT_REACHED /build/mts/release/bora-203138/bora/lib/unicode/unicodeSimpleTypes.c:2315
NOT_REACHED /build/mts/release/bora-203138/bora/lib/unicode/unicodeSimpleTypes.c:2315
Panic loop
The serial number A0M61-F0QA7-U9PDH-42JUH is invalid.

Please enter your 20-character serial number.

重要

Vine4.2のロケーションはEUCなのでうまく動作しないそこでUTF-8に変更

/etc/sysconfig/i18nを以下のように変更する(システムのロケーション設定の変更)

LANG="ja_JP.UTF-8"  <== 変更
SUPPORTED="ja_JP.UTF-8:ja_JP:ja" <==変更
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"

その後XWindowを再起動(ctrl+alt+backspace)

その後以下のようにvmware-config.plで環境設定後は

ロケーションをEUCに戻す

LANG="ja_JP.eucJP"
SUPPORTED="ja_JP.eucJP:ja_JP:ja"

ただし、この状態で /etc/rc.d/init.d/vmware restartではうまく動作しないが、リブートでは動くようだ。

環境設定

# /usr/bin/vmware-config.pl

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                        [ 失敗 ]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                [ 失敗 ]
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   Virtual machine monitor                                 [  OK  ]

You must read and accept the End User License Agreement to continue.
Press enter to display it.

NOTICE:  BY DOWNLOADING AND INSTALLING, COPYING OR OTHERWISE USING THE
SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS VMWARE MASTER END
USER LICENSE AGREEMENT ("EULA").  IF YOU DO NOT AGREE TO THE TERMS OF
THIS EULA, YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THE SOFTWARE, AND

(略)

1.2     "GPL Software" means GPL software licensed to you under the GNU
General Public License as published by the Free Software Foundation
(GPL).  A copy of the GPL is included on the media on which you
received the Software or included in the files you downloaded, if
you acquired the Software by electronic download.

1.3     "Guest Operating Systems" means instances of third-party operating
systems licensed by you and installed in a Virtual Machine and run

Do you accept? (yes/no) yes

Thank you.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running 
kernel? [/lib/modules/2.6.16-76.37vl4/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.16-76.37vl4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/driverLog.o

(略)
 CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
 LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
 Building modules, stage 2.
 MODPOST
 CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
 LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The vmmon module loads perfectly into the running kernel.

None of the pre-built vmci modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmci module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmci-only'
make -C /lib/modules/2.6.16-76.37vl4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
 CC [M]  /tmp/vmware-config0/vmci-only/linux/driver.o

(略)
 CC [M]  /tmp/vmware-config0/vmci-only/common/vmciResource.o
 LD [M]  /tmp/vmware-config0/vmci-only/vmci.o
 Building modules, stage 2.
 MODPOST
 CC      /tmp/vmware-config0/vmci-only/vmci.mod.o
 LD [M]  /tmp/vmware-config0/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/vmware-config0/vmci-only'
The vmci module loads perfectly into the running kernel.

None of the pre-built vsock modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vsock module.

Building the vsock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vsock-only'
make -C /lib/modules/2.6.16-76.37vl4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
 CC [M]  /tmp/vmware-config0/vsock-only/linux/af_vsock.o
 CC [M]  /tmp/vmware-config0/vsock-only/linux/driverLog.o
 CC [M]  /tmp/vmware-config0/vsock-only/linux/util.o
 CC [M]  /tmp/vmware-config0/vsock-only/linux/vsockAddr.o
 LD [M]  /tmp/vmware-config0/vsock-only/vsock.o
 Building modules, stage 2.
 MODPOST
*** Warning: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
*** Warning: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
*** Warning: "VMCI_GetContextID" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
*** Warning: "VMCIDatagram_Send" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
 CC      /tmp/vmware-config0/vsock-only/vsock.mod.o
 LD [M]  /tmp/vmware-config0/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config0/vsock-only'
The vsock module loads perfectly into the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]

Configuring a bridged network for vmnet0.

Please specify a name for this network.
[Bridged]

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no
[yes] no <= NATは使用しないので「no」

Do you want to be able to use host-only networking in your virtual machines?
[no]

None of the pre-built vmnet modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmnet module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.16-76.37vl4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
 CC [M]  /tmp/vmware-config0/vmnet-only/driver.o

(略)

 CC [M]  /tmp/vmware-config0/vmnet-only/vnetUserListener.o
 LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
 Building modules, stage 2.
 MODPOST
 CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
 LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.16-76.37vl4-i686'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The vmnet module loads perfectly into the running kernel.

Please specify a port for remote connections to use [902]

Please specify a port for standard http connections to use [8222]

Please specify a port for secure http (https) connections to use [8333]

The current administrative user for VMware Server  is ''.  Would you like to
specify a different administrator? [no]

Using root as the VMware Server administrator.

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

The path "/var/lib/vmware/Virtual Machines" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes]

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  *****-*****-*****-*****

Creating a new VMware VIX API installer database using the tar4 format.

Installing VMware VIX API.

In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]

In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]

The path "/usr/lib/vmware-vix/lib" 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 VMware VIX API document pages?
[/usr/share/doc/vmware-vix]

The path "/usr/share/doc/vmware-vix" 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 VIX API 1.6.2 build-203138 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-vix.pl".

Enjoy,

--the VMware team

Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual machine communication interface                 [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   VMware Server Authentication Daemon (background)        [  OK  ]
   Shared Memory Available                                 [  OK  ]
Starting VMware management services:
   VMware Server Host Agent (background)                   [  OK  ]
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                        [  OK  ]

The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.

GuestOSのインストール

以下のサイトにアクセスして設定を行う

https://localhost:8333/

以下のようにVirtual Machineを設定し起動するとリモートからもコンソールが利用できる。そのためにはプラグインをインストールしておく必要がある

Vine4.2のLocalHostでも同様の設定がないとコンソールが出ない、やはりロケーションがEUCだとプラグインのコンソールが動作しないので以下のようにしてブラウザを起動

# export LANG="ja_JP.UTF-8"
# export SUPPORTED="ja_JP.UTF-8:ja_JP:ja"
# firefox &

VMWare2.png

VMWare1.png

いろいろ

  • 以下のようなメッセージを消すには
    VMware Server is installed, but it has not been (correctly) configured
    for the running kernel. To (re-)configure it, invoke the
    following command: /usr/bin/vmware-config.pl.

/etc/vmware/not_configured を削除する


添付ファイル: fileVMWare2.png 175件 [詳細] fileVMWare1.png 188件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-01-07 (木) 16:06:17 (3085d)