您的位置:首页 > 其它

freeBSD安装简介

2007-10-16 14:01 411 查看
一、升级PROTS

1。如果没安装cvsup,就去ports安装
cd /usr/ports/net/cvsup
make
make install
2。然后就可以更新了
cd /usr/local/bin
./cvsup -gL2 -h cvsup.freebsdchina.org /usr/share/examples/cvsup/ports-supfile

二、升级内核

1. cd /usr/src/sys/i386/conf
2. cp GENERIC dell2850
3. vi dell2850
删除上面的三行。只留下下面两行
cpu I686_CPU
修改ident dell2850

4. 增加到末尾

# For IP FIREWALL
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_FORWARD #enable transparent proxy support
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPDIVERT

5. /usr/sbin/config dell2850
提示:Kernel build directory is ../compile/dell2850
Don't forget to do ``make cleandepend; make depend''

6. cd ../compile/dell2850

7. make cleandepend
8. make depend
9. make
10. make install

三、 安装JDK15
whereis jdk15
more /usr/ports/UPDATING

whereis resin3
cd /usr/ports/www/resin3
tar -zxvf resin-3.1.0.tar.gz
mv resin-3.1.0 /usr/local/resin

cd /usr/local/resin
./configure
make
make install

vi resin.conf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: