[centos7] Minimize the command line and modify it to a graphical interface

Before executing the following commands, please confirm whether the virtual machine network is normal. If the network is normal, please execute the following commands in sequence.

1. Update yum source
yum update

2. Install dependencies
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

3. Check the system default startup mode
systemctl get-default


4. Modify the system default startup mode
systemctl set-default graphical.target


5. Check the system default startup method again:
systemctl get-default


6. Reboot the
system

7. After restarting, it will take effect and become a graphical interface.

 8. Setup completed! ! !

Guess you like

Origin blog.csdn.net/weixin_71435518/article/details/131039646