ubuntu服務(wù)器版安裝桌面
1、sudo vi /etc/apt/sources.list在編輯模式下最后行填上
deb http://debian.cn99.com/debian stable main non-free contrib
deb http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
deb http://debian.cn99.com/debian proposed-updates main contrib non-free
deb http://debian.cn99.com/debian-non-US proposed-updates/non-US main contrib non-free
deb http://debian.cn99.com/debian-security woody/updates main contrib non-free
deb-src http://debian.cn99.com/debian stable main non-free contrib
deb-src http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
deb-src http://debian.cn99.com/debian proposed-updates main contrib non-free
deb-src http://debian.cn99.com/debian-non-US proposed-updates/non-US main contrib non-free
2、保存退出
3、升級并安裝x windows(GNOME)桌面環(huán)境
sudo apt-get update
安裝 X 窗口系統(tǒng):sudo apt-get install x-window-system-core。
安裝登錄管理器:sudo apt-get install xdm/gdm/kdm[注]。最常見的圖形化登錄管理器包括 XDM、GDM、KDM,用戶可根據(jù)自己的需要選擇其中之一。
安裝桌面環(huán)境或窗口管理器:sudo apt-get install Ubuntu-desktop/kubuntu -desktop/xubuntu-desktop。這將分別安裝 GNOME、KDE、XFCE 桌面環(huán)境。對于 GNOME、KDE、XFCE 這些桌面環(huán)境來說,為了獲得更強(qiáng)的定制效果,也可僅安裝最基本的組件,如:sudo apt-get install gnome-core/kde-core/xfce4。當(dāng)然,如果不需要桌面環(huán)境,也可選擇安裝窗口管理器代替。那樣的話,可以執(zhí)行指令 sudo apt-get install fluxbox/icewm/enlightenment/fvwm