1. Turn off the firewall and SELinux
[root@server ~]# systemctl stop firewalld //临时关闭
[root@server ~]# systemctl disable firewalld //取消开机启动
[root@server ~]# setenforce 0 //临时关闭,重启失效
2. Set the host name
[root@server ~]# hostnamectl set-hostname //新主机名
[root@server ~]# reboot //重启系统
3. Change the yum warehouse source
// 使用xftp将yum配置文件上传到/etc/yum.repos.d目录中
[root@server ~]# yum clean all
[root@server ~]# yum makecache
4. Make snapshots
vmware
settings-
>
Virtual machine menu-
>
Snapshot-
>
Take a snapshot-
>
Name (see the name)
->
Take a snapshot-
>
Wait for the progress in the lower left corner to finish
congratulations! ! ! At this point, all software installation and operating system installation processes are over.
5. Correct shutdown and restart
- Reboot: reboot
- Shutdown: shutdown now
6. Common shortcut keys and commands
shortcut key | effect |
Tab | word completion |
ctrl+c
|
Terminate current task
|
ctrl+l
|
clear screen
|
ctrl+insert
|
copy
|
shift+insert
|
Paste
|
ctrl+shift+=
|
Enlarge font size
|
ctrl+-
|
Reduce font size
|
ctrl+z
|
Terminate process
|