Monday, March 2, 2009

Cpanel Antivirus

Cpanel has been around since the start of webhosting industry, it has helped system administrators and CEO's alike in generating revenues and giving service to their customers, considering about security, I have posted about CSF (ConfigServer Security and Firewall). At this time , we are going to focus on installing antivirus in Cpanel. The antivirus that Cpanel is using is called ClamAV, an opensource anti-virus software capable of having its signatures updated through crontab , first we will go and explore how to integrate ClamAV into Cpanel software. Here goes :

1. Login to Cpanel / WHM
2. Go to Cpanel --> Manage Plugins
3. Click on clamavconnector to install and then click Save, (sit back and relax to watch Cpanel scroll through a lot of data as it installs the software to your server)
4. Once it is installed, ClamAV option can be found under Plugins ---> Configure ClamAV Scanner, in here you can customize and give the users option with what to scan , you can specify whether to scan emails only or web space, it is entirely up to you, a word of caution though , multiple clamav daemons running on the server is quite memory intensive, I would usually recommend this if your system has a 4GB memory or higher , well memory chips nowadays are cheap so ... add away.
5. For your to update ClamAV from time to time , you can login to SSH and run freshclam, this updates the database signatures and keeps your antivirus up-to-date.

Drop by comments so that I will be able to update if there are issues

No comments: