如何使用do-release-upgrade升级Ubuntu,Debian,Mint,Kali

Ubuntu provides new version in every 6 months like 16.04 , 16.10, 17.04 etc. We can install latest upgrades easily with do-release-upgrade  command. In this tutorial we will examine a simple release upgrade operation. There is no version specific difference during the upgrade.

Ubuntu每6个月提供一次新版本,例如16.04,16.10、17.04等。我们可以使用do-release-upgrade命令轻松安装最新的升级。 在本教程中,我们将研究一个简单的发行版升级操作。 升级过程中没有特定于版本的差异。

通过do-release-upgrade开始升级过程 (Start Upgrade Process with do-release-upgrade)

We will start the upgrade process with do-release-upgrade  command. We will provide sudo  because of root privilege requirements.  This command will setup basic configuration before real upgrade.

我们将使用do-release-upgrade命令开始升级过程。 由于根权限要求,我们将提供sudo 。 此命令将在实际升级之前设置基本配置。

$ sudo do-release-upgrade
Start Upgrade Process with do-release-upgrade
Start Upgrade Process with do-release-upgrade
通过do-release-upgrade开始升级过程

After some basic checks like new distribution packages and compability it will prompt for continuation.

经过一些基本检查,例如新的发行软件包和兼容性,它将提示您继续。

更改SSH端口 (Change Ssh Port)

As ssh is the management protocol it is important during upgrade. ssh packages will be upgraded too and the service will be restart. So in order to prevent problems additional ssh service will be start at port 1022

由于ssh是管理协议,因此在升级期间很重要。 ssh软件包也将被升级,该服务将重新启动。 因此,为了防止出现问题,将在端口1022处启动其他ssh服务

Change Ssh Port
Change Ssh Port
更改SSH端口

第三方存储库(Third Party Repositories)

It provides us some information about third party repositories because they may create problems during installation. So they are disabled but easily enabled after upgrade process is completed.

它为我们提供了有关第三方存储库的一些信息,因为它们可能会在安装过程中产生问题。 因此,它们是禁用的,但在升级过程完成后很容易启用。

Third Party Repositories
Third Party Repositories
第三方存储库

开始升级(Start Upgrade)

Now everything seems ready. So we can start the package download and upgrade operation. But before we will see that information like new packages, downloaded file sizes, download time etc. But also warns that the download can take several hours.

现在一切似乎准备就绪。 这样我们就可以开始软件包的下载和升级操作了。 但是在我们看到诸如新软件包,下载文件大小,下载时间等信息之前,还要警告下载可能要花费几个小时。

Start Upgrade
Start Upgrade
开始升级

重新启动以进行新分配(Reboot For Fresh Distrubution)

We can  start using upgraded version but I prefer to restart the Linux system in order to start freshly. We will use reboot command with root privileges like below.

我们可以开始使用升级版本,但是我更喜欢重新启动Linux系统以便重新启动。 我们将使用具有以下root特权的reboot命令。

$ sudo reboot

翻译自: https://www.poftut.com/how-to-upgrade-ubuntu-debian-mint-kali-with-do-release-upgrade/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值