Squid安装

最新版Squid安装http://www.squid-cache.org/Versions/v3/3网络
强烈推介IDEA2020.2破解激活,IntelliJ IDEA 注册码,2020.2 IDEA 激活码

最新版Squid安装

http://www.squid-cache.org/Versions/v3/3.5/
# wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.7.tar.gz
# tar zxvf squid-3.5.7.tar.gz
# cd squid-3.5.7
# ./configure --prefix=/usr/local/squid
# make && make install
# chmod -R 777 /usr/local/squid/var/logs/

启动squid
# /usr/local/squid/sbin/squid start

重启squid
# /usr/local/squid/sbin/squid restart

停止squid:
# /usr/local/squid/sbin/squid -k shutdown

注意修改配置一定要使用这个才生效:
# /usr/local/squid/sbin/squid -k reconfigure

本文来源21aspnet,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/2367

发表评论