教育-关闭SELINUX

时间:2025-02-12 14:52:59

关闭SELINUX

vi  /etc/sysconfig/selinux

调整

SELINUX=disabled(修改完需重启服务器)getenforce (查看selinux状态)如果内网部署可直接关闭防火墙,无需添加防火墙例外systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动

确定时区

date

如果时间和当前时间不对执行

timedatectl set-timezone Asia/Shanghai
support.huaweicloud.com/tcrc-education/tcrc_05.html