又到ClamAV升级时
ClamAV又过期了,用这个杀毒软件就这点不好,要经常性的手动升级软件,并且有时候配置选项还会改变,还要修改配置文件等。这不,刚好sourceforge也上不去,找找代理吧,试了五六个,终于还是下载过来了,好吧,升级!
老套路加上新变化
tar -xzvf clamav-0.93.1.tar.gz;cd clamav-0.93.1
./configure --disable-zlib-vcheck;make ;make install
./configure --disable-zlib-vcheck;make ;make install
#升级一下看配置文件是否生效,如果没报错则OK
freshclam --verbose
运行时会报如下错误:
error while loading shared libraries: libclamav.so.4: cannot open shared object file: No such file or directory
没关系,运行下面的命令可解决:
ldconfig
重启ClamAV服务使生效
/etc/init.d/clamav stop
/etc/init.d/clamav start
/etc/init.d/clamav start
查看日志是否正常
tail -f /var/log/clamav/clamd.log
Sorry, comments for this entry are closed at this time.