代理服务器squid使用

What is Squid

Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we’re getting there!) a fully-featured HTTP/1.1 proxy. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications. Squid offers a rich set of traffic optimization options, most of which are enabled by default for simpler installation and high performance.

yum install

yum install -y squid

源码安装

源码下载

http://www.squid-cache.org/Versions/

解压并编译

tar -zxvf  squid-5.7.tar.gz   -C  /usr/local/
cd squid-5.7

编译配置

查看配置命令

% ./configure --help
 -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix

你可能感兴趣的:(后端,服务工具,服务器,linux,服务器,proxy)