VPS used in production stores data of all websites and sometime, we use the VPS to develop/install applications that might cause the problem with virus. ClamAV is free anti-virus for Unix. It would scan files/email. Here is configuration of ClamAV and "Get Started" steps:
VPS used in production stores data of all websites and sometime, we use the VPS to develop/install applications that might cause the problem with virus. ClamAV is free anti-virus for Unix. It would scan files/email. Here is configuration of ClamAV and "Get Started" steps:
sudo apt-get install clamav clamav-daemon
Then run database update the first time
sudo freshclam
Then start the clam daemon and clam updater
sudo /etc/init.d/clamav-daemon start
sudo /etc/init.d/clamav-freshclam start
check its status
sudo /etc/init.d/clamav-daemon status
sudo /etc/init.d/clamav-freshclam status
Create a folder with report.txt to log the result
To scan the whole VPS, use command
sudo clamscan -i -r -l /path/to/file/report.txt