Author Topic: Use Avast on linux server  (Read 9443 times)

0 Members and 1 Guest are viewing this topic.

rgesnot

  • Guest
Use Avast on linux server
« on: October 05, 2008, 09:24:08 PM »
Hello,

1) Is it possible to use avast on linux server without install it (just untar) ?

2) Is it possible install/use avast on linux server without be root ?

3) Where I can find document to use avast in command line ?

4) If 1) and 2) are negative, how can I install avast on a linux server and how can unistal it.

I don't want a mail scan or realtime scan, ... I want only scan by command line.

Best regards
RG

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Use Avast on linux server
« Reply #1 on: October 06, 2008, 12:17:43 PM »
Hello,

1) Is it possible to use avast on linux server without install it (just untar) ?

2) Is it possible install/use avast on linux server without be root ?

3) Where I can find document to use avast in command line ?

4) If 1) and 2) are negative, how can I install avast on a linux server and how can unistal it.

I don't want a mail scan or realtime scan, ... I want only scan by command line.

Best regards
RG

yes, it is, why not - with chroot and LD_LIBRARY_PATH you can "install" nearly all applications without real installation :). All what's needed is the configuration file avastengine.conf (in /etc globally, or in your home directory), the library libavastengine-4.so (set LD_LIBRARY_PATH to the directory where it lies), the 400.vps file (location specified in avastengine.conf as Avast4DataDir), and the binary itself (avastcmd - part of avast4server package, there's also manpage, if you don't like -h ;).

so yes, yes, yes.. that's all :).
regards,
pc
« Last Edit: October 06, 2008, 12:23:09 PM by zilog »
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

rgesnot

  • Guest
Re: Use Avast on linux server
« Reply #2 on: October 06, 2008, 09:19:31 PM »
Hello,

Thanks for reply.

1) Why do you mean by "install with chroot" ?

2) So for LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/WAY/OF/MY/LIB/DIRECTORY/

3) I have modified avastengine.conf
But avast work only if I put avastengine.conf in /etc

Or you said "the configuration file avastengine.conf (in /etc globally, or in your home directory)"

I tried also in my home directory, in the directory where is avastcmd file

Have you an issue for this.

rgesnot

  • Guest
Re: Use Avast on linux server
« Reply #3 on: October 06, 2008, 09:39:47 PM »
Also, how can I update the virus database with command line ?

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Use Avast on linux server
« Reply #4 on: October 07, 2008, 10:04:21 AM »
Hello,

Thanks for reply.

1) Why do you mean by "install with chroot" ?

2) So for LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/WAY/OF/MY/LIB/DIRECTORY/

3) I have modified avastengine.conf
But avast work only if I put avastengine.conf in /etc

Or you said "the configuration file avastengine.conf (in /etc globally, or in your home directory)"

I tried also in my home directory, in the directory where is avastcmd file

Have you an issue for this.

1) man chroot - faking the system root directory elsewhere, to fool the application.
2) yes
3) just put it in your home-directory: /home/zilog/.avastengine.conf in my case (bring to notice the leading dot)

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Use Avast on linux server
« Reply #5 on: October 07, 2008, 10:05:20 AM »
Also, how can I update the virus database with command line ?

just get the 400.vps file, and "plug it in" using avastvpsreload. this task can be automated by avastvpsupdate.pl or avastvpsupdate.sh scripts, have a look at them.

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)