Scanning the server for viruses using ClamAV in Ubuntu
Sometimes it turns out that we have a site infected files by date and this script, and this is the template holes.
Reasons can be many worth it once in a while to make a scan server. Here comes with the help of an excellent scanner ClamAV. Here is a simple way for the installation of the first scan, and for the installation of home computers graphic version which some of the time alone will make us scan.
At the beginning you are installing the scanner
1 | sudo apt-get install clamav |
then we update the virus database:
1 | sudo freshclam |
The next step is to execute the same scan command:
1 | clamscan -r --bell -i /home/rafal/domains |
Where:
/home/admin/domains
We change the path you want to scan.
Recommendation:
1 | clamscan -r --remove / |
Perform for us scan the entire server along with the removal of infected files.
This can take a lot of.
The graphical frontend for ClamAV is ClamTK
To make installation of its type in the console:
1 | sudo apt-get install clamtk |
Then we adjust according to your preference.