Centos6.X安装桌面

1.前置环境
yum -y groupinstall 'X Window System'
2.桌面安装
 yum -y groupinstall 'Desktop' 

3.语言包
yum -y groupinstall "Chinese Support"
4.中文套件
编辑/etc/sysconfig/i18n,將 LANG="en_US.UTF-8" 改为 LANG="zh_CN.UTF-8"
如果空白 直接加入
LANG="zh_CN.UTF-8"
5.开机启动设置
编辑/etc/inittab,将 id:3:initdefault: 改为 id:5:initdefault:

6.重启

reboot

KDE桌面

安装:
yum -y groupinstall 'kde-desktop' 

卸载:

yum -y groupremove kde-desktop
yum -y groupremove 'X Window System'

原文地址:https://www.cnblogs.com/oumi/p/11646925.html