Author - StudySection Post Views - 228 views
Clamav Antivirus

Steps to Installing Clamav Antivirus with Malware detection tool

Following are the steps to install Clamav antivirus with malware detection tool:
Step1. Run update command to get latest repos
# sudo apt-get update

Step2. Run the below command to install Clamav antivirus
# sudo apt-get install clamav clamav-daemon

Step3. Now you have to stop the antivirus service
# sudo systemctl stop clamav-freshclam

Step.4 Run the below command to get the latest virus definitions
# sudo freshclam

Step5. Now you have to start the antivirus service again
# sudo systemctl start clamav-freshclam

Step6. Below is the command to run manual scan
# sudo clamscan --infected --recursive --remove /home/user/

Step7. Now you have this step optional if you need more security
# wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
→ Extract the compressed file
# tar -xvf maldetect-current.tar.gz
→ to get the extract name of downloaded file
# ls -l | grep maldetect
→ change directory as shown in last command
# cd maldetect-1.6.4/
→ Run installer to install this addon
# ./install.sh
→ Below is the location to edit the configuration file.
# vi /usr/local/maldetect/conf.maldet

Use the below command to start scanning any location for malware
# maldet --scan-all /home/
That is All you can set the above commands in crontab so that these can be run at desired date and time.

If you have skills in PHP programming and you want to enhance your career in this field, a PHP certification from StudySection can help you reach your desired goals. Both beginner level and expert level PHP Certification Exams are offered by StudySection along with other programming certification exams.

Leave a Reply

Your email address will not be published.