Ubuntu Desktop 變為 Ubuntu Server 伺服器版的方法

來源:互聯網
上載者:User

去Ubuntu官網看到有好幾種版本可以下載,alternate(文本安裝)、desktop9(案頭)、netbook(迷你筆記型電腦)、server(伺服器)。

使用server版某個理由:

32位的系統可以使用4G以上的記憶體,最多能到64G。前提是主板能夠支援

特別提示。
32位系統,開啟記憶體得映射功能後,系統將不能使用休眠功能(休眠與待機不同)

驅動有可能不和server 版相容!!!

我已經遇到ATI 顯卡不相容問題,到時候別來問我怎麼辦。

和windows 不一樣,不需要重新下載 Ubuntu Server 版。只需要安裝Server  核心 使用就可以了。

安裝server 核心很簡單 叫出終端輸入:

sudo apt-get install  linux-image-server linux-headers-server linux-server

(我已經安裝了不過還是示範下)

luozhuang@ubuntu:~$ sudo apt-get install  linux-image-server linux-headers-server linux-server
正在讀取軟體包列表... 完成
正在分析軟體包的相依樹狀結構       
正在讀取狀態資訊... 完成       
linux-headers-server 已經是最新的版本了。
linux-image-server 已經是最新的版本了。
linux-server 已經是最新的版本了。
升級了 0 個軟體包,新安裝了 0 個軟體包,要卸載 0 個軟體包,有 0 個軟體包未被升級

如何確認已經使用伺服器核心?

安裝成功以後重新啟動

終端輸入 uname -a

我這裡顯示:

luozhuang@ubuntu:~$ uname -a
Linux ubuntu 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

可以看到已經使用伺服器核心 Linux ubuntu 2.6.38-8-server 

如果還沒有使用server 就把 原來核心卸載即可,圖形化介面安裝卸載 工具較

如果你開啟 你熟悉的Vmware 出現下面提示:

"Before you can run VMware, several modules must be compiled and loaded into the running kernel.

Kernel Headers linux-headers-2.6.38-8-server

請先升級你的 VMware(具體看看 http://blog.csdn.net/luozhuang/article/details/6601251) 然後

sudo apt-get install linux-headers-server

luozhuang@ubuntu:~$ sudo apt-get install linux-headers-server
[sudo] password for luozhuang:
正在讀取軟體包列表... 完成
正在分析軟體包的相依樹狀結構       
正在讀取狀態資訊... 完成       
將會安裝下列額外的軟體包:
  linux-headers-2.6.38-8-server
下列【新】軟體包將被安裝:
  linux-headers-2.6.38-8-server linux-headers-server
升級了 0 個軟體包,新安裝了 2 個軟體包,要卸載 0 個軟體包,有 0 個軟體包未被升級。
需要下載 0 B/833 kB 的軟體包。
解壓縮後會消耗掉 10.6 MB 的額外空間。
您希望繼續執行嗎?[Y/n]y

選中了曾被取消選擇的軟體包 linux-headers-2.6.38-8-server。
(正在讀取資料庫 ... 系統當前共安裝有 141451 個檔案和目錄。)
正在解壓縮 linux-headers-2.6.38-8-server (從 .../linux-headers-2.6.38-8-server_2.6.38-8.42_amd64.deb) ...
選中了曾被取消選擇的軟體包 linux-headers-server。
正在解壓縮 linux-headers-server (從 .../linux-headers-server_2.6.38.8.22_amd64.deb) ...
正在設定 linux-headers-2.6.38-8-server (2.6.38-8.42) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.38-8-server /boot/vmlinuz-2.6.38-8-server
正在設定 linux-headers-server (2.6.38.8.22) ...

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.