How to install ClamAV on MyVesta

Post Reply
shahidirfan
Posts: 3
Joined: Sat Sep 05, 2020 11:28 am
How to install ClamAV on MyVesta

Post 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.

User avatar
dpeca
Site Admin
Posts: 236
Joined: Fri Jun 19, 2020 9:59 am
Location: Serbia, Niš
Re: How to install ClamAV on MyVesta

Post by dpeca »

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


Post Reply