Skip to Content
Mastering CentOS 7 Linux Server
book

Mastering CentOS 7 Linux Server

by Mohamed Alibi, BHASKARJYOTI ROY
January 2016
Beginner
298 pages
6h 8m
English
Packt Publishing
Content preview from Mastering CentOS 7 Linux Server

Setting up the Clamav antivirus

Clamav is an open source antivirus tool. Its basic usage is for detecting viruses, malware, and malicious software on Linux-based machines.

To install Clamav, we need to install the EPEL repository:

$ sudo yum install epel-release

Then we can install Clamav with all its useful tools:

$ sudo yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd

Before we start configuring, we need to make sure that SELinux will let Clamav work without issues:

$ sudo setsebool -P antivirus_can_scan_system 1

To check whether the option is active, we need to type this:

$ sudo getseboot –a | grep virus

Then we remove the example configuration, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn CentOS Linux Network Services

Learn CentOS Linux Network Services

Antonio Vazquez
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 9781785282393Supplemental Content