FreeBSD5.4工作站安装

2009-05-13 01:20:11来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

FreeBSD5.4工作站安装
机器配置:
核心:P41.7G
主板:MSI845
内存:金士顿256*2
硬盘:迈拓40G
显卡:ATI Radeon 7500
显板:Samsung SyncMaster 753DFX
声卡:Creative Sound Blaster Live!
一、安装FreeBSD5.4Release
从http://www.freebsd.org/releases/5.4R/announce.html选择一个FTP服务器下载,然后刻成光盘。接下来从光盘安装,我的几点选项:
1、选择软件包时选择最小化安装。
2、安装到ports时选择net-->cvsup,以便更新ports。
其它的都默认安装,具体可参考:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/install-start.html,安装完后重启机器。
二、配置FreeBSD
1、配置/etc/rc.conf,我的rc.conf:
代码:hostname="gjf.jscpu.com"
defaultrouter="192.168.20.254"
ifconfig_rl0="inet 192.168.121.250 netmask 255.255.255.0"
ifconfig_rl1="inet 192.168.20.1 netmask 255.255.255.0"
inetd_enable="YES"
linux_enable="YES"
moused_enable="YES"
#sshd_enable="YES"
#usbd_enable="YES"
2、配置/etc/resolv.conf,我的resolv.conf:
代码:domain  jscpu.com
nameserver      221.228.255.1
nameserver      218.2.135.1
完成后重启机器。
3、将光盘放入光驱中,安装ports和src
代码:#/stand/sysinstall
然后选择Configure-->Distributions,然后利用空格键选择src和ports两项,点install,安装完成后重启机器。
4、启用ftp(后面上传文件用)
代码:#cd /etc
# ee inetd.conf
将ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l一行的#号去掉。
保存后退出。
三、升级ports
代码:#cp /usr/share/examples/cvsup/ports-supfile /etc/funpower
#cd /etc
# ee funpower
修改下面一行:
default host=cvsup2.FreeBSDChina.org
然后运行如下命令:
代码:#cvsup -g -L 2  funpower
完成安装后重启机器。
四、配置内核文件
配置内核时每项说明可以参考这:http://people.freebsdchina.org/kinki/9.htm,配置中要加入对声卡的支持,关于如何安装声卡可以参考这:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/sound-setup.html
下面是具体的操作:
代码:#cd /sys/i386/conf
#cp GENERIC funpower
#ee funpower
我的内核文件如下:
代码:#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:pkgtools

下一篇:用rsh实现自动执行