It isn't to hard. You just get to familiarize yourself with apt-source and building Debian packages. Not really very difficult.
Of course, it isn't "easy-peasy" ... of course you *COULD* always go with a Gentoo setup. On Wed, 2014-05-28 at 13:47 +1200, Michael Heuberger wrote: > Too bad :( > > On 28/05/14 13:46, Scott Kitterman wrote: > > No. It's a compile time option. > > > > Scott K > > > > On Wednesday, May 28, 2014 12:05:33 Michael Heuberger wrote: > >> Thanks Kevin > >> > >> So, how can I set --disable-llvm and --with-system--llvm when I have > >> installed clamav via apt-get? > >> > >> I searched for solutions in Google but found none. Any sugestions? > >> > >> Any chance I can edit that in /etc/clamav/clamd.conf ? > >> > >> And are there any other tweaks I could do in /etc/clamav/clamd.conf to > >> reduce it's memory footpring? > >> > >> Cheers > >> Michael > >> > >> On 28/05/14 02:42, Kevin Lin wrote: > >>> One way you can reduce the amount of memory that clamav uses is to specify > >>> the "--disable-llvm" flag to clamav configuration line. This flag tells > >>> clamav not to compile the packaged llvm project into libclamav library and > >>> will use up less space with libclamav is loaded into memory. Note that > >>> this > >>> means bytecode signatures will be run on the internal interpreter instead > >>> of compiled to JIT using llvm. > >>> > >>> The downside is that bytecode signatures with run slightly slower on the > >>> clamav interpreter than with llvm JIT. However, bytecodes make up a fairly > >>> small amount of clamav's signatures and, if JIT is desired with a smaller > >>> memory footprint in clamav, you can configure clamav with > >>> "--with-system-llvm" to use the system's native llvm. > >>> > >>> -Kevin > >>> > >>> > >>> On Tue, May 27, 2014 at 10:29 AM, Michael Heuberger < > >>> > >>> michael.heuber...@binarykitchen.com> wrote: > >>>> Hello everyone > >>>> > >>>> On my 2GB server clamav uses a lot of memory: > >>>> > >>>> ``` > >>>> 3460 clamav 476528 kB /usr/sbin/clamd > >>>> ``` > >>>> > >>>> Are there tips how to tweak `/etc/clamav/clamd.conf` to reduce its > >>>> memory usage? > >>>> > >>>> Cheers > >>>> Michael > >>>> > >>>> -- > >>>> > >>>> Binary Kitchen > >>>> Michael Heuberger > >>>> 4c Dunbar Road > >>>> Mt Eden > >>>> Auckland 1024 > >>>> (New Zealand) > >>>> > >>>> Mobile (text only) ... +64 21 261 89 81 > >>>> Email ................ mich...@binarykitchen.com > >>>> Website .............. http://www.binarykitchen.com > >>>> > >>>> _______________________________________________ > >>>> Help us build a comprehensive ClamAV guide: > >>>> https://github.com/vrtadmin/clamav-faq > >>>> http://www.clamav.net/support/ml > >>> _______________________________________________ > >>> Help us build a comprehensive ClamAV guide: > >>> https://github.com/vrtadmin/clamav-faq > >>> http://www.clamav.net/support/ml > > _______________________________________________ > > Help us build a comprehensive ClamAV guide: > > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/support/ml > -- greg folkert - systems administration and support web: donor.com email: g...@donor.com phone: 877-751-3300 x416 direct: 616-328-6449 (direct dial and fax) "True faith is belief in the reality of absolute values." -- William Ralph Inge _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml