Jump to content
新域网络技术论坛
Sign in to follow this  
Jamers

FREEBSD升级系统

Recommended Posts

一般FREEBSD安装好后,时间久远,需要更新怎么办?重新安装,那样需要配置的东西太多了,用这个命令,可以指定升级到哪个版本。

 

http://www.freebsd.org/doc/zh_CN/books/handbook/updating-upgrading-freebsdupdate.html

freebsd-update fetch install
freebsd-update -r 10.2-RELEASE upgrade
shutdown -r now

freebsd-update install

http://kanjuku-tomato.blogspot.com/2014/01/freebsd-92-releasefreebsd-10-release.html

 

安装有问题,按这个日本博客上的步骤搞定。。国内为毛没有呢?总体思路,原来的freebsd-update有问题,两个补丁打完就可以了。

Share this post


Link to post
Share on other sites
freebsd-update fetch install
pkg update && pkg upgrade
freebsd-update -r 12.0-RELEASE upgrade
freebsd-update install
这里重启一次
reboot
freebsd-update install
pkg-static install -f pkg
pkg update
pkg upgrade
reboot

 

Share this post


Link to post
Share on other sites

升级过后有时会无法添加用户,出现错误提示:

pw: user 'xxx' disappeared during update

同步生成一下密码文件,即可

/usr/sbin/pwd_mkdb -p /etc/master.passwd

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...