Tag: 病毒
-
CentOS7 安装Clamav 用于linux的病毒扫描
I, CentOS7 安装Clamav 安装依赖 yum -y install gcc-c++ pcre-devel zlib-devel openssl-devel llvm-devel libxml2 libxml2-devel libcurl-devel 解压编译安装 tar zxf clamav-0.102.1.tar.gz cd clamav-0.102.1 ./configure –prefix=/opt/clamav 或者有libcurl-devel报错情况下: ./configure –prefix=/opt/clamav –disable-clamonacc make && make install II, 修改配置文件 groupadd clamav useradd clamav -s /sbin/nologin mkdir /opt/clamav/logs mkdir /opt/clamav/share/update touch /opt/clamav/logs/{freshclam.log,clamd.log} chown -R clamav:clamav /opt/clamav/logs chown clamav.clamav /opt/clamav/share/update cp /opt/clamav/etc/clamd.conf.sample /opt/clamav/etc/clamd.conf…