1、安装软件:(本地yum源安装不了"Graphical Administration Tools" "GNOME Desktop",需要网络yum源。用本地yum源只安装上"X Window System"也有桌面显示。)
[root@localhost ~]# yum groupinstall "Graphical Administration Tools" "GNOME Desktop" "X Window System"
安装GNOME桌面环境:
[root@localhost ~]# yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
2、获取当前系统启动模式
[root@localhost ~]# systemctl get-default
multi-user.target //命令行模式
3、查看配置文件
[root@localhost ~]# cat /etc/inittab
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' inste
Linux CentOS 7.X下安装部署安装桌面环境
最新推荐文章于 2024-04-05 06:28:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)