Welcome To NetTech Solutions

Warm Welcome to Every Visitor. Here we serve best technical support, all the posts here you find will help you solving and facing the day to day problems.
Every one is welcome to comment on our Posts.

Thursday, March 6, 2014

Setting epel repository in Linux/Centos and installing ClamAV.

To setup epel on centos, we need to download the epel installation rpm and install it.

Make sure you have wget installed in you linux/Centos.
 
To check if wget is installed or not.
From the hash prompt

$ rpm -qa | grep wget
should get result as...
wget-1.11.4-3.el5_8.2

If the above command result nothing then install wget first.

$ yum -y install wget.

once wget is installed the setup the epel repo
 
$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
 
$ rpm -ivh epel-release-6-8.noarch.rpm.
 
you are done.
 
For installing ClamAV.
 
$ sudo yum search clamav





Select the packeges 
$ sudo yum -y install clamav, clamav-db etc...

after installation is completed run the update command

$ freshclam

No comments: