Squid-usage in Linux
From: http://www.topcmm.com/(17:04:00)
As the most popular operating system, Linux has become increasingly popular. Although Linux software is not rich yet,It is too early to replace windows as an ordinary PC operating system. However, in the server field, Linux is always stable and operable.And has excellent software support. Squid is one of them. Linux and
(images, HTML, streaming media, JS, CSS, etc.). It is used in the website architecture.
Environment:
Client: 172.16.0.210/24
Proxy Server: 172.16.0.101/24,172.16 .1.101/24
Web server: 172.16.1.11/24
Status quo: the client can neither access the Internet nor access the Web server.
Objective: to allow clients to access the Internet and the Web server.
Install squid
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 S
Linux and Cloud computing--the second phase of Linux Server SetupThe 11th chapter:Agent Proxy Server-squid proxy and client configurationInstalling Squidinstallation Squid come to Configuring a proxy server . [1]this is aGeneric forwarding agent configuration[Email protected
basic children 5Auth_param basic credentialsttl 2 hoursAcl password proxy_auth REQUIREDHttp_access allow passwordAuthenticate_ip_ttl 2 hoursHttp_access deny all
Iv. Client settings
Fill in the IP address and port of the SQUID server in the proxy server settings of the browser:IP address 192.168.0.1: 3218
Enter the IP address, port, user, and password of the SQUID
by default, it buffers static pages based on the HTTP header tags returned from the Web server. There are four important HTTP header tags.Last-modified: Tell the Reverse proxy page what time is changed;Expries: Tell the Reverse proxy page what time it should be removed from the bufferCache-control: Tells the direction proxy page should be cached;Pragma: Used to
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 U
When it comes to proxy servers, the first thing we can think of is a dedicated Proxy server Web site that, in some cases, speeds up access to the Internet. In fact, in the need to access the external LAN, we can set up the agent, the number of visits to save the page in the cache, thereby "improve" the network speed. More importantly, we can use the proxy server
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
Implementing reverse proxy in squid
Introduction
This document describes reverse proxies, and how they are used to improve web server performance. section 1 gives an introduction to reverse proxies, describing what they are and what they are used. section 2 compares reverse proxy caches with standard and transparent proxy
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.
10 practical interview questions and answers on the Squid Proxy Server in Linux
Not only do system administrators and network administrators often hear the word "Proxy Server", but we also often hear it. Proxy servers have become the norm of enterprises and are often exposed to them. It also appears in the cafeteria of
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecommunications broadband users, mobile broadband usersProblems: Telecommunications users open www.abc.com Normal, mobile users open www.abc.com very slow, or even openSolution: Place a CDN proxy server in the mobile computer room, through the intelligent DNS resolution, let the telecommunication user directly access the Web server, let the mobile use
Linux and Cloud computing--the second phase of Linux Server SetupThe 11th chapter:Agent Proxy Server Erection-squid configuration Reverse ProxyReverse proxy settings[1]ConfigurationSquid.[Email protected] ~]# vim/etc/squid/squid.conf#: Add ( allow all http access )Http_access Allow all# line: Specify the backend Web se
Construction and configuration of Squid Proxy Server
System Environment: CentOS release 6.5 (Final) (minimal installation)
1. Install squid
# Yum-y install squid
2. Edit the configuration file (Forward
Case:Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line accessUsers: Telecom broadband users and mobile broadband usersProblem: telecom users can access www.abc.com normally. Mobile users can access www.abc.com very slowly or even not.Solution: place a CDN proxy server in the mobile data center. through intelligent DNS resolution, telecom users can directly access the Web server and mobile users can access the CDN
November 26, 2011? Web server architecture? Number of reviews 2 web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line access Access users: Telecom broadband users, Mobile broadband users solution: Place a CDN proxy server in the mobile room, Through intelligent DNS resolution, let telecom users access the Web server directly, let mobile users access the CDN Proxy server, solve the p
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecom broadband users, mobile broadband usersProblems: Telecom users open www.abc.com Normal, mobile users open www.abc.com very slow, even can't openSolution: Put a CDN proxy server in the mobile room, through the intelligent DNS resolution, let the telecom users directly access the Web server, let mobile users access the CDN
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.