Linux+squid Best Proxy Server combination

Source: Internet
Author: User
Keywords Squid proxy server best install compile
Tags aliyun compile computer data directory environment help help you

Proxy server in the current http://www.aliyun.com/zixun/aggregation/16327.html "> network environment is widely used, and plays a very important role in the Internet." Today I would like to introduce a Linux environment to set up a proxy server method, I hope to be able to help you friends.

Before setting up, let's take a look at the characteristics of the proxy server. So we understand the proxy server, assuming that computer a needs computer B data, computer A first and computer C to establish a connection, computer C received a computer A data request, and Computer B to establish a connection, download computer A requested data and then transfer this data to computer A, computer C is called proxy server.

The choice of third party proxy server software under Linux

In fact, the choice of Third-party proxy Server software is still a lot of, such as Apache, with powerful features, high speed and efficiency, but the performance advantages of Linux proxy server is not obvious, do not recommend the use of squid, it by a main service program squid, A DNS query program DNSServer and several management tools, its more obvious feature is to reduce the server waiting for DNS query time, "Linux+squid" is the best proxy server combination!

Second, install Squid

In fact, today's Linux basically have a compiled squid, directly installed it. If you don't have a compiled squid on hand, you can go to FTP://squid.nlanr.net/pub to download it.

The first step: Remember squid by default does not allow root to execute it, you must create new directories and users for squid, we assume the user directory is set to/usr/local/squid.

Then perform the following command to decompress: Tar.gz:Tar ZXVF squid–src.tar.gz

Step Two: Enter squid directory, run "./configure", this command familiar with Linux friends should be clear, it will automatically check the system configuration, because there is no parameter, so the default installation in this directory.

Step three: After setting up the configuration file, you can enter make to start compiling squid;

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.