① 通过systemctl stop(disable) firewalld命令关闭防火墙,systemctl enable firewalld命令可以打开防火墙,通过sed-i's/SELINUX=.*/SELINUX=disabled/'/etc/selinux/config命令关闭SELinux支持。
② 通过yum -y update命令更新系统,通过yum -y install+软件名可以下载软件。
③ 通过systemctl poweroff 、poweroff、shutdown –h now命令关机;通过systemctl halt、halt、shutdown –Hnow命令停机;通过systemctl reboot、shutdown -rnow、reboot命令重启。