动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
电脑书籍下载:程序设计书籍 | 数据库教程书籍 | 平面与多媒体书籍 | 网络通讯书籍 | 系统管理书籍 | 网络安全书籍 | 认证考试书籍
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 操作系统 > FreeBSD教程
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ FreeBSD教程 ]的信息



本月文章推荐
.为何要安装 identd ?.
.FreeBSD网站平台建设全过程 第五.
.FreeBSD SNP 4.inetd.conf设定.
.FreeBSD与Linux的比较.
.FreeBSD handbook中文版 4 安装应.
.FreeBSD handbook中文版 12 存储.
.如何使用一块新加的SCSI硬盘?.
.FreeBSD网站平台建设全过程 前言.
.FreeBSD 版本命名原则.
.BSD家族大观 --3. NetBSD.
.FreeBSD handbook中文版 2 开始安.
.FreeBSD内核定制参考.
.FreeBSD上的软件安装方法.
.FreeBSD网站平台建设全过程 第四.
.FreeBSD中/etc下的文件简介.
.FreeBSD网站平台建设全过程 第六.
.cvsup daemon.
.把Linux的密码->FreeBSD data.
.FreeBSD handbook中文版 2 开始安.
.FreeBSD handbook中文版 1 整体介.

freebsd5.2.1上安装vmware 3.2.1

发表日期:2005-3-28 |


今天终于成功搞定在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: 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"
上一篇:FreeBSD Packages和Ports使用技巧 人气:7640
下一篇:Zhcon的安装和使用(1) 人气:9445
浏览全部FreeBSD的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-7-25 WikyBlog v1.7.0.1 多国语言版
2008-7-25 乐彼网上开店系统(56770 Eshop)
2008-7-25 赛特网站管理系统sitecms v3.6.0
2008-7-25 Modoer多功能点评系统 v1.0.1 Bu
2008-7-25 Shangducms Teamsuit! v1.1.0 开
2008-7-25 幻影动漫网视频系统(Ppdong) v1.
2008-7-25 acteecompany企业网站建设系统 v
2008-7-25 恒浪整合管理系统 ims v4.1 ACCE
2008-7-25 艺术图库系统 v1.0 beta
2008-7-19 UltraEdit 简体中文增强版 14.10
2008-7-19 CentOS 5.2 i386 LiveCD
2008-7-19 Snapture多功能相机 v1.4
2008-7-19 iAcces中文输入法 v1.0Build016
2008-7-19 Cookbook烹饪秘籍 v2.5
2008-7-19 苹果专用DVD转换工具 v1.1.59汉化
2008-7-19 Modem修复软件ZiPhone修改版04.0
2008-7-19 AgileMessenger即时通讯工具美化
2008-7-19 Sketches画图软件 v0.7b6破解版


  发表评论
姓 名: 验证码:
内 容:
[ 汉字翻译拼音 ] [ 广告代码 ] [ 符号对照表 ] [ 进制转换 ] [ 经典小工具 ] [ 个税计算 ] [ 汉字简繁转换 ] [ 普通单位换算 ] [ 公制单位换算 ]
[ 生辰老黄历 ] [ 国内电话区号 ] [ 国家代码与域名缩写 ] [ 文字加密解密 ] [ 健康查询 ] [ 万年历 ] [ 手机号码查询 ] [ ip搜索 ] [ Google PR查询 ]
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号