首頁 > 系統教程 > Linux > 主體

Ubuntu14.04 Server 升級到14.10 的方法

WBOY
發布: 2024-01-12 13:36:04
轉載
1261 人瀏覽過
導讀 你可能已經知道如何將你的Ubuntu 桌面升級到最新版本了,不過如果你用的Ubuntu Server,而且也正好又希望升級一下的話(前提是,不會影響你的應用。一般來說,對於伺服器作業系統,應該採用保守態度。如果不是必須升級才能解決的安全問題,最好不要升級,而是採用各種外部手段來解決。)

Ubuntu14.04 Server 升级到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衍生版本

伺服器升級

從ubuntu14.04的伺服器升級到14.10的伺服器,採用下面的步驟。

安裝update-manager-core 這個套件如果之前沒男安裝的話:

sudo apt-get install update-manager-core
登入後複製

編輯 /etc/update-manager/release-upgrades這個檔案。

sudo nano /etc/update-manager/release-upgrades
登入後複製

像下面那樣設定Prompt=normal或Prompt=lts

#
# Default behavior for the release upgrader.
 
[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=normal
登入後複製

現在可以透過下面的命令來更新你的服務系統了。

sudo do-release-upgrade -d
登入後複製

直到螢幕提示你已完成。

以上是Ubuntu14.04 Server 升級到14.10 的方法的詳細內容。更多資訊請關注PHP中文網其他相關文章!

來源:linuxprobe.com
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!