Page 1 of 1

How to install ClamAV on MyVesta

Posted: Sun Oct 25, 2020 6:11 am
by shahidirfan
Hi,

First, I have skipped the Calmav to install on myvestacp. How can I install it later? I have 8GB Ram VPS with 4Core.

Re: How to install ClamAV on MyVesta

Posted: Sun Oct 25, 2020 2:42 pm
by myVesta

Code: Select all

apt-get update
apt-get install clamav-daemon
wget https://raw.githubusercontent.com/myvesta/vesta/master/install/debian/10/clamav/clamd.conf -O /etc/clamav/clamd.conf
gpasswd -a clamav mail
gpasswd -a clamav Debian-exim
freshclam
update-rc.d clamav-daemon defaults
service clamav-daemon restart

sed -i "s/^#CLAMD/CLAMD/g" /etc/exim4/exim4.conf.template
service exim4 restart 

sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav-daemon'/" /usr/local/vesta/conf/vesta.conf