VMWare 5.5在安裝上已經相當方便了...
而且現在還除了Tarball版之外也提供了RPM版本的安裝....
安裝起來可以說是非常輕鬆也很少有問題出現了....

取得VMWare各版本可以到這裡下載

安裝VMWare:
RPM版只需要執行:
rpm -ivh VMware-workstation-5.5.0-18463.i386.rpm
待#號跑至100%即完成安裝

Tarball版:
先解開tar檔:
tar zxvf VMware-workstation-5.5.0-18463.tar.gz
解開後會出現"vmware-distrib"目錄

進入vmware-distrib:
cd vmware-distrib
執行安裝檔:
./vmware-install.pl
即開始編譯並安裝

以上步聚即完成VMWare的安裝

設定VMWare:
RPM版本安裝完後並不會直接進入設定模式...
需先至:/usr/bin 目錄執行設定程式:
/usr/bin/vmware-config.pl
即開始執行VMWare設定

Tarball版在安裝完成後即會自動進入設定模式

You must read and accept the End User License Agreement tocontinue.

Press enter to display it.
鍵入Enter閱讀完License後(鍵入"q")即可離開

Do you accept? (yes/no)
鍵入"yes"

Thank you.

設定GTK+ 2.4:
Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime typeicons?
[/usr/share/icons]

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

In which directory do you want to install the application'sicon?
[/usr/share/pixmaps]

以上所有設定都依照[ ]內之預設值輸入即可

Trying to find a suitable vmmon module for your runningkernel.

The module up-2.6.5-797-SuSE-SLES9 loads perfectly in the runningkernel.

看到以上訊息後GTK+ 2.4即設定完成...

設定虛擬網卡vmnet:
Do you want networking for your virtual machines? (yes/no/help)[yes]
這是是詢問是否要讓virtual machine建立連線
鍵入"yes"

. vmnet0 is bridged to eth0
VMWare會自動將虛擬網卡mvnet0橋接至實體網卡上(此例為eth0),鍵入:"q"即可離開

Do you want to be able to use NAT networking in your virtualmachines? (yes/no)
[yes]
這裡是詢問是否要在virtual machine中開啟NAT模式
鍵入"yes"

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet?(yes/no/help)
[yes]
這裡是詢問是否要讓程式自行尋找未使用的私人網段
鍵入"yes"

Probing for an unused private subnet (this can take sometime)...

The subnet 172.16.140.0/255.255.255.0 appears to be unused.

This system appears to have a DHCP server configured for normaluse. Beware that you should teach it how not to interfere withVMware Workstation's DHCP server. There are two ways to dothis:

1) Modify the file /etc/dhcpd.conf to add something like:

subnet 172.16.140.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with thissubnet.
}

2) Start your DHCP server with an explicit list of networkinterfaces to deal
with (leaving out vmnet8). e.g.:

dhcpd eth0

Consult the dhcpd(8) and dhcpd.conf(5) manual pages fordetails.

Hit enter to continue.
上面的說明是如果virtual machine的DHCPServer和本機的DHCP Server發生衝突時的說明檔
鍵入"enter"繼續

. vmnet8 is a NAT network on private subnet 172.16.140.0.
出現以上訊息即表示vmnet8設定完成,鍵入"q"離開

Do you wish to configure another NAT network? (yes/no) [no]
這裡是詢問是否要設定另一個NAT網路
鍵入"no"

Do you want to be able to use host-only networking in your virtualmachines?
[yes]
這裡是詢問是不要使用host-only模式(這裡可自己決定是否使用host-only模式)
鍵入yes

Trying to find a suitable vmnet module for your runningkernel.

The module up-2.6.5-797-SuSE-SLES9 loads perfectly in the runningkernel.

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done


The configuration of VMware Workstation 5.5.0 build-18463 for Linuxfor this running kernel completed successfully.

You can now run VMware Workstation by invoking the followingcommand:
"/usr/bin/vmware".

Enjoy,

--the VMware team
看到以上訊息即完成了vmnet的設定

執行VMWare:
文字模式:
鍵入:/usr/bin/vmware 即可

圖型模式:
點選:K選單\System\More Programs\VMware Workstation 即可

vmnet可分為三種模式:

Bridge:
是將vmnet0橋接在本機上的網卡上,在實體網路上需要分配一個IP給virtualmachine.

NAT:
NAT模式virtual machine會開啟virtual DHCPServer指定的網卡為vmnet8,而virtualmachine也就經由此虛擬網卡與本機電腦進行溝通

Host Only:
HostOnly模式和NAT一樣也會多出一張虛擬網卡vmnet1和NAT模式不一樣的地方是在此模式時VMWare不會為virtualmachine做NAT的動作,所以virtualmachine只能和本機電腦連結,但無法連結至Internet.


This work is licensed under a Creative Commons Attribution-Share Alike 2.5 Taiwan License. [本文採 cc-by-sa 授權,白話意思就是可以直接轉走,但是要附出處與作者)] 

Creative Commons License



小必 發表在 痞客邦 PIXNET 留言(0) 人氣()