6.3安装squid
1. Frist you need to install Development tools #yum groupinstall "Development Tools" 2. Get the “squid 2.7 ” source.decompress it. #wget http://www.squid-cache.org/Versions/v2/2.7/squid-2.7.STABLE9.tar.gz #tar -xzvf squid-2.7.STABLE9.tar.gz 3. change directory to squid -2.7
root@xyz squid-2.7.STABLE9]# check configure options by #./configure -help 4. Select your configuration like ./configure --enable-gnuregex --enable-carp --with-pthreads --enable-heap-replacement --enable-icmp --enable-delay-pools --enable-useragent-log --enable-htcp --with-openssl --enable-linux-netfilter --disable-internal-dns --enable-auth=digest,ntlm,basic --enable-auth-baisc=PAM,NCSA,LDAP --enable-auth-basic=none --enable-basic-auth-helpers=PAM,NCSA,LDAP --enable-external-acl-helpers=unix_group,ldap_group --with-filedescriptors=8192 --enable-removal-policies=lru,heap 5.Make it. #make Installation for installation you need to have root privileges . # su
# make Install if you get it without errors congratulate yourself. and proceed to next step . Your default installation directory is #/usr/local/squid/ 6.post-Installation After compiling and installing squid, you should create the cache_dir, give it the rights permissions for the squid user/group and then run:
7. Debug.
最新文章
- 为网站文字前面添加图标 在线调用 Font Awesome 字体icon小图标 美化网站
- mysql 慢查询日志切割
- 简单的css 菜单
- POJ 1511 最短路spfa
- catalan数及笔试面试里那些相关的问题(转)
- UDP HelloWord
- 图论(KM算法):COGS 290. [CTSC2008] 丘比特的烦恼
- apt
- 冲刺NO.7
- GitHub学习笔记:本地操作
- jquery和ajax的关系详细介绍【转】
- 【原】Java学习笔记034 - 网络
- sjms-2 创建型模式
- php如何控制客户端生成缓存
- python批量拷贝文件
- jboss8+EJB3+MDB Queue
- September 07th 2017 Week 36th Thursday
- nginx 源码阅读 core
- 【JavaScript】面向对象的程序设计
- hapRroxy 安装配置详解