VMware社のサイトより使用するバージョン・パッケージのVMwareServerをダウンロードする。
シリアルナンバーを入手するためにはユーザ登録が必須となる。
参考用のライセンスキーは下記
製品種別: VMware Server for Linux シリアルキー: 7AJ8J-U6Y2D-Q6M60-4368J
製品種別: VMware Server for Windows シリアルキー: 92DAE-Y694D-17430-411TJ
以下のコマンドにてRPM版をインストールする。
rpm -ivh VMware-server-1.0.7-108231.i386.rpm
以下の箇所にインストールされ、自動起動するように設定される。
以下のコマンドにて初期設定を行う。
/usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped. Stopping VMware services: Virtual machine monitor [ OK ]
You must read and accept the End User License Agreement to continue. Press enter to display it. VMWARE MASTER END USER LICENSE AGREEMENT 〜略〜
Do you accept? (yes/no) y
In which directory do you want to install the mime type icons? [/usr/share/icons] What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications] In which directory do you want to install the application's icon? [/usr/share/pixmaps]
your system (you need to have a C compiler installed on your system)? [yes] y
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18-8.el5/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.18-8.el5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernels/2.6.18-8.el5-i686' 〜中略〜 make: Leaving directory `/tmp/vmware-config0/vmmon-only' The module loads perfectly in the running kernel.
Do you want networking for your virtual machines? (yes/no/help) [yes] y
Configuring a bridged network for vmnet0. Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0] yes
The ethernet device "yes" was not detected on your system. Available ethernet devices detected on your system include eth0, eth1. Are you sure you want to use this device? (yes/no) [no] Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0] The following bridged networks have been defined: . vmnet0 is bridged to eth0
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. 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.53.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.53.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. 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.85.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 172.16.85.0.
Do you wish to configure another host-only network? (yes/no) [no]
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' 〜中略〜 The module loads perfectly in the running kernel.
The default port : 902 is not free. We have selected a suitable alternative port for VMware Server use. You may override this value now. Remember to use this port when connecting to this server. Please specify a port for remote console connections to use [904] 902 Stopping xinetd: [ OK ] Starting xinetd: [ OK ] Configuring the VMware VmPerl Scripting API. Building the VMware VmPerl Scripting API. Using compiler "/usr/bin/gcc". Use environment variable CC to override. Installing the VMware VmPerl Scripting API. The installation of the VMware VmPerl Scripting API succeeded. Generating SSL Server Certificate
In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines] /usr/local/vmware/VirtualMachines The path "/usr/local/vmware/VirtualMachines" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] yes
Please enter your 20-character serial number. Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: 7AJ8J-U6Y2D-Q6M60-4368J
Starting VMware services: Virtual machine monitor [ OK ] Virtual ethernet [ OK ] Bridged networking on /dev/vmnet0 [ OK ] Host-only networking on /dev/vmnet1 (background) [ OK ] Host-only networking on /dev/vmnet8 (background) [ OK ] NAT service on /dev/vmnet8 [ OK ] The configuration of VMware Server 1.0.5 build-80187 for Linux for this running kernel completed successfully.
tar xfvz VMware-mui-1.0.7-108231.tar.gz
cd vmware-mui-distrib ./vmware-install.pl
Creating a new installer database using the tar3 format. You must read and accept the End User License Agreement to continue. Press enter to display it. VMWARE MASTER END USER LICENSE AGREEMENT
Do you accept? (yes/no) yes
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 VMware Management Interface files? [/usr/lib/vmware-mui] The path "/usr/lib/vmware-mui" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes]
In which directory would you like to install the documentation files? [/usr/lib/vmware-mui/doc] The path "/usr/lib/vmware-mui/doc" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes]
Before running VMware Management Interface for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-mui.pl". Do you want this program to invoke the command for you 2008-04-30 (水) 02:40:38 [yes]
Configuring httpd.conf to run Apache as: User: nobody and Group: nobody
Set the number of minutes before a http session times out. (This is the length of time before someone connecting to VMware Management Interface will be logged out) [60]
Generating SSL Server Certificate Starting httpd.vmware: [ OK ] The configuration of VMware Management Interface completed successfully.
インストール段階で自動起動の設定が行われるが、手動にて起動・停止を行う場合には以下を使用する。
/etc/init.d/vmware start /etc/init.d/httpd.vmware start
/etc/init.d/httpd.vmware stop /etc/init.d/vmware stop