:转 http://blog.csdn.net/chszs

1、终端下执行命令

$ sudo apt-get update && sudo apt-get dist-upgrade

2、重启系统以完成更新的安装

$ sudo init 6

3、用命令安装更新管理器核心update-manager-core,如果服务器已安装则可以跳过

$ sudo apt-get install update-manager-core

4、编辑/etc/update-manager/release-upgrades配置文件,设置Prompt=lts

$ sudo vi /etc/update-manager/release-upgrades

Ubuntu Server 14.04升级Ubuntu Server 16.04

5、启动升级进程

$ sudo do-release-upgrade -d

Ubuntu Server 14.04升级Ubuntu Server 16.04

6、按下“Y”,点击回车,开始升级过程

Ubuntu Server 14.04升级Ubuntu Server 16.04

7、随着升级的系统,必须重启某些服务,选择Yes并继续

Ubuntu Server 14.04升级Ubuntu Server 16.04

8、系统会提示删除过时的包,输入“Y”,并在升级过程完成后,使用以下命令重新启动服务器:

$ sudo init 6

现在Server已经升级到Ubuntu Server 16.04(Xenial Xerus)LTS。

相关文章:

  • 2021-10-18
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2021-06-01
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-08-21
  • 2021-11-06
  • 2021-10-09
相关资源
相似解决方案