Skip to content

Setup Clamav (Virus Scanning)

Brandon Spears edited this page Oct 19, 2018 · 1 revision

Note: This is only necessary if you need virus scanning, and remember to uncomment the clamav gem before commiting

  1. Make sure that you have Clamav installed brew install clamav
  2. Go into the repository and uncomment the clamav gem in the Gemfile gem 'clamav'
  3. Duplicate and rename the freshclam.conf.sample file cp /usr/local/etc/clamav/freshclam.conf.sample /usr/local/etc/clamav/freshclam.conf
  4. Edit freshclam.conf and comment out the line that starts with Example vim freshclam.conf
  5. Save the file
  6. Update your local virus definitions freshclam