Run the following command to check which mode is used.
SystemctlGet-Default
Startup graphic interface
- SystemctlSet-Default graphical.tar get (graphical interface mode)
- Reboot (restart the system)
If you want to switch back to the boot startup character interface mode
- SystemctlSet-Default multi-user.target (character interface mode)Bytes ------------------------------------------------------------------------------------------------------
Step 1: first check whether Yum is installed and whether the network has a network. If neither of the two are available, first solve the network and install yum.
(For configuration steps, see my blog post-centos-configure network address)
Step 2: Enter the following command in the command line to install the gnome package.
# Yum groupinstall "GNOME Desktop" "graphical administration tools"
Step 3: update the system running level.
# Ln-SF/lib/systemd/system/runlevel5.target/etc/systemd/system/default.tar get
Step 4: restart the machine. Start to enter the GUI by default.
# Reboot
Centos installation graphical interface