restart command
1. reboot
2. shutdown -r now restarts immediately (for root users)
3. shutdown -r 10 automatically restarts after 10 minutes (for root users)
4. shutdown -r 20:35 restarts at 20:35 (root users) user)
2. shutdown -r now restarts immediately (for root users)
3. shutdown -r 10 automatically restarts after 10 minutes (for root users)
4. shutdown -r 20:35 restarts at 20:35 (root users) user)
Install a graphical interface
$sudo yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
Let the system run and enter the graphical interface: update the system's runlevel
$sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
Connect to the network: The method is checked online, the second method does not work, the first method is connected
Method 1.
1. Open vi /etc/sysconfig/network-scripts/ifcfg-eth0 (each machine may be different, but the format will be "ifcfg-eth number"), change ONBOOT=no to ONBOOT=yes
2. Restart the network: service network restart
Method 2.
1. Open vi /etc/resolv.conf and add nameserver 8.8.8.8
2. Restart the network: service network restart
1. Open vi /etc/sysconfig/network-scripts/ifcfg-eth0 (each machine may be different, but the format will be "ifcfg-eth number"), change ONBOOT=no to ONBOOT=yes
2. Restart the network: service network restart
Method 2.
1. Open vi /etc/resolv.conf and add nameserver 8.8.8.8
2. Restart the network: service network restart