Knowledgebase

How to Scan Your Linux VPS for Malware with ClamAV Print

  • 0

Run on-demand or scheduled antivirus scans across web directories.

Step-by-Step Instructions

  1. Install ClamAV and update virus definitions with freshclam.
  2. Run a recursive scan on /var/www or /home.
sudo apt install -y clamav clamav-daemon
sudo freshclam
sudo clamscan -r -i /var/www/

Pro Tip: Run scans during off-peak hours using nice -n 19 to minimize CPU impact.

Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.


Was this answer helpful?

« Back