Step by step Tutorial to install ClamAV on centOS | 9to5host



Step by step Tutorial to install ClamAV on centOS | 9to5host

Step by step Tutorial to install ClamAV on centOS | 9to5host

Free & Best Antivirus for Linux servers is ClamAV. Email scanning, Web scanning and End point security are the few features which help secure your centOS server

Step 01 : install special package ‘epel’
yum install -y -q epel-release

Step 02 : Download and install clamAV from epel package
yum –enablerepo=epel -y -q install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd

Step 03 : update config file to replace examples
sed -i -e “s/^Example/#Example/” /etc/clamd.d/scan.conf
sed -i -e “s/^Example/#Example/” /etc/freshclam.conf
sed -i ‘s/^#LocalSocket /run/clamd.scan/clamd.soc/LocalSocket /run/clamd.scan/clamd.soc/’ /etc/clamd.d/scan.conf

Step 04 : Update ClamAV database
freshclam

Step 05: start and enable the services
systemctl start clamav-freshclam.service
systemctl enable clamav-freshclam.service
systemctl enable clamd@scan
systemctl start clamd@scan

Detail explanation :
https://9to5.host/275/free-and-best-antivirus-for-linux-vps-vds-dedicated-server/

Quick Links:
HomePage : https://9to5host.com
Shared Hosting : https://9to5host.com/shared-hosting.php
Reseller Hosting : https://9to5host.com/reseller-hosting.php
VPS Hosting : https://9to5host.com/vps-hosting.php
Dedicated Hosting : https://9to5host.com/dedicated-hosting.php
Contact us : https://blog.9to5host.com/contact-us/

Comments are closed.