Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos7_privoxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
centos7_privoxy [2016/04/21 13:53] – [Sources] admincentos7_privoxy [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[centos7 linux privacy proxy privoxy]}} {{tag>[centos7 linux privacy proxy privoxy]}}
  
-~~TOC~~ 
  
 =====CentOS 7 - privoxy===== =====CentOS 7 - privoxy=====
Line 11: Line 10:
   * Download the latest [[http://www.privoxy.org/|source code]].   * Download the latest [[http://www.privoxy.org/|source code]].
   * Install development tools:<code>yum groupinstall development tools</code>   * Install development tools:<code>yum groupinstall development tools</code>
-  * Install required packages:<code>yum install zlib-devel w3m</code>+  * Install required packages:<code>yum install zlib-devel pcre-devel w3m</code>
   * Extract the archive:<code>tar zxvf privoxy-3.0.24-stable-src.tar.gz</code>   * Extract the archive:<code>tar zxvf privoxy-3.0.24-stable-src.tar.gz</code>
   * Create a privoxy user:<code>groupadd -g 1984 privoxy   * Create a privoxy user:<code>groupadd -g 1984 privoxy
Line 24: Line 23:
   * Privoxy only includes a SysV service, enable this service:<code>cp privoxy-generic.init /etc/init.d/privoxy   * Privoxy only includes a SysV service, enable this service:<code>cp privoxy-generic.init /etc/init.d/privoxy
 # Edit /etc/init.d/privoxy and change the paths to /opt/privoxy... # Edit /etc/init.d/privoxy and change the paths to /opt/privoxy...
 +# PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/xpg4/bin:/usr/bin:/sbin:/bin:/opt/privoxy/sbin
 +# P_CONF_FILE=/opt/privoxy/etc/config
 +# P_PIDFILE=/opt/privoxy/var/run/privoxy.pid
  
 chkconfig --add privoxy chkconfig --add privoxy
 chkconfig privoxy on</code> chkconfig privoxy on</code>
   * Start privoxy:<code>service privoxy start</code>   * Start privoxy:<code>service privoxy start</code>
 +====Post configuration====
 +  * Change listen-address.
 +  * Open firewall port.
 +  * Check if Privoxy works: http://config.privoxy.org/ or http://p.p
centos7_privoxy.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1