Squid is a very popular server software under a UNIX-like system, and its most important function is to establish a cache between the client and the service. So squid can be used as a reverse proxy, deploy multilevel caches or build CDNs, whatever the name is, essentially the same. Currently there is also a ported version of
:
# Vi src/mysql_auth.confMysqld_socket/tmp/mysql. sock#/Usr/ccs/bin/make#/Usr/ccs/bin/make installCreate a user database:# Cd scripts# Mysql-u root-p ******
Test MYSQL_AUTH
1. Add a test user# Mypasswd llzqq 123456Password record ADDED succesfully.
2. Verify the created user# Mysql_authLlzqq: 1234560 K
3. delete an existing user and use this command.# Mypasswd-d username
3. Add the MYSQL_AUTH authentication section in SQUID. CONF.
# Vi/etc/
The normal proxy method is a connection request that proxies the internal network user to the server on the Internet, and the client must specify a proxy server and send a connection request that would otherwise be sent directly to the server on the Internet to the proxy server for processing.The reverse proxy method r
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
1. Squid Introduction
1. Introduction to cache servers
A cache server is a dedicated server used to store webpages, images, files, and other information accessed by users (memory and hard disk). This server not only allows users to get the information they want as quickly as possible, in addition, the data volume transmitted over the network is greatly reduced, and the cache server is often a proxy server.
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
/var/cache/squid 100 16 256coredump_dir/usr/local/squid/var/cache/squiddns_nameservers 114.114.114.114 #dnsrefresh_pattern ^ftp:1440 20% 10080refresh_pattern ^gopher:1440 0% 1440refresh_pattern-i (/cgi-bin/|\?) 0 0% 0refre Sh_pattern. 0 20% 4320Finally, attach the configuration details:#acl all src 0.0.0.0/0.0.0.0 and http_access the Allow all option defines an access control list. For deta
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
Article Title: Set up a Squid proxy server. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: D.S. Oberoi
Is Squid already installed?
The Squid rpm file has been bundled wi
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
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
Release date: 2012-04-16Updated on: 2012-04-17
Affected Systems:Squid Web Proxy Cache 3.1.19Description:--------------------------------------------------------------------------------Bugtraq id: 53024
Squid is an efficient Web Cache and proxy program. It was initially developed for the Unix platform and has been transplanted to Linux and most Unix systems, the l
Squid reverse proxy working principle when a user's browser sends an HTTP request, the request is directed to the reverse proxy server through domain name resolution (if you want to implement reverse proxy for multiple WEB servers, you need to direct the domain names of multiple WEB servers to the reverse
-lzo
Persist-key
Persist-tun
Status openvpn-status.log
Verb 3
Then install squid. Here, you only need to use the simple forward proxy function of squid, so yum is installed.
Yum install squid-y
Edit the squid configuration file and edit the following two lines
Http_port 10.8
Brief introduction:Squid reverse proxy is often used for server side, Client access Squid Proxy Server 80 port, Squid Proxy Server according to the configuration to request the backend Web server,The requested information is then saved locally and passed back to the client,
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
Common configurations of squid Proxy
Squid. conf is the main configuration file of squid. Common configuration items include:
Http_port 192.168.8.88: 3128
# Specify the listening port and IP address
Cache_mem 64 MB
# Set the memory size used for caching,
# MB can be used to save frequently accessed web pages.
Maximum_o
As a free network operating system, Linux is more and more popular with the network enthusiasts, the current Internet run a large number of hosts are Linux, and China has to Linux as a government Internet designated network operating system. There are signs that Linux is gradually maturing.
In order to solve the contradiction between the rapid development of Internet and the resource tension of IP address, proxy server is used more and more widely.
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.