CentOS 7 system
(Execute under the root account, or use sudo to obtain permissions)
Close the graphical interface: systemctl set-default multi-user.target
Open the graphical interface: systemctl set-default graphical.target
CentOS 7 system
(Execute under the root account, or use sudo to obtain permissions)
Close the graphical interface: systemctl set-default multi-user.target
Open the graphical interface: systemctl set-default graphical.target