Server :: How To Create Squid Cache
Aug 6, 2010first i'm new in this filed of linuxi have Debian 5 serveri need to know how build squid and cache in server
View 1 Repliesfirst i'm new in this filed of linuxi have Debian 5 serveri need to know how build squid and cache in server
View 1 RepliesI installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 Replies View RelatedI want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
Code:
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size
I am using squid on my cent os 5. The cache directory is almost full.
Code:
# cache_dir ufs /var/spool/squid 1000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal
My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.
View 1 Replies View Relatedis there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies View Relatedi Have a Squid Server , i'm Using That for Caching ... i Have 3 Ether on My " Squid Server ". Ether1 : Directly Internet From ISP1 , 2Mbps . Ether2 : Directly Internet From ISP2 , 512 KBps . Ether3 : Connected too LAN . i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1) and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2) i Not Know How to Configure That with My 2 ISP internet.
View 1 Replies View Relatedwhat i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals
1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel
Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)
I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.
Squid servers cache size ondisk automatically increasing and decreasing,how I would resolve this issue
View 6 Replies View RelatedOne of our user inform me about some problems in viewing one site that he does not get fresh objects from site's server while site is updated everyday!! After some investigate and dig on headers I get, I found out in response headers that "date" field is for 2 or 3 last week!! 1- Does Squid cache "response headers" ?If so, when user send "If-none-match" or "if-modified-since" in request header the cached "response header" will be updated?
View 1 Replies View RelatedI need your help for a problem that it's happening in my customer. What I need is to change the configuration of a proxy, configured on Linux Cent OS v 4.3( explanation - see below) .My squid configuration's file it's like this:
[Code]...
I recently finished installing Squid 3.1.9 and I think I've done installing correctly with its feature of minor configuration changes. It accepted requests on port 3128 and created and the created some numerical or binary (I guess) files in /usr/local/squid/var/logs, My problem is how can I fully verify if the cache is really storing Internet Files? I've read some forums in the Internet replied to me to try the command: cat /usr/local/squid/var/logs/cache.logSo I did tried it and it gives me this output:
2010/11/11 18:04:49| store_swap_size = 0
2010/11/11 18:04:50| storeLateRelease: released 0 objects
2010/11/11 18:05:41| Squid is already running! Process ID 5458
[code]....
I'm using squid as a proxy in our organization. My problem is whenever the squid cache folder size exceeds 3 GB our proxy server starts to hang. Is there a way to write a script that it will automatically delete the squid cash when it exceeds the 3GB limit.
View 7 Replies View RelatedI installed squid 2.6.stable21 on centos 5.3,it starts normally from /usr/local/squid/sbin/squid but when I start form init.d it is running but display message.
/etc/init.d/squid start then displays
Starting JunkBuster & Squid 2010/08/02 19:05:52| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 179: http_reply_access allow all
Squid Cache (Version 2.6.STABLE21): Terminated abnormally. [FAILED]
When i restart the squid service, the following error has occured
Code:
2010/10/04 12:14:14| Squid is already running! Process ID 3941
FATAL: setrlimit: RLIMIT_NOFILE: (13) Permission denied
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
[code]....
im using a lease line on real ip for internet connection in my office.i have shared my internet conetion with a squid 2.6 stable6. i m having almost 200 pc in my office.since last few days my squid is creating a problem.as soon as i restart it ,it work fine but after a few minute it becomes extremely slow ..it almost dies.when i go to its cache log i found the error that your cache is running out of file descriptor...once i increased the no of file descrptor from 1024 to 4028 , the problem temporaily sorted out but after a few days same problem is repetaed ....and still the problem exist
View 3 Replies View RelatedI have installed debian to run Squid cache as a caching proxy.
Ive been bashing away now for 2 days and i have managed to install squid (i first tried manually, but that did not work so i used synaptic software packager to install it (from Administration menu)
That went well, thereafter i installed webamin to work with squid in a GUI
I have managed to start squid and added my range of IP addresses to the ACL list
I have added the proxy restriction too.
Now, i tried to test it.
I opened Iceweasel Web browser (on the same machine) and setit to use the Proxy server: localhost and port:3128
That works fine.
But when i try to change the proxy setting to my machines ip (where squid is installed) :
Proxy server: 10.0.0.35 and port:3128
That does not work.
Am i missing something, please help
I then tried to set another windows PC on the network to:
Proxy server: 10.0.0.35 and port:3128
That also does not work.
I also edited the conf file to http_access allow all, but i do not know if i have doen it correctly, but maybe there is another problem?
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
View 1 Replies View RelatedIs there a way to create a cache repo so when we update all our machines in Ur school, ones one of the machines do the update, all the other machine in our network will have the updates from the cache server.
we did something like that with APT and ubuntu
I'm updating many servers blacklist manualy. from time to time. I want to create a blacklist and host it on a website, and servers will update from this list regularly. For servers I'm using:
Centos
iPcop
Smoothwall
And for proxy I'm using Squid. And I dont use squidguard.
i have a little trouble using squid headers. i explain. i want that when a client do request from specific Url, like: [URL]... the squid automatically send post header like: [URL].. the goal is when client using the proxy server he will be automatically logged to the server. i dont know where to start. do i need to create my own header? if not how can i possibly send post data.
View 2 Replies View RelatedI don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
RHEL 5 is my proxy server. i want to remove temp files and cache . How do i remove cache and temp files.
View 3 Replies View RelatedI am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?
View 2 Replies View Relatedwhat distro do you recomend to use creat a server to filter and cacheall internet activity?
this is for a cybercafe each pc will have some restritions others not
I don't know how configure or how explain what i want to do .... i have one server with dhcpd and dns name cache (also squid as a transparent proxy and iptables), this works fine but logs show this code...
View 1 Replies View Relatedwhat is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how
View 2 Replies View RelatedI have set up a gateway machine in debian lenny
internet is shared to the localnetwork by using squid as proxy server Can I improve the performance if I set up this machine as DNS cache server?
What is the result if I set this machine as Primary DNS?