自從 FreeBSD 6.2 後多了一個以 binary update 方式的指令,就是 freebsd-update
假設我要更新 FreeBSD 7.0-RELEASE-p3 到 7.0-RELEASE-p10
首先先更新 update Server
# vi /etc/freebsd-update.conf
ServerName update.tw.FreeBSD.org
接下來就開始抓更新檔
# freebsd-update fetch
# freebsd-update install
# reboot
若要跨版本更新的話,例如將 FreeBSD 7.0-RELEASE-p5 到 7.1-RELEASE-p3
# freebsd-update upgrade -r 7.1-RELEASE
( 略.... )
# freebsd-update install -r 7.1-RELEASE
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
# reboot
# freebsd-update install
# reboot
# uname -ra
全站熱搜
留言列表