≡ 典典 - 单机游戏攻略 ≡'s Archiver

admin 发表于 2006-10-3 18:56

FreeBSD 升级后如何重新编译内核和更新部分文件

一般的重大安全升级最好都这样更新.
4E(cJ$r!X$U,A7~6x7S
~ ~r^5erEb'BN The Canonical Way to Update Your System|@B] cW&V H
To update your system, you should check [font=新宋体]/usr/src/UPDATING[/font] for any pre-buildworld steps necessary for your version of the sources and then use the following procedure:
x4^:A F|EMK;@ K # make buildworld
'Y!FK)N6Q'k9r*W # make buildkernel
l*z5o~1m)|$rA!P$@ # make installkernel6uCk7uOc
# reboot
_.v`-neru%kz [indent][b]Note:[/b] There are a few rare cases when an extra run of [font=新宋体]mergemaster -p[/font] is needed before the [font=新宋体]buildworld[/font] step. These are described in [font=新宋体]UPDATING[/font]. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions.9?&] k*B8iqu
[/indent]
@$HN2Ygi`C After [font=新宋体]installkernel[/font] finishes successfully, [color=red]you should boot in single user mode[/color] (i.e. using [font=新宋体]boot -s[/font] from the loader prompt). Then run: ug2d%kd1X"P
# mergemaster -p3d*\t8p?
# make installworld;]#F0x(h']1P}%Cr#V
# mergemaster5M I,Tx(C NI,f1El
# reboot
d!iO"i^di&g [indent][b]Read Further Explanations:[/b] The sequence described above is only a short resume to help you getting started. You should however read the following sections to clearly understand each step, especially if you want to use a custom kernel configuration. ar0d:^8OybA$t
[/indent]

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.