• 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 - 4242 Views
Tags | internet, security, ubuntu, virus

You Might Also Like

How to Add Different Disclaimers using alterMIME and Postfix based on Domain

November 9, 2010

Setting up Nginx with Cloudflare

September 19, 2013

ISC(2) CISSP Revision Notes – Overarching Themes for the CISSP

November 25, 2013

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

  • How to Convert CSV to Parquet Easily with Python on Linux Shell
  • Kusto Geolocation IP Lookup
  • 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

Top Posts & Pages

  • How to Block Internet Access with Group Policy (GPO)
    How to Block Internet Access with Group Policy (GPO)
  • How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
    How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
  • Kusto Geolocation IP Lookup
    Kusto Geolocation IP Lookup
  • Tinyproxy A Quick and Easy Proxy Server on Ubuntu
    Tinyproxy A Quick and Easy Proxy Server on Ubuntu
  • Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
    Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
  • How to DNSPerf on Ubuntu 14.04 with Installation and Quick Start
    How to DNSPerf on Ubuntu 14.04 with Installation and Quick Start
  • How to Add Different Disclaimers using alterMIME and Postfix based on Domain
    How to Add Different Disclaimers using alterMIME and Postfix based on Domain
  • Blocking Countries on Nginx without the GeoIP Module
    Blocking Countries on Nginx without the GeoIP Module
  • How to Enable Squid Anonymous Stealth Mode
    How to Enable Squid Anonymous Stealth Mode
  • Configuring Suite B, VPN-A and VPN-B in IPSec with Strongswan
    Configuring Suite B, VPN-A and VPN-B in IPSec with Strongswan

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