Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2305852
  • 博文数量: 321
  • 博客积分: 3440
  • 博客等级: 中校
  • 技术积分: 2992
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-24 09:08
个人简介

我就在这里

文章分类

全部博文(321)

文章存档

2015年(9)

2014年(84)

2013年(101)

2012年(25)

2011年(29)

2010年(21)

2009年(6)

2008年(23)

2007年(23)

分类: BSD

2007-10-23 15:43:41

FreeBSD下编译升级内核的不同操作手法

编译安装升级内核的方法

一、
#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
阅读(1784) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~