FreeBSD下编译升级内核的不同操作手法
点击次数:29 次 发布日期:2008-11-22 10:19:28 作者:源代码网
|
源代码网推荐
编译安装升级内核的方法
一、
#cd /usr/src #make world #cd sys/i386/conf #cp GENERIC NEWKERNEL #/usr/sbin/conf NEWKERNEL #cd ../../compile/NEWKERNEL #make #make install
二、
#cd /usr/src #mergemaster p #make buildworld #make buildkernel KERNC #make installkernel KERNC # reboot 启动到单用户模式下。然后执行: #mount u / #mount -a # mergemaster -p # make installworld # mergemaster # reboot
三、(适用于大内存高CPU)
cvsup先 # /usr/local/bin/cvsup -g -L 2 /etc/ports-supfile # /usr/local/bin/cvsup -g -L 2 /etc/stable-supfile cd /usr/src # make -j 80 buildworld # make -j 80 buildkernel # make -j 80 installkernel
源代码网供稿. |