yum install squid

http_port 0.0.0.0:3128
acl any src 10.0.0.0/8
http_access allow all
cache_mem 128 MB
maximum_object_size 4096 KB
maximum_object_size_in_memory 4096 KB
access_log /var/log/squid3/access.log squid
visible_hostname 10.0.0.2
cache_dir ufs /var/spool/squid3 1000 16 256
cache_mgr XXX


# 创建目录

mkdir -p /var/spool/squid3
chown squid:squid /var/spool/squid3

mkdir -p /var/log/squid
chown squid:squid /var/log/squid
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""