Virus Scanning
Key Notes
The tool almost universally recommended for use on a Raspberry Pi is ClamAV.
Installation
To install ClamAv on the machine, open a terminal emulator, and enter this command:
|
sudo apt install clamav |
Then create the directories for use when running the scanner.
|
cd /home/reuben |
Running the Scanner
To run the ClamAv scanner it is key to first update the ClamAV’s official virus signature databases on the machine. To do that, open a terminal emulator, and enter this command:
|
sudo freshclam |
Once the virus signature databases are updated, you can run the ClamAv scanner on the machine. (The folder is ClamAv - Linux is case-sensitive, so it must match the folder created above. nice -n 19 runs the scan at low priority so it doesn't compete with LinuxCNC.) In the terminal emulator, enter this command:
|
sudo nice -n 19 clamscan -r -i / --move=/home/reuben/ClamAv/SuspiciousFiles --log=/home/reuben/ClamAv/ScanLog.txt |
|
eMail comments to |
