Before installing the GNOME package, we need to check that the installation source is working properly because we want to install the GNOME package through the Yum command, and the Yum command downloads the installation package through the Yum source.
1. Install the Gnome package by entering the following command at the command line
1 |
$sudo Yum groupinstall "GNOME Desktop" "Graphical administration Tools" |
2. Update the operating level of the system
If you want to automatically enter the graphical interface the next time the system is launched, we need to change the operating level of the system and enter the following command to enable the graphical interface.
1 |
$sudo Ln-sf/lib/systemd/system/runlevel5.target/etc/systemd/system/default.target |
3. Rebooting the system
When the system starts again, it enters the graphical interface by default.
CentOS 7 Installation Gnome GUI graphical interface