星期三, 12月 13, 2006

ClamAV install and upgarde

ClamAV
/etc/passwd
clamav:x:100:101:Clam Anti Virus Checker:/var/clamav:/sbin/nologin
/etc/group
clamav:x:101:
/etc/shadow
clamav:!!:12642::::::

tar xzvf clamav-0.80rc3.tar.gz
./configure
make
make install

/usr/local/etc
clamav.conf
freshclam.conf
# Comment or remove the line below.
#Example
------------------------------------------------------------------------------------

What is the recommended procedure to update ClamAV installed from sources?
This is the suggested procedure by an user:

My process for installing a new version:
Preserve the previous build for fall-back purposes

1. dl the source for the version of interest
2. read the dox for build changes
3. create a configure/make script (for repeatability - mine has my chosen options in it)
4. examine the new conf files for interesting entries
5. make backup copies of conf files from previous version
6. stop clamav procs
7. rm -f /usr/local/lib/*clam* (to remove old libraries)
8. make install
9. check again conf files - adjust as needed for new version
10. restart clamav processes

If you run make -n install you will be shown what make would do in an install
and where things will be put. This will tell you what you need to remove.

沒有留言: