How to Install Imunify Antivirus Using a Single Command & Run CLI Scans

Step 1: Install Imunify Antivirus with a Single Command

wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh -O imav-deploy.sh && bash imav-deploy.sh

This command:

  • Downloads the official installer
  • Automatically installs and configures Imunify Antivirus
  • Is suitable for base server images or templates

Step 2: Run Malware Scans via CLI

  • Scan a Specific Website Directory:
imunify-antivirus malware on-demand start --path /home/USER/public_html
 
  • Scan Entire /home Directory (Ignoring Mail & Archives)
imunify-antivirus malware on-demand start \
--ignore-mask /home/*/mail/*,/home/*/tmp/*,*.tar.gz,*.tar,*.gz,*.tgz,*.bz,*.tbz,*.zip,*.rar \
--path /home
 
Step 3: Check Scan Status
 
imunify-antivirus malware on-demand status
imunify-antivirus malware on-demand list
 
Step 4: View Malware Scan Results & Reports
 
imunify-antivirus malware malicious list --by-scan-id SCAN_ID
 
  • antivirus
  • 1 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟