Linux commands
1. Permanently modify the hostname
hostnamectl set-hostname new name
Restart the system:
2. View the status of the hostname
hostnamectl status
3. Set the system language
View the language localectl status used by the current system
Set the system language to Chinese (you can use this command when you select the wrong language when installing the virtual machine):
localectl set-locale LANG=zh_CN.utf8
4. View the system startup time
systemd-analyze
5. Turn off the firewall
5.1 Temporary closure
systemctl stop firewalld.service
setenforce 0
5.2 Permanent closure
vim /etc/sysconfig/selinux