天天看點

Deploy ClamAV on Ubuntu 14.04 64bit

Installing from source

  • Check Requirements
  • Uninstall any old version, see UninstallClamAV (Note: this isn’t essential, but removes sources of problems).
  • wget the source gzip file, see WhichVersion
  • untar the source to an appropriate location. Note that most modern versions of tar will automatically ungzip for you.
  • ensure you have a user clamav and group clamav.
    • If you’re using a different group/user you must specify that using the –with-user and/or –with-group option when you run configure
  • Configure the build:
    • for clamav-milter support ./configure –enable-milter
    • to support new features ./configure –enable-experimental
    • otherwise ./configure
  • run make
  • if you did not uninstall the previous version, stop any running services.
  • as root, run “make install” to install the binaries
  • it is recommended that you run ldconfig as root after installing
  • restart any relevant services.
  • Run freshclam manually, to ensure your AV definitions are up to date.

Requirements

Mandatory:

  • C compiler
  • zlib library
    Note: you must compile with a shared library, use: make clean ; ./configure -s before make when building zlib

Optional:

  • GMP: for digital signatures
  • cURL: for mail follow url

繼續閱讀