How to install ClamAV on MyVesta

Post Reply
shahidirfan
Posts: 24
Joined: Sat Sep 05, 2020 11:28 am
Been thanked: 2 times

Hi,

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
myVesta
Site Admin
Posts: 948
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 9 times
Been thanked: 6 times

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
shahidirfan
Posts: 24
Joined: Sat Sep 05, 2020 11:28 am
Been thanked: 2 times

It did not work or install calmav after installing myvestacp
Post Reply