Changes

From SME Server
Jump to navigationJump to search
Added documentation and uninstall sections plus some minor corrections
Line 178: Line 178:  
* ClamAV will reload all its databases from ''/var/clamav'' every 30 minutes by default
 
* ClamAV will reload all its databases from ''/var/clamav'' every 30 minutes by default
   −
All the files (apart from the cron job) are in ''/opt/sanesecurity'' and soft linked to the main directories.
+
All the files (apart from the cron job and downloaded databases) are in ''/opt/sanesecurity'' and soft linked to the main directories.
    
The ''sanesecurity-install.sh'' script used above can be run again if the Sane Security package of scripts etc is updated. Current version is 3.7 (April 2010). This assumes that nothing significant changes with regard to how the package needs to be installed.
 
The ''sanesecurity-install.sh'' script used above can be run again if the Sane Security package of scripts etc is updated. Current version is 3.7 (April 2010). This assumes that nothing significant changes with regard to how the package needs to be installed.
 +
{{Note box|Running ''sanesecurity-install.sh'' again will download the latest Sane Security .tar.gz package and unpack/install it. This will overwrite the existing files, including ''/etc/clamav-unofficial-sigs.conf'' and any manual adjustments you may have made to the list of databases you want to be downloaded}}
 +
 +
===Documentation===
 +
Documentation including a Change Log can be found in ''/opt/sanesecurity/doc'' as well as
   −
{{Note box|Running ''sanesecurity-install.sh'' again will download the latest Sane Security .tar.gz package and unpack/install it. This will overwrite the existing files, including ''/etc/clamav-unofficial-sigs.conf'' and any manual adjustments you may have made to the list of databases you want to be downloaded}}
+
man clamav-unofficial-sigs
    
===Signature Databases===
 
===Signature Databases===
Line 193: Line 197:  
{{Note box | Adding unofficial signatures increases memory usage. To increase the ''clamd'' memory limit try setting ''MemLimit'' to a value greater than 300000000 (see [http://wiki.contribs.org/DB_Variables_Configuration#Clam_AntiVirus_.28clamav.29 here] for reference). Since clamav-0.96 and smeserver-clamav-2.0.0-8 the default ''MemLimit'' for ''clamd'' has been 600000000 and should be sufficient. }}
 
{{Note box | Adding unofficial signatures increases memory usage. To increase the ''clamd'' memory limit try setting ''MemLimit'' to a value greater than 300000000 (see [http://wiki.contribs.org/DB_Variables_Configuration#Clam_AntiVirus_.28clamav.29 here] for reference). Since clamav-0.96 and smeserver-clamav-2.0.0-8 the default ''MemLimit'' for ''clamd'' has been 600000000 and should be sufficient. }}
    +
===Uninstall===
 +
Apply the following commands to uninstall
 +
 +
rm -f /etc/cron.d/clamav-unoffical-sigs-cron
 +
rm -fr /opt/sanesecurity
 +
rm -fr /usr/unofficial-dbs
 +
rm -f /var/log/clamav/unofficial-sigs*
 +
rm -f /var/clamav/*.ndb
 +
rm -f /var/clamav/*.ldb
 +
rm -f /var/clamav/*.ftm
 +
rm -f /var/clamav/*.hdb
 +
signal-event clamav-update
 +
 
===Old Installation Notes===
 
===Old Installation Notes===
 
A previous installation of the Sane Security scripts was provided for SME by swerts-knudsen.dk, and the installation notes for this are reproduced below for completeness. This is for version 2.4 of the scripts however, whereas the current version installed as above is 3.7 (April 2010)
 
A previous installation of the Sane Security scripts was provided for SME by swerts-knudsen.dk, and the installation notes for this are reproduced below for completeness. This is for version 2.4 of the scripts however, whereas the current version installed as above is 3.7 (April 2010)

Navigation menu