Knowledge Base
MilesWeb / cPanel

Learn to Install ClamAV on VPS or Dedicated Servers

Approx. read time : 2 min

Not able to detect viruses or other malicious coding files on your website? Install ClamAV.

An open-source program, ClamAV detects viruses, malware and other malicious coding/files. Being a plugin for the cPanel, it can be installed and enabled for all users on the VPS or Dedicated server.

Steps to Install ClamAV

1. Login to your WHM account.

2. Search for plugins in search box at the top left corner of WHM.

3. Select Manage Plugins.

4. Check the box to Install and Keep Updated on the left-hand side of the ClamAV logo.

5. Then click on the Save button to save these changes.

6. Then the list of what it is installing will get displayed. Please be patient until it reaches the end and states Process Complete.

Steps to Enable ClamAV

After installing ClamAV, you will need to enable it in your Feature List. This can be easily done using the Feature Manager.

1. Search for Feature in the search box on the top left corner of WHM.

2. Open the Feature Manager.

3. Under Edit a Feature List, select the Feature List that you would like to edit from the drop-down menu. Then click on the Edit button.

4. Tick the box next to Virus Scanner to enable the ClamAV tool in this Feature List.

5. Click on the Save button to save all the changes.

If you want to run ClamAV, use the Virus Scanner tool under the Advanced section of your cPanel.

Note: The option “Scan Entire Home Directory” will scan the complete cPanel account and use the most server resources.

In this way to have learned to install and enable ClamAV on your VPS and Dedicated hosting accounts.

Also Read:
How To Clean Website From Malicious Content?
Unable to upload files from cPanel file manager

Avatar
Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.
Need help? We’re always here for you.