Não consigo utilizar o AVG

Iniciado por marcosrokc, 01 de Novembro de 2008, 16:24

tópico anterior - próximo tópico

marcosrokc

Baixei esse .deb http://www.avg.com/filedir/inst/avg75lms-r52-a1367.i386.deb do avg, dps de instalar não criou ícones, e nem consigo usar!!!
Alguem pode me ajudar, ou sugerir outro .deb?

felipeborges

Pra que anti-vírus? Isto é Linux meu amigo!

Mais mesmo assim, se quiser usar....

Abra um Terminal (Aplicações=> Acessórios => Consola (Terminal)

Deduzindo que o .deb esteja em sua /home.

Execute este comando:

sudo dpkg -i nome_do_pacote.deb

E caso não instalar, poste o resultado do comando (copie e cole do terminal), para que possamos analisar a saída de erros e lhe ajudar de forma mais precisa.

:-*
Meu blog sobre GNU/Linux
Debian Lenny e Gentoo.

marcosrokc

Pois bem meu amigo, foi exatamente o que fiz da primeira vez, eis o resultado:
mpj@mpj-laptop:~/downloads$ sudo dpkg -i avg75lms-r52-a1367.i386.deb
[sudo] password for mpj:
(Lendo banco de dados ... 128250 arquivos e diretórios atualmente instalados.)
Preparando para substituir avg75lms 7.5.52_a1367 (usando avg75lms-r52-a1367.i386.deb) ...
* Stopping avgd (not running)                                                                                                                     [ ok ]
Descompactando substituto avg75lms ...
Uninstalling 'avgd' service initscripts...
Unregistering 'avgd' service ...
Removing any system startup links for /etc/init.d/avgd ...
   /etc/rc0.d/K20avgd
   /etc/rc1.d/K20avgd
   /etc/rc2.d/S20avgd
   /etc/rc3.d/S20avgd
   /etc/rc4.d/S20avgd
   /etc/rc5.d/S20avgd
   /etc/rc6.d/K20avgd
Instalando avg75lms (7.5.52_a1367) ...
Installing 'avgd' service initscripts...
Registering 'avgd' service to runlevels...
Adding system startup for /etc/init.d/avgd ...
   /etc/rc0.d/K20avgd -> ../init.d/avgd
   /etc/rc1.d/K20avgd -> ../init.d/avgd
   /etc/rc6.d/K20avgd -> ../init.d/avgd
   /etc/rc2.d/S20avgd -> ../init.d/avgd
   /etc/rc3.d/S20avgd -> ../init.d/avgd
   /etc/rc4.d/S20avgd -> ../init.d/avgd
   /etc/rc5.d/S20avgd -> ../init.d/avgd
Please do registration with avgscan -register.
See /opt/grisoft/avg7/doc/README for more information.

mpj@mpj-laptop:~/downloads$

Luciano Gardim

Citação de: marcosrokc online 02 de Novembro de 2008, 03:42
Please do registration with avgscan -register.
See /opt/grisoft/avg7/doc/README for more information.

mpj@mpj-laptop:~/downloads$

Tentou fazer o que o comando solicitou? Que seria o registro, no caso.

Ou chegou a ler o README que ele mostrou, para maiores informações?

Acho que resolverá seu problema.
Um dia eu faço um blog... um dia.

marcosrokc

Estou perdido no reademe, ele diz assim:
================================
AVG Anti-Virus for Linux/FreeBSD
Version 7.5
================================

Note: This is a short manual, for full documentation see the PDFs located
in /opt/grisoft/avg7/doc/ directory upon an installation.


System Requirements
-------------------

AVG Anti-Virus for Linux/FreeBSD requires system with following or
newer library:
- libc.so.6 (Linux)
- libc.so.5 (FreeBSD)
  For RELEASE-6 and CURRENT the compat5x port located in /usr/ports/misc is
  needed.

AVG On-Access scanner uses Dazuko kernel module for file access control.
For more information see http://www.dazuko.org/. Please use latest stable
version, for example dazuko-2.2.0.tar.gz (February 2006).


Installation
------------

Dazuko must be compiled first to be able to use AVG on-access scanner.
Please follow instructions on http://www.dazuko.org/howto-install.shtml.

* Installation from RPM (Linux only):

Download latest rpm from http://www.grisoft.cz/linux and install:

# rpm -i avg75lms-{release}-{vdb version}.i386.rpm

* Installation from .deb (Linux only):

Download latest .deb from http://www.grisoft.cz/linux and install:

# dpkg -i avg75lms-{release}-{vdb version}.i386.deb

* Installation from .tar.gz:

Download latest .tar.gz from http://www.grisoft.cz/linux and:

For Linux proceed this steps:

- unpack it
# tar xzvf avg75lms-{release}-{vdb version}.i386.tar.gz

- change directory to avg7-linux
# cd avg7-linux

- as root run installation script
# ./install.sh

For FreeBSD proceed this steps:

- unpack it
# tar xzvf avg75fms-{release}-{vdb version}.i386.tar.gz

- change directory to avg7-linux
# cd avg7-freebsd

- as root run installation script
# ./install.sh


Registration
------------
You can register AVG7 for Linux/FreeBSD during installation with
install.sh script, or later with command:
# avgscan -register
or
# avgscan -register <your license number>

For trial version this license number can be used:
70LINUX-TTS05-PZ-C01-S1-J18-IHAR


Usage
-----

Command-line scanner:

avgscan [options] <path or file to scan>

-scan           Scan test /path,path/
-heur           Heuristic Analysis /path,path/
-exclude        Exclude path or files from scan
-@              Command file /file name/
-ext            test these extensions /for example EXT=*/
-noext          do not test these extensions /for example NOEXT=JPG/
-smart          Smart scan
-arc            test archives
-rt             test run-time compressions
-pup         detection of potentially unwanted programs
-clean          clean automatically
-arcw           report archives
-rtw            report run-time compressions
-macrow         report macros
-pwdw           Report password-protected files
-changew        Report changes
-ignlocked      Ignore locked files
-report         Report to file /file name/
-repappend      Append to the report file
-repok          report uninfected files as OK
-stoplevel      Pause on detection /1-n/
-h              Display help on this topic
--help          Display help on this topic

examples:
1) next command scans whole directory /home and checks all files, including
   archives and run-time compressed files

   $ avgscan -ext=* -rt -arc /home

2) same as example above, but with heuristic analysis

   $ avgscan -ext=* -rt -arc -heur /home

3) same as example above, but saves scanning results to the 'results.log' file

   $ avgscan -ext=* -rt -arc -report results.log -heur /home

Server mode (for Linux):

# avgscan -d

In this mode, configuration is read from '/etc/avg.conf' file.
AVG daemon can be controlled by 'avgd' script in '/etc/init.d' or
'/etc/rc.d/init.d' directory.

To run daemon:
# /etc/init.d/avgd start

To stop daemon:
# /etc/init.d/avgd stop

To reload virus database:
# /etc/init.d/avgd reload

It is recommended to have syslogd properly configured. See syslog.conf(5) and
syslogd(8) for more info.

All daemon processes belong to the same process group, so they can be manually
sent a signal by the following command:

# kill -TERM -- -`cat /var/run/avgd.pgrp`

Server mode (for FreeBSD):

# avgscan -d

In this mode, configuration is read from '/usr/local/etc/avg.conf' file.
AVG daemon can be controlled by 'avgd' script in '/usr/local/etc/rc.d/'.

To run daemon:
# /usr/local/etc/rc.d/avgd start

To stop daemon:
# /usr/local/etc/rc.d/avgd stop

To reload virus database:
# /usr/local/etc/rc.d/avgd reload

It is recommended to have syslogd properly configured. See syslog.conf(5) and
syslogd(8) for more info.

All daemon processes belong to the same process group, so they can be manually
sent a signal by the following command:

# kill -TERM -- -`cat /var/run/avgd.pgrp`


E-mail scanning
===============


List of supported open-sourced email servers:

Sendmail           (http://www.sendmail.org)
Exim               (http://exim.org)
Qmail              (http://qmail.org)
Postfix            (http://www.postfix.org)

Version 7.1, requires 3rd party interface (AMaViS, Qmail-Scanner) for
their connection to AVG.


List of supported commercial email servers:

Lotus Domino 6/7   (http://ibm.com/lotus/domino)
  (supported via special AVG plugins)
Kerio MailServer   (http://www.kerio.com/kms_home.html)
  (supported natively)
Merak MailServer   (http://www.icewarp.com/)   
  (integrated in Linux version)


Following features are available since version 7.5.

- spam detection and filtering
- actions in case of virus detection
- email certification
- subject certification of infected emails / spam
- email notification in case of virus/spam detection


Software Requirements
---------------------

- AVG Anti-Virus for Linux/FreeBSD
- supported MTA (see above)

Version 7.1 requires in addition:

- AMaViS (A Mail Virus Scanner) version 0.3.12
  or amavisd-new-20030616, see http://www.amavis.org/
- MTA supported by AMaViS (includes sendmail, qmail, postfix and exim)
- Perl and other modules and software packages required by AMaViS. For more
  information see 'README' in AMaViS.

- or for QMail mail server Qmail-Scanner version 1.20, see
  http://qmail-scanner.sourceforge.net/.


Installation
------------

Connection of AVG to open sourced MTA's is described in files:

README.sendmail
README.exim
README.qmail
README.postfix

Altermatvely, MTAs can be connected to AVG via third party interfaces.
AMaViS (http://www.amavis.org/) can be used for all mentioned MTA's,
Qmail-Scanner only for Qmail. For description of installation, see
README.amavis, and README.qmailscanner respectively.

List of interfaces supporting MTAs:

Sendmail:
amavisd-new (http://www.ijs.si/software/amavisd/),
sagator (http://www.salstar.sk/sagator/)

Exim:
amavisd-new (http://www.ijs.si/software/amavisd/),
sagator (http://www.salstar.sk/sagator/)

Qmail:
qmail-scanner (qmail-scanner.sourceforge.net),
amavis (http://www.amavis.org/)

Postfix:
amavis (http://www.amavis.org/),
amavisd-new (http://www.ijs.si/software/amavisd/),
clapf (http://clapf.acts.hu/),
sagator (http://www.salstar.sk/sagator/)


Testing the Installation
------------------------

Eicar test file can be used to test the e-mail scanning. See
http://www.eicar.org/anti_virus_test_file.htm for more information.
Send e-mail with Eicar test file attached. Depending on the value of
option onVirusAction from section [AvgDaemon] of configuration file
/etc/avg.conf, appropriate action should be taken upon the e-mail (see
comments in configuration file or manual page avg.conf for details).


Configuration
-------------

Email scanner is configured in section [AvgDaemon]
of /etc/avg.conf file with following directives:

enableAntispam
antispamConfigDir
spamLevel
(basic antispam configuration)

onVirusAction

enableAttachmentFiltering
filterOutAllDocuments
filterOutAllExecutable
filterOutAllFilesWithExtension

onSpamAction
(actions on infection)

enableCertification
enableVirusSubjectCertification
enableSpamSubjectCertification
spamSubjectCertifyText
virusSubjectCertifyText
(email certification)

smtpAddress
smtpPort
enableNotification
notifySender
notifyRecipients
notifyAddresses
notifyFrom
notifyTemplate
(notificaton by email)

For details see manual page avg.conf(5).

Advanced configuration and tuning of antispam engine can be done in
configuration file /opt/grisoft/avg7/etc/antispam/spamcatcher.conf
The meaning of options is well commented in the file.


On-Access Scanner
=================

This part of AVG7 Anti-Virus daemon provides on-access scanning with the
help of dazuko kernel module. Dazuko catches every file system event and
asks AVG7 daemon to check the file if required. Number of daemons is specified
in the config file, parameter 'numOfDaemons'. Default number is 2, because of
possible multiple access to same file.

Software Requirements
---------------------

Dazuko kernel module, available on www.dazuko.org.

Configuration
-------------

Main configuration is in /etc/avg.conf (/usr/local/etc/rc.d/avg.conf
for FreeBSD). There the following can be specified:
includePath  -- paths, which will be guarded with on-access-scanner
excludePath  -- paths, which will not be guarded with on-access-scanner

numOfDaemons -- number of preforked daemons

scanOnOpen   -- run scan when a file is opened (recommended)
scanOnClose  -- run scan when a file is closed
scanOnExec   -- run scan when a file is executed
scanOnCloseModified -- run scan when a modified file is closed

onVirusAction -- what to do in case of virus detection
(available since v 7.5)

Usage
-----

For controlling AVG7 daemon there is in '/etc/init.d' or '/etc/rc.d/init.d'
script avgd.

To run daemon (for Linux):
# /etc/init.d/avgd start

or for FreeBSD use:
# /usr/local/etc/rc.d/avgd start

To stop daemon (for Linux):
# /etc/init.d/avgd stop

or for FreeBSD use:
# /usr/local/etc/rc.d/avgd stop

It is recommended to have properly configured syslogd. See syslog.conf(5) and
syslogd(8).


AVG Quarantine
==============

(available since version 7.5.)

AVG quarantine is a repostiory where infected emails or files can be
moved to for further processing (this can be set as action to be taken
on virus detection in configuration file /etc/avg.conf, where the
location of the quarantine can be changed too).

For basic management of quarantine, there is avgqrtctl utility which
enables listing, deleting, or restoring files from quarantine
(see man page of avgqrtctl).


AVG Update
==========

'avgupdate' is a program for AVG Anti-Virus system updating.
You can update from Internet via http protocol or from local
update files.

The AVG for Linux/FreeBSD versions 7.0.12 and higher are installed
to another location than the previous versions. The higher versions
also offer some additional features. However, the backwards
compatibility of updates is ensured for all versions. That means
you can always update your older version of AVG for Linux/FreeBSD
to obtain the maximum security. But in order to get the new additional
features included in the version 7.0.12 and higher, you have to
completely reinstall your AVG for Linux/FreeBSD!

The main additional feature of versions 7.0.12 and higher is the
possibility of running an update also as a nonprivileged user. In the
previous versions you can run an update only as root.

Update performed by superuser
-----------------------------
When running an update under the root's identity, you can fully control
the update process without any restrictions. The main point of running
an update as root is that you can restart the AVG Anti-Virus daemons
within the update itself.

If an update contains some program changes related to the AVG Anti-Virus
daemons, the changes will not take effect until the daemons are not
restarted!

However, AVG Anti-Virus daemons are checking for the presence of a new
virus database each time a scan is performed. That means the new virus
database is loaded into the AVG Anti-Virus daemons' contexts just before
the first scan following an update, even if the daemons have not been
restarted. This ensures reliable anti-virus protection, although
program updates are not applied unless the daemons are restarted.

Note that it is recommended to run the AVG Anti-Virus scheduled update
(using for example the cron utility) with the --no-daemons option.
If necessary, restart the daemons manually later. It is ensured then
that the daemons are always running - you will avoid possible problems
with restarting the daemons within the scheduled update.

You can restart the AVG Anti-Virus daemons and services manually for example
using the:
# /etc/init.d/avgd restart

Update performed by a nonprivileged user
----------------------------------------
This feature is available only in AVG for Linux/FreeBSD versions 7.0.12 and
higher!

The user that is about to be allowed to run the update has to be in a group,
which is the owner of the '/opt/grisoft/avg7' directory subtree. The group
name is 'avg' by default. You can add a user to this group using this
command as root:
# usermod -a -G group_name login
The 'login' string stands for the user's login name, 'group_name' stands for
the group. Some distributions do not have -a option, please check the manual
page usermod(8).

The only difference in running an update by such a user is that the AVG
Anti-Virus daemons can not be restarted explicitly unless they are restarted
by root (or after the next restart of the system itself). Normal user can
not send them a signal nor even restart them within the update process. But
the updated virus database will be loaded by the AVG Anti-Virus daemons just
before the first scan following the update, as mentioned in the previous
section.

Default settings
----------------
create log file         on
create backup           on
progress information    on
diff update             on
complete update         off
restart daemons      on
priority      3

Note: Settings can be altered by command line arguments.
      See 'avgupdate --help'

Priority
--------
2 - priority update
3 - regular update
4 - optional update

Some examples of use:

1. online update from Internet
avgupdate --online --priority=3
avgupdate --online --priority=3 --no-log --no-progress --no-diff --no-daemons

2. offline update
avgupdate --offline --priority=3 /tmp/binfiles
avgupdate --no-daemons --offline --priority=2 --no-backup binfile1.bin binfile2.bin binfile3.bin

3. download update files
avgupdate --download --priority=3 --config myavg.conf

Note:
Option --no-progress is usefull when avgupdate is run from crontab.

Please check AvgUpdate section in /etc/avg.conf
(/usr/local/etc/rc.d/avg.conf for FreeBSD) configuration file.

To perdidinho

felipeborges

Citação de: marcosrokc online 02 de Novembro de 2008, 05:21
Registration
------------
You can register AVG7 for Linux/FreeBSD during installation with
install.sh script, or later with command:
# avgscan -register
or
# avgscan -register <your license number>

For trial version this license number can be used:
70LINUX-TTS05-PZ-C01-S1-J18-IHAR


Usage

Você pode registrar o AVG durante a isntalação, ou logo após com o comando:

avgscan -register <your license number>

Como root. Como foi fornecido seu serial para a versão trial.. Basta usa-lo no comando:

sudo avgscan -register 70LINUX-TTS05-PZ-C01-S1-J18-IHAR

______________________________________________________

Torno a perguntar? Pra que anti-vírus no GNU/LinuX? no máximo um firewall. (a não ser que seja um servidor, mais creio que não seja seu caso).
Meu blog sobre GNU/Linux
Debian Lenny e Gentoo.

marcosrokc

Quero um antivirus para passar no win  ;D

ainda nao consigo usar o AVG!!!!!
Sugestao de outro antivirus plz

Luciano Gardim

Um dia eu faço um blog... um dia.

felipeborges

Tem o ClamAV.

Pesquise aqui no fórum, tem muita gente usando-o.
Meu blog sobre GNU/Linux
Debian Lenny e Gentoo.