linux运行级别是3的安装图形化界面
- 当前系统
[root@lhf ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
- 安装图形环境依赖包
[root@lhf ~]# yum groupinstall "X Window System"
[root@lhf ~]# yum groupinstall "Desktop"
[root@lhf ~]# yum groupinstall "KDE Desktop"
- 切换运行级别,测试是否成功
init 5
- 卸载图形化界面
# yum groupremove "X Window System" "Desktop" "KDE Desktop"
网友评论