How to install ClamAV on MyVesta
-
- Posts: 7
- Joined: Sat Sep 05, 2020 11:28 am
How to install ClamAV on MyVesta
Hi,
First, I have skipped the Calmav to install on myvestacp. How can I install it later? I have 8GB Ram VPS with 4Core.
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
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