265 curl www.baidu.com先看看有网吗?
266 yum install -y pcre* zlib zlib-devel libssl-devel libssl
267 yum install -y openssl
268 yum install -y epel-release
269 yum install clamav clamav-server clamav-data clamav-update clamav-filesystem clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd
270 /usr/bin/freshclam 更新病毒库
271 clamscan -r /root 扫描指定目录
272 service crond start
273 service crond status
274 chkconfig crond on
275 chkconfig –list crond
276 vi /etc/crontab
277 cd /root
278 ls
279 vim clamav.sh
280 ls
281 chmod u+x clamav.sh
282 ls
283 ./clamav.sh 写入freshclam
284 vi /etc/crontab
285 crontab -e# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed00 2 * * 7 /root/clamav.sh表示每周7的凌晨2点跑一次这个文件
286 crontab -l
287 crontab -e
288 crontab -l
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
安装ClamAV对centos系统进行病毒查杀
安装ClamAV对centos系统进行病毒查杀
安装ClamAV对centos系统进行 -
让你的病毒库自动备份升级
[url]http://netsecurity.51cto.com[/url] 2006-11-28 09:03 &nbs
职场 休闲 让你的病毒库自动备份升级