---
title: "设置squid代理"
author: "sunj"
date: "2016-01-14T09:36:18Z"
tags: []
categories: ["移动开发"]
slug: "squid"
draft: false
lastmod: "2016-01-14T09:36:18Z"
id: 2270473
url: "https://sunj.iteye.com/blog/2270473"
---

apt-get update 
apt-get install squid 

vi etc/squid/squid.conf 

http_access deny all 改为 http_access allow all 

service squid start 

squid –k parse 检查语法 
service squid start 启动squid 
chkconfig squid on 加入开机启动 
netstat –nltp   查看3128端口是否打开 