Kingdom oF Server

February 24, 2009

Install clamav by ports

Filed under: Unix

Install clamav from ports Issue the following commands as root: # cd /usr/ports/security/clamav # make DWITH_MILTER Be sure to specify the "DWITH_MILTER" command line option to make. Otherwise clamav won’t run as a stand-alone sendmail milter. If you don’t specify "-DWITH_MILTER" and are installing clamav for the first time, a configuration menu will prompt you for options and let you to select the MILTER option by pressing the space bar to make an "X" to the left of "MILTER", then press tab and Enter. The install "remembers" what you specified the first time you installed clamav and uses those options for all subsequent clamav builds. If you prefer using the menu interface and want to revisit that menu, you can instead issue the following commands: # cd /usr/ports/security/clamav # make config When the compilation completes, issue the following command to install clamav: # make install If you have installed an earlier version of clamav, the above will tell you about it, asking you to issue the commands "make deinstall" followed by "make reinstall". If that happens to you, issue both commands. The installation should add a user and group named clamav. You can verify that this happened by examining /etc/passwd and /etc/group after the installation completes. The make install should install these executables: /usr/local/bin/clamav-config /usr/local/bin/clamdscan /usr/local/bin/clamscan /usr/local/bin/freshclam /usr/local/bin/sigtool /usr/local/sbin/clamav-milter /usr/local/sbin/clamd as well as the following startup files: /usr/local/etc/rc.d/clamav-clamd.sh /usr/local/etc/rc.d/clamav-freshclam.sh /usr/local/etc/rc.d/clamav-milter.sh

http://www.technoids.org/clamav-milter.html#2

Comments »

The URI to TrackBack this entry is: http://faw.blogsome.com/2009/02/24/install-clamav-by-ports/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.