麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > FreeBSD > 正文

freebsd5.2.1上安裝vmware 3.2.1

2024-07-26 00:29:01
字體:
來源:轉載
供稿:網友
今天終于成功搞定在freebsd5.2.1上安裝vmware 3.2.1


安裝步驟如下:
1、利用packages安裝linuxbase。
sysinstall-->configure-->packages-->linux-->linuxbase 7.1_5

2、利用ports安裝vmware3
cd /usr/ports/emulators/vmware3/
make install clean
注意:安裝中會出現一個菜單問你選擇什么模式,選項有:bridged和router模式。如果你掌握你的本地網絡的ip資源(你可以隨意為你的機器設置ip),那么我建議你使用bridged模式,反之用route模式。然后出來一個對話框,要你填網卡的名字,例如:rl0,fxp0等等....。通過ifconfig可以察看得到。
選擇了網橋(bridged)模式就不會再有任何選項要你選擇;如果選擇了路由模式就會問你的ip,我建議選擇默認的IP,如果子網跟你現在的子網一樣,就改一個子網。
×注:我是把我的ADSL MODEM 設置成路由格式的,所以只要在guest OS中設置網關就可以上網了,如果你想通FB上網的話,還設置一下fb作為網關。具體操作方法參考我附帶的英文文章。

3、環境配置
(1)啟動網卡
/usr/local/etc/rc.d目錄會有一個叫做vmware.sh的腳本。第一次安裝后,你又沒有重新啟動系統(rc.d中的腳本會在每次啟動OS的時候自動運行的。),需要手動啟動vmware的vmnet網卡,你要打vm*.sh -start來進行啟動,如果ifconfig,看到有一個vmnet的網卡,證明啟動成功。
(2)加載linuxPRoc分區
在/etc/fstab文件中加入一行代碼:
代碼:
linproc /compat/linux/proc linprocfs rw 0 0
重啟以后,用df命令,確認是否已加載。
(3)加etc/sysctl.conf配置文件中加入下面一行代碼。
kern.ipc.shm_allow_removed=1
我的機器上這行不加的話,在POWER ON時會出現加載SVGA出錯的提示。

4、配置vmware和安裝guest OS。
重啟后,在控制臺輸入vmware啟動vmware程序。
(1)輸入注冊碼,我用Google找到兩個注冊碼。
60N88-8DW44-16H77-32KT4
6818X-84WD1-01KDK-3JN9X
(2)安裝guest OS,操作方法和win的差不多,根據向導進行設置。
只是有些設備文件Vmware可能不能自動找到,需要手工設定。

mouse--> /dev/sysmouse
光盤--> /dev/dev0
網卡--> /dev/vmnet1 (如果像我一樣通過網關出去的,就用這個)
在setting-->configure editor下進行設置。
這些都有出錯提示,可按照提示去做。
(3)設置完后,放入OS光盤,加載光驅,mount /cdrom.然后按power on鍵啟動。就可以進行按裝guest OS了。

5、安裝vmtools
等guest OS安裝完后,啟動OS,然后選擇vmware菜單上的setting-->vmware tools install進行vmtools安裝。

[附記]
機器配置:AMD Duron 600,512 sdram,15G 硬盤。
系統環境:Freebsd 5.2.1,Xfce4,nivdia Geforce 4 MX 顯卡驅動,
使用感覺:安裝WinXP英文版,安裝時間差不多1個半小時左右。運行速度感覺比真實慢一點點。但比WIN下摸擬的要快多了。
此文憑我的記憶寫出,如有不對之處,請指正。
mail&msn: [email protected]
http://kukusky.vicp.net


[附圖]




[附文:]
VMware 3 crashes 5.2 system
Dany Nativel dany_list at natzo.com
Fri Jan 23 06:14:11 PST 2004

Previous message: VMware 3 crashes 5.2 system
Next message: Shutdown/reboot troubles with SMP on 5.2
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Vmware3 worked for me under 5.2RC2... I haven't tried on 5.2 Release
yet. The only thing that never worked was the full screen mode using
either "nvidia" or "nv" driver.

You can find some tips for installing VMWARE under FreeBSD at :
http://www.packetwatch.net/documents/papers/vmware2.txt

Here is what I did (comes from the link above and other sources... sorry
for the lack of copyright notice) :

Install Linux-base first (should be installed)
# cd /usr/ports/emulators/linux_base
# make install && make clean

add to /etc/fstab
linproc /compat/linux/proc linprocfs rw 0 0

add to etc/sysctl.conf
kern.ipc.shm_allow_removed=1

add to /etc/rc.conf
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="vr0" #physical ethernet card... put your own
natd_flags=""

Now, we will set the firewall rules. Before we set the firewall rules
make a
backup of the /etc/rc.firewall file. Clear everything from the rc.firewall
file. Add the following to the file:

fwcmd="/sbin/ipfw"
${fwcmd} -f flush
${fwcmd} add divert natd all from any to any via
vr0 <----- again replace vr0 with your physical interface
${fwcmd} add pass all from any to any

edit Kernel config file
options IPFIREWALL
options IPDIVERT
options VFS_AIO # ----> you can also use aio_load="YES" in loader.conf
options SYSVSHM # should already be there
options SYSVMSG # should already be there
options SYSVSEM # should already be there

Recompile kernel, install, reboot

Install using ports.
# cd /usr/ports/emulators/vmware3
# make install
1) Do you want to use netgraph bridging? Yes/No
Answer No
2) What will the IP address of your host on your private network?
I like to use 192.168.2.1
3) What will be the netmask of your private network?
I like to use 255.255.255.0
In VMware Configuration Editor, change Ethernet Adapter to 'Host-only'

Edit .cfg file of the virtual machine.
vmnet1.hostOnlyAddress = "192.168.254.1"
vmnet1.hostOnlyNetmask = "255.255.255.0"

--> vmnet1.hostOnlyAddress should be the same as the vmnet1 interface
(use "ifconfig" to get it).

In the virtual machine, statically configure IPaddress to an IP address
on the same network (i.e. 192.168.254.2) and the netmask should be the
same as above. Set default gateway to 192.168.254.1. Add in DNS servers,
and you should be ready to surf the web or whatnot from within your
virtual machine.
After the installation is complete type:

# /usr/local/etc/rc.d/vmware.sh start

Now, run ifconfig to see the new interface: vmnet1. Then, run kldstat to
make sure the proper modules are running for VMware. You should see:
vmmon_up.ko
if_tap.ko
linux.ko

Then you should be able to start vmware, enter the license information
and configure your VM.


Quintin Riis wrote:

> I'm pretty sure that VMware doesn't currently support 5.x in any fashion.
>
> Quintin
>
> Konrad Heuer wrote:
>
>> Does anyone successfully run VMware 3 on 5.2-R? After upgrading from
>> 5.1-R
>> to 5.2-R my system crashes shortly after VMware begins to initialize.
>>
>> The modules vmmon etc. have been rebuild after the upgrade.
>>
>> Thanks for any hint.
>>
>> Konrad
>>
>> Konrad Heuer (kheuer2 at gwdg.de) ____ ___ _______
>> GWDG / __/______ ___ / _ )/ __/ _ /
>> Am Fassberg / _// __/ -_) -_) _ |/ // // /
>> 37077 Goettingen /_/ /_/ /__//__/____/___/____/
>> Germany
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 538任你躁在线精品视频网站 | 草逼一区 | 国产成年免费视频 | 99精品热视频 | 日本爽快片100色毛片视频 | 老师你怎么会在这第2季出现 | 黄网站在线免费 | 桥本有菜免费av一区二区三区 | 91成人免费网站 | 精品二区在线观看 | 久久综合精品视频 | 午夜在线视频一区二区三区 | 国产精品区一区二区三区 | 最新一区二区三区 | 黄色av电影在线播放 | 一区二区久久精品66国产精品 | 青青草成人免费视频在线 | 一区二区精品视频在线观看 | 国产精品一区99 | 男女污污视频网站 | 成人在线免费视频播放 | 久久精品com| 精品一区二区免费 | 999插插插 | 亚洲精品一区中文字幕 | 免费看成年人网站 | 毛片a片 | 91福利社在线 | 色播视频在线播放 | 国产精品久久久久久久久久久久午夜 | 成人性生活视频在线观看 | 激情综合网俺也去 | 欧美日韩在线视频一区 | 91在线视频精品 | 欧产日产国产精品乱噜噜 | 亚洲综合视频网站 | 91九色免费视频 | 成人一级毛片 | 久久精品亚洲一区二区三区观看模式 | 黄色一级片免费在线观看 | 成年性羞羞视频免费观看 |