首页 > 其他 > 详细

squid安装

时间:2015-04-14 00:49:12      阅读:272      评论:0      收藏:0      [点我收藏+]
./configure ‘--build=x86_64-redhat-linux-gnu‘ ‘--host=x86_64-redhat-linux-gnu‘ ‘--target=x86_64-amazon-linux-gnu‘ ‘--prefix=/usr/local/squid‘ ‘--disable-dependency-tracking‘ ‘--enable-arp-acl‘ ‘--enable-follow-x-forwarded-for‘ ‘--enable-auth-basic=LDAP,NCSA,PAM,SMB,getpwnam,SASL,DB,POP3‘ ‘--enable-external-acl-helpers=session,unix_group,wbinfo_group‘ ‘--enable-cache-digests‘ ‘--enable-cachemgr-hostname=localhost‘ ‘--enable-delay-pools‘ ‘--enable-epoll‘ ‘--enable-icap-client‘ ‘--enable-ident-lookups‘ ‘--enable-linux-netfilter‘ ‘--enable-referer-log‘ ‘--enable-removal-policies=heap,lru‘ ‘--enable-snmp‘ ‘--enable-ssl‘ ‘--enable-storeio=aufs,diskd,ufs‘ ‘--enable-useragent-log‘ ‘--enable-wccpv2‘ ‘--enable-esi‘ ‘--with-aio‘ ‘--with-default-user=squid‘ ‘--with-filedescriptors=16384‘ ‘--with-dl‘ ‘--with-openssl‘ ‘--with-pthreads‘ ‘--disable-strict-error-checking‘ ‘build_alias=x86_64-redhat-linux-gnu‘ ‘host_alias=x86_64-redhat-linux-gnu‘ ‘target_alias=x86_64-amazon-linux-gnu‘ ‘CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie‘ ‘LDFLAGS=-pie‘ ‘CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie‘ --with-squid=/home/ec2-user/squid-3.5.2
#!/bin/sh 
echo -n ‘ Squid ‘ 

case "$1" in 
start) 

/usr/local/squid/sbin/squid -s
;; 
stop) 
/usr/local/squid/sbin/squid -k shutdown 
;; 
restart) 
/usr/local/squid/sbin/squid -k reconfigure 
;; 
*) 
echo "Usage: `basename $0` {start|stop|restart}" 
;; 
esac


squid安装

原文:http://my.oschina.net/hanoi/blog/400750

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!