标签:
./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
标签:
原文地址:http://my.oschina.net/hanoi/blog/400750