centos7系统基本优化

一、关闭selinuxlinux sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config 二、设置定时任务同步时间web echo '*/5 * * * * /usr/sbin/ntpdate time.nist.gov >/dev/null 2>&1' >>/var/spool/cron/root echo "*/5
相关文章
相关标签/搜索