升级阿里云ECS公共镜像里的FreeBSD11-RELEASE到FreeBSD12-RELEASE

阿里云当前公共镜像中,FreeBSD的版本是 11.1-RELEASE,如想使用 12.0-RELEASE,可按以下步骤自行升级(如有重要数据,请先备份)。

1.freebsd-version -k -u # 查看当前版本

11.1-RELEASE
11.1-RELEASE

upgrade-freebsd-1.png

2.freebsd-update fetch # 获取当前版本更新
upgrade-freebsd-2.png

3.freebsd-update install # 安装更新
upgrade-freebsd-3.png

4.freebsd-update upgrade -r 12.0-RELEASE # 升级到 12.0-RELEASE
upgrade-freebsd-4.png

5./usr/sbin/freebsd-update install # 安装更新

6.reboot # 重启
upgrade-freebsd-5.png

7./usr/sbin/freebsd-update install # 再次安装更新

8.freebsd-version -k -u # 查看更新后的版本

12.0-RELEASE-p2
12.0-RELEASE-p2

upgrade-freebsd-6.png

参考:https://www.freebsd.org/releases/12.0R/installation.html

标签: FreeBSD

添加新评论