Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
You probably missing development libraries. I have compiled dansguardian on CentOS5 without issues.
This is the version that I have installed and is working
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.
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
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.
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
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
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.
Last edited by linuxlover.chaitanya; 06-01-2010 at 05:04 AM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.