yum group list
yum -y groupinstall "Server with GUI"
[root@ClusterRhel7n1zs mnt]#systemctl get-default multi-user.target
[root@ClusterRhel7n1zs mnt]#cat /etc/inittab
[root@ClusterRhel7n1zs mnt]#systemctl set-default graphical.target rm '/etc/systemd/system/default.target' ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
[root@ClusterRhel7n1zs mnt]#systemctl get-default graphical.target
[root@ClusterRhel7n1zs mnt]#reboot
发表评论