When you install the centos server version, the system will not install CentOS graphical interface programs by default, such as: gnome or kde, so if you want to work in a graphical interface, you can manually install the CentOS Gnome GUI package , this article will describe how to install the gnome graphical interface program under CentOS 7 system.
Before installing the Gnome package, we need to check whether the installation source is normal, because we need to install the gnome package through the yum command, and the yum command downloads the installation package through the yum source.
1. Enter the following command at the command line to install the Gnome package
$sudo yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
2. Update the running level of the system
If you want to automatically enter the graphical interface when the system starts next time, then we need to change the running level of the system and enter the following command to enable the graphical interface.
$sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
3. Restart the system
When the system starts again, it will enter the graphical interface by default.
The above is the detailed content of centos7 installation graphical interface example. For more information, please follow other related articles on the PHP Chinese website!