目次

動作環境情報

  • OS
    CentOS 4.x
  • VMwareServer
    Ver.2.0

VMwareServerの入手

VMware社のサイトより使用するバージョン・パッケージのVMwareServerをダウンロードする。

  • ダウンロード
    VMwareServer(tar.gz)

シリアルナンバーを入手するためにはユーザ登録が必須となる。
参考用のライセンスキーは下記

製品種別: VMware Server 2 for Linux
シリアルキー: A8H01-F6HFH-U11D0-4C3JW
製品種別: VMware Server 2 for Windows
シリアルキー: A8NA5-FF445-V81D6-493A0

VMwareServerのインストール

以下にて圧縮を解除し、インストールスクリプトを実行する。

tar xfvz VMware-server-2.0.0-116503.i386.tar.gz 
cd vmware-server-distrib/
./vmware-install.pl

VMwareServerの初期設定

インストールスクリプトにより初期設定が行われる。

  • インストール先の指定
    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] 
    
    The path "/usr/lib/vmware" 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 manual files? 
    [/usr/share/man] 
    
    In which directory do you want to install the documentation files? 
    [/usr/share/doc/vmware] 
    
    The path "/usr/share/doc/vmware" does not exist currently. This program is 
    going to create it, including needed parent directories. Is this what you want?
    [yes] 
  • 初期設定実行の確認
    Before running VMware Server for the first time, you need to configure it by 
    invoking the following command: "/usr/bin/vmware-config.pl". Do you want this 
    program to invoke the command for you 2008-10-14 (火) 22:59:34 [yes] 
  • 起動中サービスが停止
    Making sure services for VMware Server are stopped.
    
    Stopping VMware autostart virtual machines:
       Virtual machines                                        [FAILED]
    Stopping VMware management services:
       VMware Virtual Infrastructure Web Access
       VMware Server Host Agent                                [FAILED]
    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 
    
    〜略〜
  • ライセンスに承諾する(yを入力)
    Do you accept? (yes/no) y
  • モジュールが読み込まれる
    The bld-2.6.9-5.EL-i686smp-RHEL4 - vmmon module loads perfectly into the 
    running kernel.
    
    The bld-2.6.9-5.EL-i686smp-RHEL4 - vmci module loads perfectly into the running
    kernel.
    
    The bld-2.6.9-5.EL-i686smp-RHEL4 - vsock module loads perfectly into the 
    running kernel.
  • 仮想ネットワークの設定(yを入力)
    Do you want networking for your virtual machines? (yes/no/help) [yes] y
  • ブリッジネットワークの使用確認
    Configuring a bridged network for vmnet0.
    
    Please specify a name for this network. 
    [Bridged] 
  • ブリッジネットワークに使うインターフェイスの変更有無(例ではeth1をvmnet0に割り当て)
    Your computer has multiple ethernet network interfaces available: eth0, eth1, 
    eth2. Which one do you want to bridge to vmnet0? [eth0] eth1
    
    The following bridged networks have been defined:
    
    . vmnet0 is bridged to eth1
  • ブリッジネットワークの更なる追加有無
    Do you wish to configure another bridged network? (yes/no) [no] 
  • NATネットワークの使用確認
    Do you want to be able to use NAT networking in your virtual machines? (yes/no)
    [yes] 
  • NATネットワークにて使用するサブネットアドレスの指定(空いているネットワークを自動検出)
    Configuring a NAT network for vmnet8.
    
    Please specify a name for this network. [NAT] 
    
    Do you want this program to probe for an unused private subnet? (yes/no/help) 
    [yes] 
    
    Probing for an unused private subnet (this can take some time)...
    
    The subnet 172.16.41.0/255.255.255.0 appears to be unused.
    The following NAT networks have been defined:
    
    . vmnet8 is a NAT network on private subnet 172.16.41.0.
  • NATネットワークの更なる追加有無
    Do you wish to configure another NAT network? (yes/no) [no] 
  • HostOnlyネットワークの使用確認
    Do you want to be able to use host-only networking in your virtual machines? 
    [yes] 
  • HostOnlyネットワークにて使用するサブネットアドレスの指定(空いているネットワークを自動検出)
    Configuring a host-only network for vmnet1.
    
    Please specify a name for this network. 
    [HostOnly] 
    
    Do you want this program to probe for an unused private subnet? (yes/no/help) 
    [yes] 
    
    Probing for an unused private subnet (this can take some time)...
    
    The subnet 192.168.172.0/255.255.255.0 appears to be unused.
    The following host-only networks have been defined:
    
    . vmnet1 is a host-only network on private subnet 192.168.172.0.
  • HostOnlyネットワークの更なる追加有無
    Do you wish to configure another host-only network? (yes/no) [no] 
  • 管理コンソール待ち受けポートの指定
    Please specify a port for remote connections to use [902] 
  • 仮想マシン登録時のアクセス権限設定
    Do you want this program to set up permissions for your registered virtual 
    machines?  This will be done by setting new permissions on all files found in 
    the "/etc/vmware/vm-list" file. [no] 
  • WebUIの待ち受けポートを指定
    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] y
    
    Please specify the user whom you wish to be the VMware Server administrator
    root
    
    Using root as the VMware Server administrator.
  • 仮想マシン保管ディレクトリの指定(ディレクトリが存在しない場合は自動作成される)
    In which directory do you want to keep your virtual machine files? 
    [/var/lib/vmware/Virtual Machines] /usr/local/vmware/VirtualMachines
  • ライセンスコードの入力
    Do you want to enter a serial number 2008-10-14 (火) 22:59:34 (yes/no/help) [no] y
    Please enter your 20-character serial number.
    
    Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  A8H01-F6HFH-U11D0-4C3JW
  • VIX APIのインストール
    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.0 build-116503 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".
  • VMwareServerの起動
    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  ]
       Host-only networking on /dev/vmnet1 (background)        [  OK  ]
       DHCP server on /dev/vmnet1                              [  OK  ]
       Bridged networking on /dev/vmnet2                       [  OK  ]
       Host-only networking on /dev/vmnet8 (background)        [  OK  ]
       DHCP server on /dev/vmnet8                              [  OK  ]
       NAT service on /dev/vmnet8                              [  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.0 build-116503 for Linux for this 
    running kernel completed successfully.

VMwareServerの起動/停止

インストール段階で自動起動の設定が行われるが、手動にて起動・停止を行う場合には以下を使用する。

  • 起動
    /etc/init.d/vmware start
  • 停止
    /etc/init.d/httpd.vmware stop

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-11-24 (月) 21:19:02 (5631d)