千家信息网

centos7 关闭防火墙-selinux-同步时间命令-直接执行-不需要脚本运行-简单高效

发表于:2025-02-03 作者:千家信息网编辑
千家信息网最后更新 2025年02月03日,systemctl stop firewalld && systemctl disable firewalld && sed -i 's/enforcing/disabled/' /etc/selin
千家信息网最后更新 2025年02月03日centos7 关闭防火墙-selinux-同步时间命令-直接执行-不需要脚本运行-简单高效

systemctl stop firewalld && systemctl disable firewalld && sed -i 's/enforcing/disabled/' /etc/selinux/config && yum install -y ntpdate && ntpdate time.windows.com

cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 查看cpu数量

0