阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

如何将 Ubuntu Server 14.04安全的升级到14.10

114次阅读
没有评论

共计 1795 个字符,预计需要花费 5 分钟才能阅读完成。

你可能已经知道如何将你的 Ubuntu 桌面升级到最新版本了,不过如果你用的 Ubuntu Server,而且也正好又希望升级一下的话(前提是,不会影响你的应用。一般来说,对于服务器操作系统,应该采用保守态度。如果不是必须升级才能解决的安全问题,最好不要升级,而是采用各种外部手段来解决。)

如何将 Ubuntu Server 14.04 安全的升级到 14.10

如果想从 Ubuntu14.04/13.10/13.04/12.10/12.04 或者更老的版本升级到 14.10,只要遵循下面给出的步骤。注意,你不能直接从 13.10 升级到 14.10。你应该先将 13.10 升级到 14.04 在从 14.04 升级到 14.10。下面是详细步骤。

下面的步骤不仅能用于 14.10,也兼容于一些像 Lubuntu14.10,Kubuntu14.10 和 Xubuntu14.10 等的 Ubuntu 衍生版本

重要 :在升级之前,保险起见,不要忘了将你的数据在 U 盘或外部硬盘上保存一下。

服务器升级

从 ubuntu14.04 的服务器升级到 14.10 的服务器,采用下面的步骤。

安装 update-manager-core 这个包如果之前没唷安装的话:

  1. sudo aptget install updatemanagercore

编辑 /etc/update-manager/release-upgrades 这个文件。

  1. sudo nano /etc/updatemanager/releaseupgrades

像下面那样设置 Prompt=normal 或者 Prompt=lts

  1. # Default behavior for the release upgrader.
  2.  
  3. [DEFAULT]
  4. # Default prompting behavior, valid options:
  5. #
  6. # never – Never check for a new release.
  7. # normal – Check to see if a new release is available. If more than one new
  8. # release is found, the release upgrader will attempt to upgrade to
  9. # the release that immediately succeeds the currently-running
  10. # release.
  11. # lts – Check to see if a new LTS release is available. The upgrader
  12. # will attempt to upgrade to the first LTS release available after
  13. # the currently-running one. Note that this option should not be
  14. # used if the currently-running release is not itself an LTS
  15. # release, since in that case the upgrader won’t be able to
  16. # determine if a newer release is available.
  17. Prompt=normal

现在可以通过下面的命令来更新你的服务系统了。

  1. sudo doreleaseupgrade d

直到屏幕提示你已完成。

Ubuntu 14.04 LTS Server 安装 LAMP Server  http://www.linuxidc.com/Linux/2014-06/102919.htm

简单几步把 Ubuntu 14.04 LTS 升级到 Ubuntu 14.10  http://www.linuxidc.com/Linux/2014-11/109510.htm

Windows 7 下硬盘安装 Ubuntu 14.10 图文教程 http://www.linuxidc.com/Linux/2014-10/108430.htm

U 盘安装 Ubuntu 14.10 http://www.linuxidc.com/Linux/2014-10/108402.htm

Ubuntu 14.10 正式发布下载 http://www.linuxidc.com/Linux/2014-10/108363.htm

Ubuntu 14.04 LTS 如何升级到 Ubuntu 14.10  http://www.linuxidc.com/Linux/2014-10/108381.htm

更多 Ubuntu 相关信息见 Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2

正文完
星哥说事-微信公众号
post-qrcode
 
星锅
版权声明:本站原创文章,由 星锅 2022-01-20发表,共计1795字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中