摘要:现象:[root@oldboyedu01-nb ~]# chkconfig iptables on [root@oldboyedu01-nb ~]# chkconfig |grep ipt iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@ol
阅读全文
07 2018 档案
摘要:一、把命令\脚本放入/etc/rc.local中 二、通过chkconfig管理 step 01 脚本放在/ect/init.d/ 下,例如:脚本为/ect/init.d/oldboyd step 02 给脚本加执行权限 chmod+x /ect/init.d/oldboyd step 03 在脚本
阅读全文
摘要:一、crontab基础知识 安装包:cronie 相关文件:存放目录 ——/var/spool/cron/root(root为用户名) 日志记录 ——/var/log/cron(无法显示正误) 用户黑名单——/etc/cron.deny 前提:1.crond是否运行:/etc/init.d/cron
阅读全文

浙公网安备 33010602011771号