ClamAV Installation

1. Download latest package
# useradd -s /sbin/nologin -c “Clam AV” clamav
# tar -zxvf clamav-0.96.3.tar.gz
# cd clamav-0.96.3
# ./configure
note: install package needed first and do ./configure again
yum install gcc-c++
yum install zlib-devel
# make && make install

2. Edit config file located at /usr/local/etc (clamd.conf and freshclam.conf)
for clamd.conf
# vi /usr/local/etc/clamd.conf
comment # example
comment # LocalSocket /tmp/clamd
comment # FixStaleSocket
uncomment TCPSocket 3310

for freshclam.conf
# vi /usr/local/etc/freshclam.conf
comment # example

3. Run freshclam to update virus definition files
# freshclam

NOTE: copy the init file for automatic start in bootup

# /usr/local/sbin/clamd -c /usr/local/etc/clamd.conf

4. # cp clamd /etc/init.d/clamd
note: —–-script to start clamd

# chmod u+x /etc/init.d/clamd
note: —–executable


Mag-iwan ng Tugon

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Baguhin )

Twitter picture

You are commenting using your Twitter account. Log Out / Baguhin )

Facebook photo

You are commenting using your Facebook account. Log Out / Baguhin )

Google+ photo

You are commenting using your Google+ account. Log Out / Baguhin )

Connecting to %s