新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > 如何將Ubuntu14.04 Server安全的升級到14.10

        如何將Ubuntu14.04 Server安全的升級到14.10

        作者: 時間:2016-09-12 來源:網絡 收藏

        你可能已經知道如何將你的 Ubuntu 桌面升級到最新版本了,不過如果你用的 Ubuntu ,而且也正好又希望升級一下的話(前提是,不會影響你的應用。一般來說,對于服務器操作系統,應該采用保守態度。如果不是必須升級才能解決的安全問題,最好不要升級,而是采用各種外部手段來解決。)

        本文引用地址:http://www.104case.com/article/201609/304229.htm

        如果想從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

        直到屏幕提示你已完成。



        關鍵詞: Server linux

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 泗阳县| 资阳市| 乌拉特后旗| 灵丘县| 遵化市| 怀集县| 清徐县| 浑源县| 阳信县| 台东县| 东港市| 阳江市| 荥阳市| 灵宝市| 白玉县| 尤溪县| 如东县| 鄂托克旗| 云安县| 南通市| 花莲县| 江川县| 周口市| 辽阳市| 嘉鱼县| 江达县| 德惠市| 台湾省| 襄城县| 独山县| 海阳市| 新宾| 黑山县| 磐安县| 府谷县| 西吉县| 内丘县| 长乐市| 宁德市| 淮南市| 灵璧县|