vmware serverのインストール 合計:
昨日:
今日:
更新日:2013/4/1
<<ホームへ戻る アンインストール  


仮想マシンを構築して、CENTOS上にwindowsやcentosを構築できるようにする。実機ではなくテスト機として試すときに便利。
 
 
◆vmwareのインストール <<TOP

@CENTOS5の場合(CENTOS6は、敷居が高いためCENTOS5.7にてインストール)

vmware server をインストールする。ここからダウンロードし、ftpあるいはwinscp等でサーバに持ってくる。wgetでは、うまくいかないみたい。

[root@server ~]# rpm -Uvh VMware-server-2.0.2-203138.i386.rpm ← インストール
準備中...                ########################################### [100%]
   1:VMware-server          ########################################### [100%]

The installation of VMware Server 2.0.2 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMware-server".

Before running VMware Server for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config.pl".

Enjoy,

    --the VMware team

[root@server ~]# 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 
YOU MAY RETURN THE UNUSED SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED 
    ・
    ・ ← ライセンス情報が出てくるのでスペース押下
    ・
Software for internal or external use, promotion, review or as part of a 
solution, please apply now at http://www.vmware.com/go/distribution.   





Do you accept? (yes/no) yes ← yes応答

Thank you.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmmon module loads perfectly into the 
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - vmci module loads perfectly into the 
running kernel.

The bld-2.6.18-8.el5-i686smp-RHEL5 - 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] ← エンター押下

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] ← エンター押下(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 192.168.174.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.174.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] ← エンター押下(host-only接続の作成) 

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.155.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.155.0.

Do you wish to configure another host-only network? (yes/no) [no] ← エンター押下

The bld-2.6.18-8.el5-i686smp-RHEL5 - 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.

You have a pre-existing vmInventory.xml.  The new version will be created as 
/etc/vmware/hostd/NEW_vmInventory.xml.  Please check the new file for any new 
values that you may need to migrate to your current vmInventory.xml.

In which directory do you want to keep your virtual machine files? 
[/var/lib/vmware/Virtual Machines] ← エンター押下

You have a pre-existing datastores.xml.  The new version will be created as 
/etc/vmware/hostd/NEW_datastores.xml.  Please check the new file for any new 
values that you may need to migrate to your current datastores.xml.

Do you want to enter a serial number now? (yes/no/help) [no] yes ← ここでシリアルNOを入れる

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: A0MAR-PD881-03117-49281 ← フリーのコード

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  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   DHCP server on /dev/vmnet1                              [  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.2 build-203138 for Linux for this 
running kernel completed successfully.

[root@server ~]# /etc/rc.d/init.d/iptables stop ← iptablesはストップしておく
ファイアウォールルールを適用中:                            [  OK  ]
チェインポリシーを ACCEPT に設定中filter                   [  OK  ]
iptables モジュールを取り外し中                            [  OK  ]
[root@server ~]# 
 

 

◆VMware Server確認 <<TOP

ブラウザでhttps://サーバーIPアドレス:8333/へアクセスしてVMware Serverログイン画面が表示されることを確認

rootとパスワードを入力次の画面になる

 

 
◆仮想マシン作成 <<TOP

仮想マシンを作成してみる(windows xp)

メニュー→Virtual Machine→Create Virtual Machineの順にクリック

Next

Microsoft Windows xpを選択しNext

メモリサイズを指定して(512MB)Next

Create a New Virtual Diskをクリックする

適当なハードディスクのサイズを選ぶ(20GB)→Next

Add A Networkを選択

用途によって使い分ける、今回は、Briggedを選択し→Next

CDを物理的なものにするかISOファイルにするかの選択、この場合、物理的(つまり、内臓のCDを使用してOSをインストール)→Next

Host CD/DVD Driveの選択、デフォルトで→Next

Floppy Driveの選択、使用しないのでDon't ADD a Floppyを選択

ADD a USBを選択

Finish

 

 
◆仮想マシンにOSのインストール <<TOP

仮想マシンにOSをインストールしてみる(Windows xp Pro 32bit)

Virtual Machinesタブを選択し、DVDを挿入してパワーオン

コンソールが出てくるので、windows xp仮想マシンにインストール

 

 
 
 
 
◆アンインストール <<TOP
*rpmでインストールした場合、下記コマンドにてアンインストールが出来る
アンインストールする前に起動しているものがあれば、killコマンド等で停止させておく必要がある


# rpm -e VMware-server


*ソースからインストールした場合、下記コマンドにてアンインストールが出来る
# vmware-uninstall-mui.pl


*.bundleでインストールした場合
vmware-installer -u vmware-server
でアンインストールする 
 
 
 
<<TOP
 
 
◆広告等 <<TOP
 
 
   
TOPへ

Copyright(C) 2005-2013 arisonserver. All rights reserved.