Difference between pages "Linux" and "ClamAV"

From WeWeWeb Wiki
(Difference between pages)
Jump to navigationJump to search
 
(Created page with "Homepage of clamav: http://www.clamav.net/ For Fedora, After adding Fedora US to yum & up2date yum install clamav yum install clamav-update Test the clamav updat...")
 
Line 1: Line 1:
[[ClamAV]]
+
Homepage of clamav: http://www.clamav.net/
  
[[DNS]]
+
For Fedora,
  
[[firewall]]
+
After adding Fedora US to [[yum]] & [[up2date]]
  
[[Java]]
+
yum install clamav
 +
yum install clamav-update
  
[[LinuxSecuiry]]
+
Test the clamav update interactively by:
  
[[LinuxVPN]]
+
freshclam
  
[[LinuxDailup]]
+
To activate the freshclam,
  
[[MailScanner]]
+
In /etc/cron.daily,
 +
add a file clamav-update.cron:
  
[[MediaWiki]]
+
  #!/bin/sh
 +
  /usr/bin/freshclam --quiet
  
[[Mozilla]]
+
set execute mode: chmod +x clamav-update.cron
  
[[MySQL]]
+
For CentOS:
  
[[NX]]
+
It has yum repository, to install:
  
[[OpenLDAP]]
+
RPMForge: rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
  
[[perl]]
+
Source: http://dag.wieers.com/rpm/FAQ.php#B
  
[[Postgresql]]
+
To install clamav from RPM SRC:
  
[[quota]]
+
Download the independent rpm src file in http://packages.sw.be/clamav/
  
[[RPM]]
+
Eg. clamav-0.96.2-2.rf.src.rpm
  
[[RAID]]
+
Uninstall the old version.
  
[[Samba]]
+
Change to root and install as normally done for an RPM
  
[[SELinux]]
+
  rpm -ivh clamav-0.96.2-2.rf.src.rpm
  
[[Tomcat]]
 
  
[[up2date]]
+
Change directory to /usr/src/redhat/SPECS/ and issue the command
  
[[VNCServer]]
+
rpmbuild -ba --clean clamav.spec
  
[[yum]]
+
If you are not interested in the sendmail milter, then you can add --without milter. (need to ensure the packet check-devel has been installed.)
  
 +
Upon completion, you can find the rpm in /usr/src/refhat/RPMS/i386.
 
----
 
----
Goto [[電腦]]
+
Goto [[Linux]]

Latest revision as of 11:58, 27 January 2022

Homepage of clamav: http://www.clamav.net/

For Fedora,

After adding Fedora US to yum & up2date

yum install clamav
yum install clamav-update

Test the clamav update interactively by:

freshclam

To activate the freshclam,

In /etc/cron.daily,
add a file clamav-update.cron:
 #!/bin/sh
 /usr/bin/freshclam --quiet
set execute mode: chmod +x clamav-update.cron

For CentOS:

It has yum repository, to install:

RPMForge: rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Source: http://dag.wieers.com/rpm/FAQ.php#B

To install clamav from RPM SRC:

Download the independent rpm src file in http://packages.sw.be/clamav/

Eg. clamav-0.96.2-2.rf.src.rpm

Uninstall the old version.

Change to root and install as normally done for an RPM

 rpm -ivh clamav-0.96.2-2.rf.src.rpm


Change directory to /usr/src/redhat/SPECS/ and issue the command

rpmbuild -ba --clean clamav.spec

If you are not interested in the sendmail milter, then you can add --without milter. (need to ensure the packet check-devel has been installed.)

Upon completion, you can find the rpm in /usr/src/refhat/RPMS/i386.


Goto Linux