freeBSD安装简介

一、升级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 

你可能感兴趣的:(freeBSD安装简介)