一聚教程网:一个值得你收藏的教程网站

热门教程

centos/redhat安装桌面环境的教程

时间:2022-06-30 20:57:30 编辑:袖梨 来源:一聚教程网

一般生产环境中centos/redhat是采用最小化安装,偶然可以尝试玩玩桌面环境,当然乌班图可能桌面优化更好一点。

[root@localhost ~]# yum grouplist | more
[root@localhost ~]# yum groupinstall "X Window System" "KDE Desktop" Desktop    #安装KDE桌面
or  ####二选一####
[root@localhost ~]# yum groupinstall "X Window System" "Desktop Platform" Desktop    #Gnome 桌面环境
################一些其他组件################
[root@localhost ~]# yum groupinstall "Graphical Administration Tools"
[root@localhost ~]# yum groupinstall "Internet Browser"
[root@localhost ~]# yum groupinstall "General Purpose Desktop"
[root@localhost ~]# yum groupinstall "Office Suite and Productivity"
[root@localhost ~]# yum groupinstall "Graphics Creation Tools"
[root@localhost ~]# yum install "@Chinese Support"

更换桌面环境:

[root@PXE ~]# cat /etc/sysconfig/desktop
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
#DESKTOP="GNOME"
#DISPLAYMANAGER="GNOME"

拆卸桌面环境:

[root@PXE ~]# yum groupremove "Desktop Platform"
[root@PXE ~]# yum groupremove "KDE Desktop"

热门栏目