国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > FreeBSD > 正文

freebsd5.2.1上安裝vmware 3.2.1

2024-07-26 00:29:01
字體:
供稿:網(wǎng)友
今天終于成功搞定在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
注意:安裝中會(huì)出現(xiàn)一個(gè)菜單問你選擇什么模式,選項(xiàng)有:bridged和router模式。如果你掌握你的本地網(wǎng)絡(luò)的ip資源(你可以隨意為你的機(jī)器設(shè)置ip),那么我建議你使用bridged模式,反之用route模式。然后出來一個(gè)對(duì)話框,要你填網(wǎng)卡的名字,例如:rl0,fxp0等等....。通過ifconfig可以察看得到。
選擇了網(wǎng)橋(bridged)模式就不會(huì)再有任何選項(xiàng)要你選擇;如果選擇了路由模式就會(huì)問你的ip,我建議選擇默認(rèn)的IP,如果子網(wǎng)跟你現(xiàn)在的子網(wǎng)一樣,就改一個(gè)子網(wǎng)。
×注:我是把我的ADSL MODEM 設(shè)置成路由格式的,所以只要在guest OS中設(shè)置網(wǎng)關(guān)就可以上網(wǎng)了,如果你想通FB上網(wǎng)的話,還設(shè)置一下fb作為網(wǎng)關(guān)。具體操作方法參考我附帶的英文文章。

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

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

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

5、安裝vmtools
等guest OS安裝完后,啟動(dòng)OS,然后選擇vmware菜單上的setting-->vmware tools install進(jìn)行vmtools安裝。

[附記]
機(jī)器配置:AMD Duron 600,512 sdram,15G 硬盤。
系統(tǒng)環(huán)境:Freebsd 5.2.1,Xfce4,nivdia Geforce 4 MX 顯卡驅(qū)動(dòng),
使用感覺:安裝WinXP英文版,安裝時(shí)間差不多1個(gè)半小時(shí)左右。運(yùn)行速度感覺比真實(shí)慢一點(diǎn)點(diǎn)。但比WIN下摸擬的要快多了。
此文憑我的記憶寫出,如有不對(duì)之處,請(qǐng)指正。
mail&msn: luwfeng@hotmail.com
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"
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 拉萨市| 江孜县| 满城县| 连州市| 牡丹江市| 凤冈县| 惠来县| 黑河市| 延边| 广南县| 荆州市| 万年县| 天台县| 滦南县| 托克逊县| 双辽市| 普兰店市| 阿拉善盟| 长春市| 神农架林区| 东莞市| 玉树县| 宣汉县| 六枝特区| 麟游县| 福州市| 盐亭县| 天祝| 洛隆县| 普兰县| 宁陵县| 天全县| 福鼎市| 伊宁市| 习水县| 象山县| 师宗县| 灌云县| 安阳市| 柯坪县| 阜康市|