如何将 Ubuntu14.04 Server 安全的升级到14.10

简介:

如何将 Ubuntu14.04 Server 安全的升级到14.10

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

如果想从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 apt-get install update-manager-core

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

 
 
  1. sudo nano /etc/update-manager/release-upgrades

像下面那样设置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 do-release-upgrade -d

直到屏幕提示你已完成。

原文发布时间:2014-11-25

本文来自云栖合作伙伴“linux中国”

目录
相关文章
|
3月前
|
Ubuntu
百度搜索:蓝易云【ubuntu 16.04升级到18.04教程】
请注意,在升级过程中可能会出现一些问题,例如软件包依赖关系或配置文件冲突。在升级前,建议备份重要数据,以免数据丢失。如果你在升级过程中遇到问题,可以查看相关错误信息并尝试解决。
44 2
|
3月前
|
安全 Ubuntu
Ubuntu Samba高危安全漏洞修复
Ubuntu系统中使用的Samba版本存在一个或多个高风险安全漏洞。受影响的Samba版本包括但不限于4.13.x低于4.13.17、4.14.x低于4.14.12以及4.15.x低于4.15.5。这些漏洞可能会允许未经身份验证的攻击者远程执行恶意代码,获取未经授权的访问权限,或者进行其他形式的安全攻击。
33 0
|
6月前
|
Ubuntu 安全 Linux
百度搜索:蓝易云【Ubuntu 20.04 安装VNC Server的教程。】
请注意,VNC连接是以明文形式传输数据的,因此建议在安全的网络环境中使用VNC,并设置强密码以确保安全性。
189 1
|
8月前
|
Ubuntu 安全
Ubuntu 安全重启 / Ubuntu 系统死机解决方法
初装Ubuntu双系统时,经常会遇到各种各样的问题导致系统崩溃、卡死、黑屏等情况,新手或者小白可能直接选择长按电源键强制重启了
1699 0
|
7月前
|
Ubuntu Python
百度搜索:蓝易云【ubuntu16.04升级python3.7.1教程】
现在您已经成功升级到Python 3.7.1。请注意,这仅适用于Ubuntu 16.04,如果您使用的是其他版本的Ubuntu或不同的操作系统,请查阅相应的文档或指南进行操作。
193 0
|
5月前
|
存储 缓存 NoSQL
如何解决Ubuntu server 下 Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”.
如何解决Ubuntu server 下 Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”.
132 0
|
1月前
|
存储 Ubuntu 网络安全
|
3月前
|
Ubuntu 安全 Linux
Linux/Ubuntu 的日常升级和安全更新,如何操作?
Linux/Ubuntu 的日常升级和安全更新,如何操作?
64 0
Linux/Ubuntu 的日常升级和安全更新,如何操作?
|
3月前
|
缓存 供应链 Ubuntu
Ubuntu升级软件包及注意事项
Ubuntu是一个常见的Linux发行版,升级软件包是保持系统安全性和性能的重要步骤之一。 在升级软件包之前,务必备份系统上的重要数据。尽管升级通常不会影响用户数据,但为了安全起见,备份是必要的。升级软件包需要下载更新,因此确保你的计算机连接到稳定的网络,以防止下载中断或出现问题。
67 0
|
4月前
|
Ubuntu 网络安全 虚拟化
【Ubuntu】Win11 VmWare虚拟机安装Ubuntu 22.04.1-server
【Ubuntu】Win11 VmWare虚拟机安装Ubuntu 22.04.1-server
114 1
【Ubuntu】Win11 VmWare虚拟机安装Ubuntu 22.04.1-server