Debian 4.0
Sponsored Link

VMware Server インストール
2008/08/24
  VMware Server を導入してみます。

[1] まずは Vmware Server に必要な xinetd をインストールします。
ns:~#
aptitude -y install xinetd
[2] VMware Server のインストールです。 Vmwareのサイトより 最新版を確認し、ダウンロードしてインストールします。しかし、この Fedora 7 ではカーネルのバージョンが新しい関係で、このバージョンの VMware Server は対応していないようで、 そのままではインストールできないため、パッチを当ててインストールすることになります。 また、事前にこちらにて シリアルナンバーの登録もしておく必要があります。インストール中にそれを求められます。
ns:~#
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz

ns:~#
tar zxvf VMware-server-1.0.4-56528.tar.gz

ns:~#
cd vmware-server-distrib

ns:~/vmware-server-distrib#
./vmware-install.pl

Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
# 空Enter


What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
# 空Enter


What is the directory that contains the init scripts?
[/etc/init.d]
# 空Enter


In which directory do you want to install the daemon files?
[/usr/sbin]
# 空Enter


In which directory do you want to install the library files?
[/usr/lib/vmware]
# 空Enter


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]
# 空Enter


In which directory do you want to install the manual files?
[/usr/share/man]
# 空Enter


In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]  
# 空Enter


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]
# 空Enter


The installation of VMware Server 1.0.4 build-56528 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.pl".

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 now?
[yes]
# 空Enter


Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor       done

You must read and accept the End User License Agreement to continue.
Press enter to display it. =>Enter
~~~ライセンス条件がズラズラ出る~~~
Do you accept? (yes/no)
yes


Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]
# 空Enter


What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]  
# 空Enter


In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
# 空Enter


desktop-file-install created an invalid desktop file!
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
Trying to find a suitable vmmon module for your running kernel.

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]
# 空Enter


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.18-4-686/build/include]  
# 空Enter


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-4-686/build/include/.. SUBDIRS= SRCROOT=/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
  CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.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/linux-headers-2.6.18-4-686'
cp -f vmmon.ko ./../vmmon.o
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]
# 空Enter


Configuring a bridged network for vmnet0.

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
# 'no'でNATにしない


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


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.18-4-686/build/include/.. SUBDIRS= SRCROOT=/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
  CC [M] /tmp/vmware-config0/vmnet-only/driver.o
  CC [M] /tmp/vmware-config0/vmnet-only/hub.o
  CC [M] /tmp/vmware-config0/vmnet-only/userif.o
  CC [M] /tmp/vmware-config0/vmnet-only/netif.o
  CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
  SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.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/linux-headers-2.6.18-4-686'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Please specify a port for remote console connections to use
[902]
# 空Enter


Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
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]  
# 空Enter


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]
# 空Enter


Please enter your 20-character serial number.

# シリアルナンバー入力

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


Starting VMware services:
  Virtual machine monitor
done

  Virtual ethernet
done

  Bridged networking on /dev/vmnet0
done


The configuration of VMware Server 1.0.4 build-56528 for Linux for this running
kernel completed successfully.
関連コンテンツ