Koozali.org: home of the SME Server

How i installed avg onto sme server version 8

Offline purvis

  • *****
  • 567
  • +0/-0
How i installed avg onto sme server version 8
« on: March 30, 2013, 09:01:34 PM »
How I installed avg anti virus on my computer.
I am not telling anybody how to install software just documenting what I have done.


a few webpages that i looked at
http://centminmod.com/avg_antivirus_free.html
www.webhostingtalk.com/showpost.php?p=8569541&postcount=1171
http://free.avg.com/us-en/download.prd-alf


STEP 1
Quote
you can find the newest rpm file to download here
http://free.avg.com/us-en/download.prd-alf

At the time i wrote this,  the rpm package was
avg2013flx-r3115-a6155.i386.rpm

You need to check this before you use the wget command below then adjust to the new rpm.
I just copy the link using my webpage browser to pickup the http location

http://download.avgfree.com/filedir/inst/avg2013flx-r3115-a6155.i386.rpm


STEP 2
Code: [Select]
cd /
cd /tmp
wget http://download.avgfree.com/filedir/inst/avg2013flx-r3115-a6155.i386.rpm


STEP 3
Code: [Select]
yum localinstall avg2013flx-r3115-a6155.i386.rpm


STEP 4
These ares some of avg services i do not think i need loaded.
These are the command that i used
Code: [Select]
avgcfgctl -w Default.setup.features.antispam=false
avgcfgctl -w Default.setup.features.oad=false
avgcfgctl -w Default.setup.features.scheduler=false
avgcfgctl -w Default.setup.features.tcpd=false


step 5
setup a symbolic link to start avg service before qmail
if you want to load up avgd before you a virus scan,
then do not do  step 5
Code: [Select]
ln -s /etc/rc.d/init.d/avgd /etc/rc7.d/S78avgd


step 6
update your avg
Code: [Select]
avgupdate
avgupdate
avgupdate


STEP 7
I am scanning the these directories below because of what one of the above websites mentioned about some rootkit exploits
Code: [Select]
avgscan /lib
avgscan /lib64


STEP 8
Reboot when server is not being used.
This may not be necessary to reboot, but i think the update might of had done more updates after it did reboot.
On my system, i rebooted 4 times and then i ran "avgupdate" after each boot.
Code: [Select]
reboot


STEP 9
check for running services
Code: [Select]
ps aux | grep "avg"
this was a result from the above ps aux command
Quote
root      2404  0.0  6.5 242588 135568 ?       Sl   14:14   0:00 /opt/avg/av/bin//avgd
root      2417  0.0  0.1  77512  2564 ?        Sl   14:14   0:00 /opt/avg/av/bin/avgavid
root      3042  0.0  0.0   4244   648 pts/0    S+   14:53   0:00 grep avg

STEP 10
after reboot
Code: [Select]
avgupdate
avgupdate
avgupdate


STEP 11
Code: [Select]
avgscan /lib
avgscan /lib64
« Last Edit: March 30, 2013, 09:03:45 PM by purvis »

guest22

Re: How i installed avg onto sme server version 8
« Reply #1 on: April 04, 2013, 03:43:31 AM »
Purvis, the wiki would benefit form initiatives like this.