Welcome to Centmin Mod Community
Register Now

Install AVG

Discussion in 'Add Ons' started by Matt, Jul 19, 2014.

  1. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    2:59 AM
    1.5.15
    MariaDB 10.2
    Does the AVG add-on only work on 32bit systems?


    Code:
    [root@host addons]# ./avginstall.sh
    CentOS / RHEL system detected
    
    ============================================
    Check for 32bit glibc package
    ============================================
    Error: No matching Packages to list
    ============================================
    Downloading  ...
    ============================================
    [found]
    
    ---------------------------------------------------------------
    AVG not installed
    ---------------------------------------------------------------
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    11:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    It's only 32bit scanner for AVG.

    3 days ago I updated the avginstall.sh addon in Github and zip downloads as the download url changed. Also updated on site version code too http://centminmod.com/addons.html#avg

    commits
    line 38 in avginstall.sh change url from

    Code:
    http://free.avg.com/us-en/download.prd-alf
    to
    Code:
    http://free.avg.com/us-en/download-free-all-product
    Also plan to add ClamAV Antivirus scanner for Linux addon too http://www.clamav.net/lang/en/ later on :D
     
  3. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    2:59 AM
    1.5.15
    MariaDB 10.2
    Ah, I'm on 64bit, so no good then
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    11:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no no, it works on 64bit systems too using 32bit rpm :)
     
  5. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    2:59 AM
    1.5.15
    MariaDB 10.2
    Oh OK, will let maldet finish running, and will try again
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    11:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Revisiting AVG Addon
    looks like AVG site blocks the avginstall.sh addon script as I got same error as @Matt

    Code:
    root@host addons]# ./avginstall.sh
    CentOS / RHEL system detected
    
    ============================================
    Check for 32bit glibc package
    ============================================
    Error: No matching Packages to list
    ============================================
    Downloading  ...
    ============================================
    [found]
    sed: can't read /etc/init.d/avgd: No such file or directory
    avgd: unrecognized service
    
    ---------------------------------------------------------------
    AVG not installed
    ---------------------------------------------------------------
    
    and here's why
    Code:
    lynx -dump http://free.avg.com/us-en/download-free-all-product                           
                                     Access Denied
    
       You don't have permission to access
       "http://free.avg.com/us-en/download-free-all-product" on this server.
    
       Reference #18.4cf1f33f.1434061002.c61cab
    
    so modified avginstall.sh to switch from lynx call to curl and now it works :)

    Code:
    ./avginstall.sh
    CentOS / RHEL system detected
    
    ============================================
    Check for 32bit glibc package
    ============================================
    glibc.i686                      2.12-1.149.el6_6.9                      @updates
    ============================================
    Downloading  ...
    ============================================
    Error: avg2013flx-r3118-a6926.i386.rpm not found !!! Download now......
    --2015-06-11 22:31:41--  http://download.avgfree.com/filedir/inst/avg2013flx-r3118-a6926.i386.rpm
    Resolving download.avgfree.com... 173.245.115.84
    Connecting to download.avgfree.com|173.245.115.84|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://aa-download.avg.com/filedir/inst/avg2013flx-r3118-a6926.i386.rpm [following]
    --2015-06-11 22:31:41--  http://aa-download.avg.com/filedir/inst/avg2013flx-r3118-a6926.i386.rpm
    Resolving aa-download.avg.com... 63.243.241.59, 63.243.241.56
    Connecting to aa-download.avg.com|63.243.241.59|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 132865785 (127M) [audio/x-pn-realaudio-plugin]
    Saving to: `avg2013flx-r3118-a6926.i386.rpm'
    
    100%[=====================================================================================>] 132,865,785 2.77M/s   in 39s  
    
    2015-06-11 22:32:21 (3.22 MB/s) - `avg2013flx-r3118-a6926.i386.rpm' saved [132865785/132865785]
    
    Download done.
    
    rpm -Uvh avg2013flx-r3118-a6926.i386.rpm
    Preparing...                ########################################### [100%]
       1:avg2013flx             ########################################### [100%]
    Installing 'avgd' service initscripts...
    Registering 'avgd' service to runlevels...
    Please do configuration with /opt/avg/av/bin/avgsetup
    Generating unique user id
    Processing command line ...
    Cfg file not specified using /opt/avg/av/cfg/diagcfg.xml.
    New installation ID succesffully generated.
    Starting AVG AV
    Starting avgd[  OK  ]
    Ok: avg2013flx-r3118-a6926.i386.rpm install.
    
    Shutting down avgd                                         [FAILED]
    Starting avgd (recovering)                                 [  OK  ]
    
    Checking for service avgd: (pid 31333) is running
    
    Shutting down avgd.                                        [  OK  ]
    Starting avgd (recovering)                                 [  OK  ]
    ============================================
    Update AVG Free Anti-Virus for Linux...
    ============================================
    AVG command line update
    Copyright (c) 2013 AVG Technologies CZ
    
    Running update.
    Initializing...
    Analyzing...
    Downloading file:  u13iavi9997tc.bin                                                                          1 /  2  114.67 M
    Downloading file:  lx13core4311ka.bin                                                                         2 /  2    3.51 M
    Analyzing...
    Preparing installation...
    Updating...
    100% [==================================================================================>]
    
    Update was successfully completed.
    
    Code:
    ---------------------------------------------------------------
    Scan /lib
    ---------------------------------------------------------------
    AVG command line Anti-Virus scanner
    Copyright (c) 2013 AVG Technologies CZ
    
    Virus database version: 4311/9997
    Virus database release date: Thu, 11 Jun 2015 19:19:00 +0000
    
    
    Files scanned     :  209(209)
    Infections found  :  0(0)
    PUPs found        :  0
    Files healed      :  0
    Warnings reported :  0
    Errors reported   :  0
    
    
    ---------------------------------------------------------------
    Scan /lib64
    ---------------------------------------------------------------
    AVG command line Anti-Virus scanner
    Copyright (c) 2013 AVG Technologies CZ
    
    Virus database version: 4311/9997
    Virus database release date: Thu, 11 Jun 2015 19:19:00 +0000
    
    
    Files scanned     :  338(338)
    Infections found  :  0(0)
    PUPs found        :  0
    Files healed      :  0
    Warnings reported :  0
    Errors reported   :  0
    Code:
     avgscan -h
    AVG command line Anti-Virus scanner
    Copyright (c) 2013 AVG Technologies CZ
    
    Anti-Virus scanner usage:
    avgscan [options] [path-list]
    Options:
            -h, --help               Display this help.
            -v, --version            Display version.
            -d, --debug              Verbose mode. Multiple -d options increase the
                                     verbosity. The maximum is 3.
            -T, --tui                Use a terminal user interface.
            -x, --exclude=<path>     Exclude path from scan. Multiple --exclude can
                                     be specified.
            -e, --ext=<extension>    Scan files with specified extension. Multiple
                                     --ext can be specified. Can't be used with
                                     --noext option.
            -n, --noext=<extension>  Exclude files with specified extension.
                                     Multiple --noext options can be specified.
                                     Can't be used with --ext option.
            -l, --heal               Automatically heal infected object.
            -t, --delete             Automatically delete infected object.
            -u, --vv-move            Automatically move infected object into vault.
            -U, --vv-backup          Backup infected object if healed by deletion.
                --ignerrors          Do not report object scan errors.
            -H, --heur               Use heuristics for scanning. By default on.
                --no-heur            Disable heuristics for scanning.
            -p, --pup                Scan for Potentially Unwanted Programs.
                                     By default on.
                --no-pup             Disable scanning for PUPs.
            -P, --pup2               Scan for enhanced set of Potentially Unwanted
                                     Programs.
            -c, --coo                Scan cookies.
            -i, --hidext             Recognize hidden extensions.
            -m, --macrow             Report documents with macros.
            -o, --repok              Report also clean files.
            -w, --pwdw               Report password protected files.
            -b, --arcbombsw          Report archive bombs. By default on.
                --no-arcbombsw       Do not report archive bombs.
            -M, --media              Do not scan through media files.
            -j, --paranoid           Enable paranoid mode. Scan for less dangerous
                                     malware and more time consuming algoritms.
            -r, --report=<filename>  Save scan report to specified file.
            -a, --arc                Scan through archives.
            -L, --arc-reclevel=N     Maximum recursion level while scanning archives.
                                     Default value is 40.
            -S, --arc-maxfilesize=N  Maximum file size extracted from archives.
                                     Default value is 268435456 B.
            -N, --arc-maxfilenum=N   Maximum number of files scanned in archives.
                                     Default value is 50000.
            -B, --boot-sector        Scan boot sector.
            -s, --specfs             Scan special filesystems.
            -R, --reclevel=N         Descend at most N (a non-negative integer)
                                     levels of directories. Default value is 16384.
            -W, --winsysdir          Specifies a comma separated list of windows
                                     system directories. Any infected files found
                                     in this directory are marked as whitelisted
                                     in order to protect these files from being
                                     removed/moved to vault.
            -F, --filelist=<filename> Scan file paths specified in given file, all
                                      other paths on command line will be ignored.
            -k, --registryscan       Scan Windows registry.
    committed fix fix addons/avginstall.sh for AVG Anti-Virus for Linux · centminmod/centminmod@9a6e93d · GitHub
     
    Last edited: Jun 12, 2015
  7. neverminder

    neverminder Member

    44
    3
    8
    Nov 23, 2017
    Ratings:
    +5
    Local Time:
    4:59 AM
    1.13.6
    10.0.33
    Hi,

    I'm not seeing any error, but AVG is not installing:
    Code:
    [root@host addons]# ./avginstall.sh
    
    CentOS / RHEL system detected
    ============================================
    Check for 32bit glibc package
    ============================================
    
    glibc.i686                          2.17-196.el7                           @base
    
    ============================================
    Downloading  ...
    ============================================
    
     [found]
    
    ---------------------------------------------------------------
    
    AVG not installed
    
    ---------------------------------------------------------------
    What could be the issue?
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    11:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    will have to check, haven't tested avginstall.sh in a while !
     
  9. neverminder

    neverminder Member

    44
    3
    8
    Nov 23, 2017
    Ratings:
    +5
    Local Time:
    4:59 AM
    1.13.6
    10.0.33
    Thank you!