How to install ClamAV on MyVesta

Post Reply
Posts: 11
Joined: Sat Sep 05, 2020 11:28 am


First, I have skipped the Calmav to install on myvestacp. How can I install it later? I have 8GB Ram VPS with 4Core.
User avatar
Site Admin
Posts: 908
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Code: Select all

apt-get update
apt-get install clamav-daemon
wget -O /etc/clamav/clamd.conf
gpasswd -a clamav mail
gpasswd -a clamav Debian-exim
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
Post Reply