Begginer question

UselessBoy

New member
Joined
Jan 10, 2018
Messages
5
Installation Clam Anti Virus (ClamAV) on DirectAdmin / CentOS


Can i use ClamAV via direct admin qui ? is it compatible with debian?
I find some information about it. but i don't actually understand how it's works. I try install it via ssh.

So question is:

Can i use antivirus via DA (qui) after installation on my server?
Can i install it on debian?


Thanks for help. I am trying my best :)
 

Awd

Verified User
Joined
Aug 9, 2015
Messages
316
Yes, it is possible.

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav
Assuming you have custombuild 2 installed.

After installing restart Exim
Code:
service exim restart
t
 

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
435
Location
Arnhem, NL
Don't forget to enable ClamAV email & FTP scanning;

Code:
clamav_exim=yes
pureftpd_uploadscan=yes
:)

As far as I know there is no plugin for ClamAV to use it within the DA interface. Everything is done with terminal commands. If you search for "ClamAV basic commands" or something like that you know the basics. Example (recursively scan folder and only show infected files):

Code:
clamscan -r -i /path/to/folder/to/scan
 
Last edited:

UselessBoy

New member
Joined
Jan 10, 2018
Messages
5
Thanks

Thanks guys, but question was about using antyvir via DirectAdmin


Assuming i cant use it via DA? :)
 

webmaster-hub

Verified User
Joined
Oct 6, 2007
Messages
29
Location
France
For the recent version of clamav, you need to update /etc/systemd/system/clamd.service and replace
--nofork=yes
by
--foreground=yes
at the --nofork parameter has been suppressed in the latest version ;)
 
Last edited:
Top