From ebee635c87486d497ce7483c6b615c9bde45f118 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Fri, 19 Sep 2014 13:18:47 -0700 Subject: [PATCH] Update configuration-antivirus.rst --- admin_manual/configuration/configuration-antivirus.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin_manual/configuration/configuration-antivirus.rst b/admin_manual/configuration/configuration-antivirus.rst index 0537affcc..e6af11873 100644 --- a/admin_manual/configuration/configuration-antivirus.rst +++ b/admin_manual/configuration/configuration-antivirus.rst @@ -36,7 +36,7 @@ it's a good idea to review the ClamAV documentation and your settings in Red Hat 7, CentOS 7 On Red Hat 7 and related systems you must install the Extra Packages for - Enterprise Linux (EPEL) repository, and then install ClamAV::. + Enterprise Linux (EPEL) repository, and then install ClamAV:: yum install epel-release yum install clamav clamav-scanner clamav-scanner-systemd clamav-server @@ -51,13 +51,13 @@ freshclam.conf`` explain all the options. Refer to ``/etc/passwd`` and First work through ``/etc/freshclam.conf`` and configure your options. ``freshclam`` updates your malware database, so you want it to run frequently to get updated malware signatures. Run it manually post-installation to download -your first set of malware signatures::. +your first set of malware signatures:: freshclam The EPEL packages do not include an init file for ``freshclam``, so the quick and easy way to set it up for regular checks is with a cron job. This example -runs it every hour at 47 minutes past the hour::. +runs it every hour at 47 minutes past the hour:: # m h dom mon dow command 47 * * * * /usr/bin/freshclam --quiet @@ -66,7 +66,7 @@ Please avoid any multiples of 10, because those are when the ClamAV servers are hit the hardest for updates. Next, edit ``/etc/clamd.d/scan.conf``. When you're finished you must enable -the ``clamd`` service file and start ``clamd``::. +the ``clamd`` service file and start ``clamd``:: systemctl enable clamd@scan.service systemctl start clamd@scan.service @@ -114,7 +114,7 @@ ClamAV runs in one of three modes: Daemon (Socket) ownCloud should detect your ``clamd`` socket and fill in the ``Socket`` field. This is the ``LocalSocket`` option in ``clamd.conf``. You can - run ``netstat`` to verify::. + run ``netstat`` to verify:: netstat -a|grep clam unix 2 [ ACC ] STREAM LISTENING 15857 /var/run/clamav/clamd.ctl