• Home
  • The Song
  • The Avatar
  • The Cat
  • Contact the Cat

Gyp the Cat dot Com

How to Install AVG Anti Virus on Ubuntu Server
Computers

How to Install AVG Anti Virus on Ubuntu Server

Although in my experience Linux is much less susceptible to malware, it would be unfair to say that they are completely secure.  Even if a Linux machine isn’t infected it doesn’t mean it can’t be an unsuspecting virus delivery mechanism.  Although saying that a web server really shouldn’t be delivering any malware…

AVG is a widely recognised anti-malware vendor, especially in the Windows world, and we’ll be installing their Linux Antivirus on our server and then setting it for a scheduled run daily.

SSH to your box as usual.

We’ll need to install some dependencies:

apt-get install ia32-libs

Once I had the location of the file I ran a command like the following:

wget http://download.avgfree.com/filedir/inst/avg2012flx-r1795-a5274.i386.deb

When that is downloaded lets install it:

dpkg -i avg2012flx-r1795-a5274.i386.deb

Lets start the daemon:

avgctl

Update the virus definitions (this could take a little while, especially on a slow connection):

avgupdate

Now lets run a complete scan just to be on the safe side:

avgscan / –arc –heur

Hopefully that will come up clean, if not action accordingly.

Lets create a file that we will set to run automatically:

mkdir /root/scripts

nano /root/scripts/antivirusscan.sh

Paste the following:

#!/bin/sh
avgupdate
avgscan / –arc –heur –report=/var/log/antivirusscan.log

Make the file executable:

chmod +x /root/scripts/antivirusscan.sh

Now lets make it so we can run it automatically:

If prompted select Nano (I find it the easiest but it’s your personal choice).

At the bottom of the screen paste the following:

@daily /root/scripts/antivirusscan.sh

[ctrl]+o to save and [ctrl]+x to exit.

Done, now you can keep an eye on the log in /var/log/antivirusscan.log and you are all set.

Related

Written by gyp - January 15, 2013 - 2629 Views
Tags | internet, security, ubuntu, virus

You Might Also Like

Google Plus, Google Profiles and Google Buzz STILL Not For Google App Users

September 6, 2011

How to Create a Site to Host VPN on Ubuntu for AWS, Azure and Linode with pfsense

October 3, 2015
Stealthy Squid

How to Enable Squid Anonymous Stealth Mode

September 13, 2012

No Comment

Please Post Your Comments & Reviews
Cancel reply

Your email address will not be published. Required fields are marked *

Previous Post
Next Post

Latest Posts

  • Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
  • HTTP to HTTPS Redirect on Azure CDN
  • Strongswan IPSec (Including Cryptomap) to Microsoft Azure Virtual Network Gateway
  • Black Ops 3 NAT Type Strict & PS4 NAT Type 3 with pfSense Fixed!
  • Sorry for the lack of posts
  • How to Block Internet Access with Group Policy (GPO)
  • Enforcing Microsoft Office 365 and Azure Tennancy with McAfee Web Gateway (MWG)
  • Scanning Subnet for Issuing Certificate Authority with OpenSSL
  • How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
  • Steam & Valve IP Ranges

Top Posts & Pages

  • IPSec VPN Host to Host on Ubuntu 14.04 with strongSwan
    IPSec VPN Host to Host on Ubuntu 14.04 with strongSwan
  • How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
    How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
  • How to Block Internet Access with Group Policy (GPO)
    How to Block Internet Access with Group Policy (GPO)
  • Tinyproxy A Quick and Easy Proxy Server on Ubuntu
    Tinyproxy A Quick and Easy Proxy Server on Ubuntu
  • ISEB Business Analysis (BA) Revision Notes
    ISEB Business Analysis (BA) Revision Notes
  • How to Log BIND Queries on Ubuntu 12.10
    How to Log BIND Queries on Ubuntu 12.10
  • Steam & Valve IP Ranges
    Steam & Valve IP Ranges
  • HTTP to HTTPS Redirect on Azure CDN
    HTTP to HTTPS Redirect on Azure CDN
  • Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
    Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA

Tags

apache2 azure azure log analytics blops business centos cheating cissp cloudflare cryptography dns game google gyp internet iphone ipsec isc linux mac marketing microsoft mw2 mx mysql nginx pfsense postfix proxy ps3 qualification radius revision security seo smtp socks squid ssh strongswan tinyproxy ubuntu windows 2012 wordpress xdecrypt.com
Gyp the Cat dot Com

Some rights retained Gyp the Cat Dot Com