Software :: How To Compile Squid3 On Debian
Apr 14, 2011How to compile squid3 on debian ?
View 1 RepliesHow to compile squid3 on debian ?
View 1 RepliesI run a Squid 3 server that is acting as a web filter. It worked fine on Etch. The system stopped working properly due to two of the three SATA cables being bad. Before I figured that out, I tried doing updates. Since Etch updates were no longer available, I did a distupgrade to Lenny. Immediately, Squid stopped working properly. It would take up to two and a half minutes for it to respond to a web request and add it to the access.log. This was using the same configuration file that it was using before the update.
After I found the hardware problem, I did a clean install of Lenny. I used the basic squid.conf like I did on the previous system, only changing it to add my ACLs and because it wasn't saving an access.log to the default location unless I uncommented the path directive. Now, it won't respond to a request at all. Forwarding is enabled and the firewall seems to be set up correctly.
i have successfully set up squid3 with squeeze using guide on this forum viewtopic.php?f=16&t=59301 . The only problem that i have is the size of /var/log/access.log is too big and keep increasing so i run out of free space. The size of it always the same size as my free space hard disk (so it make me run out of free space in just one day, it can have size to 30 Gb ) right now , the only workaround i make is using crontab to rm access.log every hour . I'm sure this is not the right solution . Does anybody know the correct workaround about this ? I have searching in google but seems havent yet have luck with this .
View 5 Replies View RelatedMy home LAN (6 computers) is connected to a Dlink 624 router (192.168.0.1). All machines have DHCP addresses exception of the Ubuntu 10.10 box which has 2 NICs (192.168.0.198 and 192.168.0.199) with static IPs.
I've been spending hours reading stuff on Squid3 and I can't make it work, the client computers won't connect to the Internet.
What I'd like to do is a simple Squid proxy to cache the websites I access the most.
Would someone have in hand a squid.conf file compatible with my needs or suggest me another proxy product (with a GUI if possible,)?
I have Squid3 running and SARG for producing report. I would like to see the hostname being logged in the access.log file instead of the client IP address. I have already set the option log_fqdn=on and it doesn't do it. I still see the client IPs in access.log files...
View 4 Replies View RelatedI'm kind of new to squid. I've looked at the proxy server using squidclient and am getting
Seems like a lot of cache misses is this normal?
I know there is stuff in the cache
Internal Data Structures:
It's wierd because misses looks like more than requests. I don't know if I'm reading this right.This is just a proxy on a home network with about 6 clients connected.
New to opensuse, trying to set up cache proxy and webfilter at a highschool. I have a new install of opensuse11.2 64bit installed as server. Installed squid3 stable. Trying to configure it in yast2. Now in yast2-->networkservices-->squid I get the message squid needs to be installed, continuing with Next I get message unresolved dependencies then another that squid3 conflicts with squid-2.7. Solutions offered are deinstall squid3 or don't install squid-2. I select the latter and get messages that yast might not function etc. Isn't squid3 the newer version of squid-2? Should yast2 recognize that?
View 3 Replies View RelatedI am running suse11.3 32 bit, and have installed squid3.
As far as I can tell it's not been compiled with ipv6 support.
Or have I missed some option in some file somewhere?
I haven't found any updated instructions for adding squidguard to the new squid3 server. I tried following the old instructions for doing this, making changes to the text to point to the new squid3 locations, but this didn't work.
View 2 Replies View RelatedI can't figure out how to get Calamaris to work. I'm using squid3, so I understand that there could be a problem with that, however I installed links for the logs, so that even though it uses "squid" it should work for squid3...
Code:
ls -al squid
lrwxrwxrwx 1 root root 7 2010-05-05 12:21 squid -> squid3/
I even tried going into the /etc/cron.daily/calamaris file, and changing squid to squid3... But when I run the crontask, it gives no output and there's no file in /var/www/calamaris. What's going on? I need a program to analyze computer bandwidth.
I have a squid3 on a debian lenny box but cannot get access to any site.
If i remove the http_access deny all works, but i just want those ip to get access to squid
My squid.conf
Code:
intranet:/etc/squid3# cat squid.conf
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
#acl all src 0.0.0.0/0
[Code].....
I got squid3 installed on ubuntu server 10.4. I believe it is up and running as I can browse the internet on my other computers.I followed one of the tutorials on the net and looked at others for guide as well. Everyone of them did not mentioned that we have to create the swap files. Are we suppose too? I couldn't find the location of the swap file anywhere on the server.
View 1 Replies View RelatedI installed SQUID3 on a Linux machine with two ethernet interfaces (eth0 and eth1). I used the default settings in the squid.conf file and uncommented the two lines
Code:
And
Code:
eth0 is connected to a router, which provides Internet access. It is assigned an IP 192.168.1.2 by the router. I manually configured eth1 to have an IP address 192.168.5.1. It is connected to a switch. Systems having IP addresses 192.168.5.x are connected to this switch. I ran these two commands for NAT:
Code:
Code:
But when I try to access internet from a system having IP 192.168.5.2 through the proxy I get an error that says "Access denied". What is wrong with my configuration?
how to install squid3.1.x to block https sites?
View 1 Replies View Relatedi configured Squid3 server in my Ubuntu 10.04.Now the ip based and content based blocking is working fine.Now i want to configured bandwidth allocation of ip address and group ip address..pls give the solution
View 11 Replies View RelatedI've setup Squid3 running on Ubuntu 9.04 64-bit server, and configured it to act as a transparent proxy and setup my router following these instructions: [URL]
Everything works great as far as browsing, but my main goal was to cache large downloads (usually executables) that I download frequently. So I set the minimum to 300KB and the max to 100MB. The problem, though, is the cache is not being used. I can download a file at regular speed on one computer, and then try and download it again and it downloads from the internet again, rather than the cache, so the speed is no faster.
Here's my config file:
Code:
#Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
[Code].....
i'am trying to configure Squid3 et SquidGuard on ubuntu Server 10.04 for a school. I'm new in linux, before i post this thread, I searched in the french forum and www. I found nothing to help me to resolve this issue. You can see below to configuration file from Squid3. which is stored in /etc/squid3/
[Code]...
I installed squid on my machine, and for a while it was starting up automatically when the computer would turn on, and I would only have to reconfigure on ip-up for the new dns, etc.Now for some reason, I notice that squid isn't even started.To fix this, I wrote a start up script in /etc/rcS.d/ that runs:/etc/init.d/squid3 startAnd I notice it still isn't starting.So I write "/etc/init.d/squid3 start" and put it in my ip-up.d/ script.Everything in the script is being executed, but the squid server.I've tried reinstalling squid... what am I missing? where does the computer start these services?
View 4 Replies View RelatedWhen I try to compile it get there errors: [URL].... compiling with: gcc -v execv.c -o hola I already installed build-essential, what could be happening with my gcc compiler? this is my code, as you can see it's not complex
[code]....
I can't compile using the instructions on the package... the package in question is this: [URL] ....
Just trying to play with old and good windowmaker. When running make it just says "make: nothing to be done for 'all'.
how-to/info stored somewhere? a bookmark? Problem is easy:[URL]says you need to install fltk2 first.Version in experimental is 1.3.If i pick the download tar.bz of fltk2 i run into: " .... not declared in this scope" during compilation of glut. Error messages of that kind don't give me a clue, and the Web does it neither.The best i could find are some tips at the antix forum, about unpacking a puppy version.I want to make a deb, the problem is not only about running dillo.h3v seems like another option. But a) i ran into similar difficult problems and b) dillo seems to be known by more people.
View 5 Replies View RelatedTrying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.
While compiling I get this error.
[Code]....
Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.
what config option they are under or what I can do to get rid of this error?
Bluez 4.34 Compile - Error...make[1]: Entering directory `/usr/src/bluez-4.34/audio'
./configure and make output.
I need to ensure that PHP is compiled with zlib as I would like to use the zip functionality provided with net2ftp. which option would I use with the php configure script
<php-x-x-dir>/configure --with-zlib
or
<php-x-x-dir>/configure --with-zlib-dir=/usr
or both
<php-x-x-dir>/configure --with-zlib --with-zlib-dir=/usr
before compiling, what apt-get install commands do I need to perform to ensure I have zlib on my system as I am not to sure as to which library to use I was thinking of using the following please confirm if this is correct.
apt-get install zlib1g-dbg zlib1g zlib1g-dev
I'm missing some features only available from MySQL 5.5.6 and therefore neither Debian's archive or dotdeb supports my needs Is it difficult (link / guide) to compile MySQL myself from my Mac or virtual debian and then distribute it to my servers, will it likely cause more problems and will I be able to compile upgrades later or change back to Debian archive (or dotdeb) when they are releasing a sufficient version? I've been administrating my servers for 2 years now and have some knowledge how things is working :-)
View 1 Replies View RelatedI have squid3 proxy and I want to define a default start web site that will be opened force only one time. Is something like it possible?
View 4 Replies View RelatedHow to compile mpv on wheezy? if requires nowadays "harfbuzz" and says
configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig(Linux, other) is required. If you really want to compile without a system font provider, add --disable-require-system-font-provider
but if if i do
./rebuild --disable-require-system-font-provider
is still get same error. i really need mpv on wheezy because jessie is too new for system. it used to work some months ago.
As I understand (and remember) debian does not package x264 with its ffmpeg. [I say remember because I have a debian-multimedia line in my sources.list that I believe I added when I wanted a x264 enabled ffmpeg]
Is this status still the same? Do we still need to compile ffmpeg by hand if we want x264?
I'm trying to compile the 2.6.38 kernel (from the Wheezy sources) on my Squeeze laptop and get the following error: "dpkg-buildpackage: error: debian/rules build gave error exit status 2" After doing apt-get build-dep linux-image-2.6.38-2-amd64 and apt-get source linux-image-2.6.38-2-amd64 I did dpkg-buildpackeg and here is what happened:
[Code]...
I am using the Debian stock kernel. I want a minimal kernel that works on my Pentium 4, 1GB DDR RAM machine. What do I have do to get a less resource hungry OS. Is there already a minimal kernel binary available?
View 2 Replies View Related