Squid working principle:After Squid is started, a Hash Table is created in RAM to record the object configuration in the hard drive.Squid will also create a Digest table (summary table) in RAM, and its function is to Exchange Digest table with other squid (sibling), if the user wants the information they do not have, you can quickly know which
I. What is Squid?
Squid is a software used to buffer Internet data. In this way, it implements its function by accepting requests from the target (object) that people need to download and processing these requests as appropriate. That is to say, if a person wants to download a web page, he requests Squid to get it for him. Sq
Squid Configuration Guide and problems-Linux general technology-Linux technology and application information, the following is a detailed description. Basic Configuration
Configure squid. conf. For the installation configuration path, see the INSTALL file in the installation directory.
After the installation is complete, configure the run of Squid (not the previ
1. What is squidSquid cache( squid) is a popular free software (GNU general Public License) proxy Server and Web cache server. Squid has a wide range of uses, from caching related requests to the cache server as a Web server to improve the speed of Web servers, to share network resources for a group of people and cache the World Wide Web, domain name systems and other web searches, To help network security
Using squid as a directional proxy server can function like Nginx, and can store cached content in memory, Nginx cache content on a hard disk, and configure the same principle as nginx, squid himself works as a Web server, Direction proxy to the backend Web server to the user.
1. Install SquidTAR-ZXVF squid-3.4.10.tar.gzCD s
Squid configuration1. What is squidSquid can do proxies or cache.Squid caching not only saves valuable bandwidth resources, but also greatly reduces the server's I/O.Squid can not only do the forward proxy, but also can do reverse proxy.Forward agent, squid behind is the client, the client Internet to go through squid; reverse proxy,
. (Computer science)
Programme II: Wired
The cable scheme must only Buchan fiber for a distance of 12 kilometers, which is more expensive and time-consuming. You don't have to think about it.
Programme three: Internet +vpn
The internet can be said to be a common wan, a large number of telecommunications operators to establish a wide range of long-distance network, which is our enterprise to use the network of telecommunications companies to achiev
From: http://bbs.chinaunix.net/viewthread.php? Tid = 561395
Ascending Order:I have maintained several squid servers at work. I have read Duane Wessels (he is also the founder of squid) for many times. His original title is "Squid: the definitive guide ", published by o'reilly. I have translated it into Chinese in my spare time, hoping to help Chinese
Introduction to the proxy server squid
Squid cache (squid for short) is a popular free software (GNU General Public License) proxy server and Web Cache Server. Squid has a wide range of uses, from cache-related requests as front cache servers of web servers to improving the speed of web servers, to cache the World Wide
Installation:Download the installation package Http://pan.baidu.com/s/1mitvwpEUnzip the tar -xzvf file. tar. gzCompile:Go to sbin directory execution./configure--prefix=/usr/local/squid--sysconfdir=/etc--enable-gnuregex--enable-icmp--ENABLE-SNMP-- Enable-default-err-language= "Simplify_chinese"--enable-kill-parent-hack--enable-cache-digests-- Enable-underscore--enable-poll--enable-async-io=240--enable-arp-acl--enable-delay-pools-- Enable-follow-x-forw
Build Squid Proxy Server
Prepare the environment:
Client: 192.168.118.4
Squid Proxy Server: 192.168.118.3 (intranet IP) 1.1.1.1 (Internet IP)
Web server: 1.1.1.2
Goal: the client accesses the Web server through the Squid Proxy Server
I. Common proxy
1. First, shut down the firewalls of each host, and then implement intercommunication between the
in front of date-time text. Corresponding to class name 'sun' & 'moon' -->Notes on using squid for website acceleration in Windows23:39:43 large, medium and small cases:We have a website named dummy.example.com. The original site was only built on a telecommunications server, but as the business needs arise, more and more Netcom users also need to visit our site, in this case, we need to set up a set of telecom sites on the Netcom server to pr
I. basic configuration
Configure two NICs for the Squid Proxy Server
WAN: eth0: 10.10.10.200 gateway and DNS must be configured to allow Internet access
LAN: eth1: 172.161.254 do not need to configure gateway or DNS
Clinet: 172.16.1.2/24 gateway and DNS need to be configured
Squid (proxy) Port: 3128
System
Host Name
Server IP Address
Client IP
RedHat 5.4
Proxy
Eth0: 10.10.10.200
172.16.1.0
Eth1: 172.16.1.
Software environment: RedHatLinux9 on the Squid homepage www.squid-cache.org download the latest Squid2.5-STABLE5 for compilation. Step: 1.download the latest source file squid-2.5.stable5.src.tar.gz placed in the/usr/local directory 2. Log On As root and execute the following command: cd/usr/localtar-zxvfSquid-2.5.STABLE
Software environment: RedHat Linux 9On the Squid
The introduction of squid allows you to find a lot of stuff on the Internet. We recommend a good document:
Http://home.arcor.de/mailerstar/jeff/squid/index.html
Install squid according to the above steps. In fact, the most important thing about squid is to configure and understand the concept.
Squid startup parameter 1. Add-z to the first startup to create the squid cache HASH directory and initialize it. The squid command line option-aport specifies the new http_port value. This option overwrites the value from squid. conf. However, note that you can specify multiple values in
SQUID proxy server for user authentication
SQUID and MYSQL are installed using the binary installation package released by SUN, which can be found in software_companion_x86 CD; and MYSQL_AUTH can be found by GOOGLE search.
1. install and configure SQUID + MYSQL
1. create Users and Groups# Groupadd squid# Useradd-g
Squid forward AgentA forward proxy, which means a server located between the client and the original server (Origin server), in order to obtain content from the original server, the client sends a request to the agent and specifies the target (the original server), then the agent forwards the request to the original server and returns the obtained content to the client. The client can use a forward proxy. In a sense, "the client and the forward proxy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.