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 :)
 
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
 
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:
Thanks

Thanks guys, but question was about using antyvir via DirectAdmin


Assuming i cant use it via DA? :)
 
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:
Back
Top