How do I scan server for viruses with ClamAV?
Hello friends here i am come with a tutorial to scan a server with CalmAV.
Here is installation and other command for linux.
To install CalmAV on linux / centos
Yum install CalmAV
For Update CalmAV use below command
By this command your virus definitions will update.
Install CalmAV via Terminal
sudo apt-get install clamav
Now you have to update the virus definitions with
Now both linux and ubuntu user use Below command to scan there server
Now you are ready to scan your server
clamscan options file/folder
To check all files on the computer, displaying the name of each file:
clamscan -r /
To check all files on the computer, but only display infected files and ring a bell when found:
clamscan -r --bell -i /
To check files in the all users home directories:
clamscan -r /home
To check files in the USER home directory and move infected files to another folder:
clamscan -r --move=/home/USER/VIRUS /home/USER
To check files in the USER home directory and remove infected files (WARNING: Files are gone.):
clamscan -r --remove /home/USER
To see more options:
This is all we need to update scan and install of CalmAV on server.
Thank’s for reading our article .