Aktionen
Setup clamav » Historie » Revision 2
« Zurück |
Revision 2/3
(Vergleich)
| Weiter »
Jeremias Keihsler, 18.09.2024 12:04
Install procedure for ClamAV¶
Requirements¶
To install ClamAV you will need the following:- a installed and supported operating system (e.g. CentOS 9.x)
- root-access
- a fast internet connection
- epel
Preliminary Note¶
This procedure is based on a documentation supplied by https://www.hostinger.com/tutorials/how-to-install-clamav-centos7
Install¶
yum install clamav clamav-update clamd
SELinux config¶
setsebool -P antivirus_can_scan_system 1
setsebool -P clamd_use_jit 1
verify changes
getsebool -a | grep antivirus
antivirus_can_scan_system --> on antivirus_use_jit --> on
ClamAV config¶
open config file and uncomment following line
vim /etc/clamd.d/scan.conf
#LocalSocket /var/run/clamd.scan/clamd.sock
update virus-DB¶
freshclam
should result in following output
ClamAV update process started at Tue Dec 19 09:30:20 2016 main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer) Trying host database.clamav.net (69.163.100.14)... Downloading daily.cvd [100%] daily.cvd updated (version: 22739, sigs: 1100989, f-level: 63, builder: neo) Downloading bytecode-279.cdiff [100%] Downloading bytecode-280.cdiff [100%] Downloading bytecode-281.cdiff [100%] Downloading bytecode-282.cdiff [100%] Downloading bytecode-283.cdiff [100%] bytecode.cld updated (version: 285, sigs: 57, f-level: 63, builder: bbaker) Database updated (5319836 signatures) from database.clamav.net (IP: 168.143.19.95)
Service¶
systemctl start clamd@scan
systemctl enable clamd@scan
systemctl start clamav-freshclam
systemctl enable clamav-freshclam
Von Jeremias Keihsler vor 2 Monaten aktualisiert · 2 Revisionen