LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   centos 5.5 dansguardian installation (https://www.linuxquestions.org/questions/linux-newbie-8/centos-5-5-dansguardian-installation-810385/)

struggled_newbie 05-27-2010 02:13 AM

centos 5.5 dansguardian installation
 
hello linux gurus

I have centos 5.5 and I'm trying to install dansguardian and squid, 1st i tried the rpm -ivh dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm

but it gives me these errors:

warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386


I'm trying to find libstdc++.so.5 but there is no available for centos



please help

mac.tieu 05-27-2010 02:38 AM

Quote:

Originally Posted by struggled_newbie (Post 3982612)
hello linux gurus

I have centos 5.5 and I'm trying to install dansguardian and squid, 1st i tried the rpm -ivh dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm

but it gives me these errors:

warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386


I'm trying to find libstdc++.so.5 but there is no available for centos



please help

dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm was built for RedHat 9 not CentOS 5.5. You'd better to search 'dansguardian' package for CentOS 5.5.

Regards,
MT

linuxlover.chaitanya 05-27-2010 03:49 AM

You probably missing development libraries. I have compiled dansguardian on CentOS5 without issues.
This is the version that I have installed and is working

DansGuardian 2.10.1.1

alli_yas 05-27-2010 04:20 AM

Quote:

warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
Previous 2 posters are 100% - you should be using a version compiled/built for CentOS 5

Also, if you setup yum correctly; it will do the dependency checks/resolutions for you.

ecorg911 05-27-2010 10:01 AM

Try this...

Code:

http://hasnainali.wordpress.com/2009/02/09/linux-centosrhel-squiddansguardian-antivirus-clamav/

jerryhopper 05-31-2010 04:54 PM

Why not compile from source?

jerryhopper 05-31-2010 04:55 PM

i personally preferr compiling from source.
i use the following script for my own machines.
Needed is: CENTOS 5.5 the bare minimum will suffice.

Code:

yum install pkgconfig gcc gcc-c++ libstdc++-devel zlib-devel squid pcre-devel wget make bzip2-devel


# installing ClamAV
wget http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz?use_mirror=fastbull
tar -zxvf clamav-0.96.1.tar.gz
cd clamav-0.96.1
groupadd clamav
./configure
make
make install



# Installing Dansguardian
cd ..
wget http://dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar -zxvf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1
./configure --enable-icap --enable-kavd --enable-email --enable-fancydm  --enable-clamd --enable-lfs --enable-trickledm --enable-ntlm
make
make install

# installing clamav init scripts.
cd /etc/init.d
wget http://users.skynet.be/fb564130/clamav /etc/init.d
chmod 755 /etc/init.d/clamav


This config makes it possible to use ldap with dansguardian, as wel as the ICAP and KasperskyAV scanning ( and clamav ) and the trickle download manager.
i had good results with this, since updating to the lastest version is not the usual 'waiting game' with repositories.

After this install you only need to edit the clamav , freshclam, dansguardian and squid configs and you're good to go.

start clamav via : /etc/init.d/clamav start
start squid via : /etc/init.d/squid start
start dansguardian via : dansguardian -Q


source: http://botnyx.com/tools/6-how-can-i-...amav-on-centos

lazlow 05-31-2010 05:22 PM

Compiling on a rpm based distro should always be the line of last resort. Particularly for something like RHEL/Centos where the main point of the distro is stability. The reason that packages will always lag on RHEL/Centos is that the packages are thoroughly vetted to make sure they do not generate any issues for the OS. Compiling your own bypasses this process and pretty much defeats the purpose of using such an OS. If you prefer to compile everything you would be much better served running a distro that is setup that way. Slack comes to mind but there are others.

The rpmforge does provide a dansguardian el5 rpm, 2.8.0.6-1.2. Which is available via yum from their el5 section.

struggled_newbie 06-01-2010 02:24 AM

needing your help
 
I have installed Redhat 9 with dansguardian 2.8.0.6 and I am troubled in dansguardianf1.conf and dansguardianf2.conf. How can I set the specific IP addresses on this filtering?

In short I want 192.168.1.3, 192.168.1.4, 192.168.1.15 for dansguardianf1.conf ------>>> for no internet access

And 192.168.1.25, 192.168.1.30, 192.168.1.54 for dansguardianf2.conf
------- >>> for full internet access


please help!!!


thanks







Quote:

Originally Posted by jerryhopper (Post 3987857)
i personally preferr compiling from source.
i use the following script for my own machines.
Needed is: CENTOS 5.5 the bare minimum will suffice.

Code:

yum install pkgconfig gcc gcc-c++ libstdc++-devel zlib-devel squid pcre-devel wget make bzip2-devel


# installing ClamAV
wget http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz?use_mirror=fastbull
tar -zxvf clamav-0.96.1.tar.gz
cd clamav-0.96.1
groupadd clamav
./configure
make
make install



# Installing Dansguardian
cd ..
wget http://dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar -zxvf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1
./configure --enable-icap --enable-kavd --enable-email --enable-fancydm  --enable-clamd --enable-lfs --enable-trickledm --enable-ntlm
make
make install

# installing clamav init scripts.
cd /etc/init.d
wget http://users.skynet.be/fb564130/clamav /etc/init.d
chmod 755 /etc/init.d/clamav


This config makes it possible to use ldap with dansguardian, as wel as the ICAP and KasperskyAV scanning ( and clamav ) and the trickle download manager.
i had good results with this, since updating to the lastest version is not the usual 'waiting game' with repositories.

After this install you only need to edit the clamav , freshclam, dansguardian and squid configs and you're good to go.

start clamav via : /etc/init.d/clamav start
start squid via : /etc/init.d/squid start
start dansguardian via : dansguardian -Q


source: http://botnyx.com/tools/6-how-can-i-...amav-on-centos


linuxlover.chaitanya 06-01-2010 04:58 AM

http://contentfilter.futuragts.com/w..._configuration

linuxlover.chaitanya 06-01-2010 05:03 AM

@OP,

Are you kidding? RH9 for a server? RH9 is a grandaddy for most of the RH distributions and has long died and lies in peace. Get something new. And if you are not sure which, CentOS5.5 is out and is the latest and is based on RH as well.


All times are GMT -5. The time now is 07:16 PM.