Liquid Web是一家拥有多年经验的主机商,近年来因稳定性高和速度快等优势备受到国内外站长一致好评。Ubuntu是我们经常使用的Linux操作系统之一,今天为大家介绍下Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程

步骤1:为您的环境创建备份。

大多数升级都可以顺利进行,但是您要做好准备以防万一。升级LTS版本时,您需要将两年的逐步更改滚动为一项主要更新。有很多动人的项目,而备份可以轻松修复出任何问题。不要跳过此步骤,创建备份。

步骤2:升级Ubuntu 16.04版本的已安装软件包。

将软件包更新到最新版本16.04可以减少在升级到版本18.04时出现问题的可能性。运行以下命令以更新和升级软件包。

sudo apt-get update && sudo apt-get upgrade

Ubuntu将获取可用的软件包升级,并要求您确认要继续。

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

使用“ sudo apt autoremove ”将其删除。

以下软件包将被升级:

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

键入Ÿ在终端继续

步骤3:安装Ubuntu更新管理器。

毫不奇怪,您需要在服务器上安装Update Manager才能使用它。要将Update Manager添加到服务器,请在终端中添加以下命令。

sudo apt install update-manager-core

如果您使用的是Liquid Web VPS,则可以跳过此步骤。默认情况下安装升级管理器。

步骤4:升级Ubuntu。

现在,您已经创建了备份安装包更新,并具有升级管理器,您可以升级Ubuntu。

sudo do-release-upgrade

输入升级命令后,将要求您确认要通过SSH更新。键入Y继续。

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

击球后回车,Ubuntu会得到需要更新的所有软件包,并会通知你有多少软件包将被添加和删除和更新的大小。

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

安装将需要一些时间才能完成。在升级过程中,您可能会看到一些提示,需要您进行交互,因此请计划停留在终端附近。

升级完成后,将需要重新启动。

您将在重新启动期间注销,并且需要重新登录以确认升级成功。要检查当前安装了哪个版本的Ubuntu,请使用以下命令。

lsb_release -a

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

这样就表示我们成功升级到Ubuntu 18.04。

(本文由美国主机侦探原创,转载请注明!)

Liquid Web服务器Ubuntu 16.04升级到Ubuntu 18.04教程-编程知识网

微信扫码加好友进群

主机优惠码及时掌握

0

标签:Liquid Web Ubuntu

.entry-tags .tag-links a{text-decoration:none;}
.single #primary .entry-footer .entry-like a{text-decoration: none;}
/*短代码*/
.couponPost{display: flex;flex-direction: row;font-size: 15px;padding: 15px 0px;border-bottom: 1px dashed #ccc;overflow:hidden;}
.couponPost .couponPostRight{margin-left: 20px;overflow: hidden;width: 616px;display: flex;flex-direction: column;justify-content: space-between;}
.couponPost .couponPostLeft{position: relative;overflow:hidden;width:166px;height:130px;}
.couponPostImage{height: 100%;display: flex;border: 1px solid #ccc;border-radius: 5px;}
.couponPostRight h2.title{margin-bottom:0;font-size:20px;}
.couponPostDesc{text-align: justify;}
.couponPostLeft .couponPostImage::before{content: \’促销\’;position: absolute;color: #fff;background-color: red;font-size: 14px;width: 88px;transform: rotate(-45deg);top: 9px;left: -23px;text-align: center;}
.couponPostRight h2.title a{color: #333;text-decoration: none;}
a.linkPost{display: inline-block;color: #E14036;padding: 0px 10px;border: 1px dashed #e14036;background-color: #FFD886;line-height: 20px;}
.couponPostLink a{margin-left:0!important;text-decoration:none;}
.imageNone::before{content:none!important;}