commit | c09a6a46f02d736cf7ccbc3ce33290396ae47042 | [log] [tgz] |
---|---|---|
author | Tang Cheng <cheng.tang@supwisdom.com> | 周二 11月 28 09:09:58 2017 +0800 |
committer | Tang Cheng <cheng.tang@supwisdom.com> | 周二 11月 28 09:09:58 2017 +0800 |
tree | f661d3b44de2c7c5f7c73c69f05a876d1a486a9d | |
parent | 150e6289b6ffe3ff68cece6a088c60921ad3e5fa [diff] |
增加了部署文档中的正向代理
diff --git "a/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214.md" "b/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214.md" index dbdb793..55f01f6 100644 --- "a/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214.md" +++ "b/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\256\211\350\243\205\351\203\250\347\275\262\346\211\213\345\206\214.md"
@@ -285,6 +285,24 @@ } ~~~ +### 正向代理 +`CentOS 7` : http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/privoxy-3.0.26-1.el7.x86_64.rpm + +`CentOS 6` : http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/p/privoxy-3.0.24-2.el6.x86_64.rpm + + +```bash +$ wget privoxy_url +$ rpm -ivh privoxy-x.x.x.x86_64.rpm +``` + +修改配置文件 /etc/privoxy/config , 将 `listen-address 127.0.0.1:8118` 改为 `listen-address 0.0.0.0:8118` + +```bash +$ service privoxy start +$ service privoxy status +``` + ### 数据库初始化 按照文件名顺序执行数据库初始化脚本