您好,登錄后才能下訂單哦!
這篇文章主要講解了“如何升級Ubuntu Server系統(tǒng)版本”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“如何升級Ubuntu Server系統(tǒng)版本”吧!
你可能已經(jīng)知道如何將你的 Ubuntu 桌面升級到最新版本了,不過如果你用的 Ubuntu Server,而且也正好又希望升級一下的話(前提是,不會影響你的應(yīng)用。一般來說,對于服務(wù)器操作系統(tǒng),應(yīng)該采用保守態(tài)度。如果不是必須升級才能解決的安全問題,最好不要升級,而是采用各種外部手段來解決。)
如果想從Ubuntu14.04/13.10/13.04/12.10/12.04或者更老的版本升級到14.10,只要遵循下面給出的步驟。注意,你不能直接從13.10升級到14.10。你應(yīng)該先將13.10升級到14.04在從14.04升級到14.10。下面是詳細(xì)步驟。
下面的步驟不僅能用于14.10,也兼容于一些像Lubuntu14.10,Kubuntu14.10和Xubuntu14.10等的Ubuntu衍生版本
重要:在升級之前,保險起見,不要忘了將你的數(shù)據(jù)在U盤或外部硬盤上保存一下。
服務(wù)器升級
從ubuntu14.04的服務(wù)器升級到14.10的服務(wù)器,采用下面的步驟。
安裝update-manager-core 這個包如果之前沒唷安裝的話:
代碼如下:
sudo apt-get install update-manager-core
編輯 /etc/update-manager/release-upgrades這個文件。
代碼如下:
sudo nano /etc/update-manager/release-upgrades
像下面那樣設(shè)置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
現(xiàn)在可以通過下面的命令來更新你的服務(wù)系統(tǒng)了。
代碼如下:
sudo do-release-upgrade -d
直到屏幕提示你已完成。
感謝各位的閱讀,以上就是“如何升級Ubuntu Server系統(tǒng)版本”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對如何升級Ubuntu Server系統(tǒng)版本這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。