used by FreeBSD is not as-ufs as the ext2/ext3 used on Linux. But there will be a lot of improvement after adding softupdate. And abroad agent configured using RAID5 mode, disk using high speed SCSI hard disk, in the above hardware configuration, read squid cache number k size small file using ext2 and ufs+softupdate the difference in efficiency of less than one out of 10,000. For a proxy server with a loa
1. Install squid-2.5Groupadd squidUseradd? G squidRpm? Ivh squid-2.5.STABLE3-3.3E.i386.rpmIi. Configure squid. conf:# Set the proxy port of SQUID (with the IP address added, Squid will
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,
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 squid combination as proxy
The server has
Case:
Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line access
Users: Telecom broadband users and mobile broadband users
Problem: 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
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
, Gopher, SSL and WAIS protocols. Unlike general proxy caching software, squid handles all client requests with a separate, modular, I/O-driven process.
Squid caches the data elements in memory while also caching the results of DNS lookups, in addition to supporting non modular DNS queries that negatively cache failed requests.
traditional proxies, the difference is that the client does not need to specify the address and port of the proxy server, but rather through the default route, the firewall policy redirects the Web Access, and still actually gives the proxy server to handle 1. Installation and Operation Control compile and install squid:When configuring the compilation option
://baidu.com/–none/-text/html
And then try to download the external files with wget, with subversion access to external SVN repository, RVM install Ruby package is successful! This is not what I want to be the result of! I was accidentally hit by mistake! Although so far I still do not know why the HTTP request issued by the browser can not be recognized ^_^.
Squid This HTTP
All the files on my site are static HTML, so in order to speed up the speed of the web, I use squid to implement the reverse proxy caching function.
@ Install Squid
To be lazy, use the ports installation directly, because I have all the server systems installed in the/s partition, so set the prefix to/s/
1. Install squidYum Install Squid2. Modify the Squid configuration fileCache_dir UFS/VAR/SPOOL/SQUID 100 16 256Cache_mem MB.... Inserting code under Refresh_patternRefresh_pattern \. (jpg|png|gif|js|css|mp3|mp4|exe) 1440 20% 2880 ignore-reloadVisible_hostname WYP"Cache_dir" This is used to specify the cache directory o
Proxy server, there is no need to introduce, simply say the installation process. At the beginning of the hosting24 above, installation, how the installation has not been successful, replaced by Linode, half an hour on the deal, Guess hosting24 the agent made restrictions.
One, server description
A foreign VPS (recommended Linode), service-side squid
A company's internal PC, can access the external netwo
:
Service squid start
Note:Squid can also run automatically when the system is started by enabling Squid in ntsysv or setup (system service menu. InAfter any changes are made to the configuration file, the currently running Squid process must be restarted. You can use the following command to complete the process:
Service s
1. Download and install squid for Windows
Download the squid of windwosnt:
Http://squid.acmeconsulting.it/download/squid-2.6.STABLE13-bin.zip
1. Decompress squid-2.6.stable13-bin.zip and copy the squid folder to C:/(
Squid agent is divided into "forward proxy" and "reverse proxy".The "Forward proxy" is mainly used for proxy users to access the external network, to manage the user's access behavior and to save the bandwidth (the/data/cache directory holds the cache of user access, and whe
Tags: proxy server firewall squid
1. Traditional proxy
Traditional proxies can hide IP addresses mostly for the Internet.
In Linux, squid is not installed by default. Therefore, you must install the support for the Perl Language Pack in red hat.
The
In Ubuntu, use Squid to set a server as a proxy server. first install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid Configuration file sudogedit/etc/squid. c
The Squid software required to install the proxyYum-y Install SquidSecond, the configuration file location/etc/squid/squid.conf#默认配置文件是可以代理所有私网地址的, add your own if you have additional addressesThird, turn on the cache functionCache_dir UFS/VAR/SPOOL/SQUID 100 16 256#默认改行是被注释
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.