国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Ubuntu > 正文

升級Ubuntu Server系統版本的建議

2020-10-18 20:41:55
字體:
來源:轉載
供稿:網友

你可能已經知道如何將你的 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 這個包如果之前沒唷安裝的話:

   

復制代碼
代碼如下:
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

直到屏幕提示你已完成。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 揭东县| 广州市| 高雄县| 英德市| 额尔古纳市| 社旗县| 瓦房店市| 新疆| 海原县| 竹溪县| 昌宁县| 定州市| 湘乡市| 治多县| 曲松县| 彭州市| 临泽县| 孝昌县| 伊春市| 甘泉县| 祁东县| 西乌| 招远市| 寿阳县| 夏津县| 米脂县| 湟中县| 晋州市| 抚顺市| 晋江市| 红安县| 屯留县| 垫江县| 宝兴县| 宜章县| 新巴尔虎左旗| 永和县| 鲁山县| 鸡泽县| 上虞市| 封开县|