VMware社のサイトより使用するバージョン・パッケージのVMwareServerをダウンロードする。
シリアルナンバーを入手するためにはユーザ登録が必須となる。
参考用のライセンスキーは下記
製品種別: VMware Server 2 for Linux シリアルキー: A8H01-F6HFH-U11D0-4C3JW
製品種別: VMware Server 2 for Windows シリアルキー: A8NA5-FF445-V81D6-493A0
以下にて圧縮を解除し、インストールスクリプトを実行する。
tar xfvz VMware-server-2.0.0-116503.i386.tar.gz cd vmware-server-distrib/ ./vmware-install.pl
インストールスクリプトにより初期設定が行われる。
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 〜略〜
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.
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]
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]
Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes]
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.
Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines? [yes]
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.
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]
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
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".
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.
インストール段階で自動起動の設定が行われるが、手動にて起動・停止を行う場合には以下を使用する。
/etc/init.d/vmware start
/etc/init.d/httpd.vmware stop