Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Tweak INSTALL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jech committed Aug 1, 2011
1 parent 5d6476f commit fa77e60
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions INSTALL
@@ -1,60 +1,60 @@
Polipo installation instructions -*-text-*- Polipo installation instructions
******************************** ================================


1. Building and running polipo 1. Building and running polipo
****************************** ------------------------------


$ make all $ make all
$ su -c 'make install' $ su -c 'make install'
$ man polipo $ man polipo
$ polipo & $ polipo &


If you want Polipo to put itself into the background, you may replace If you want Polipo to put itself into the background, you may replace
the last line with: the last line with:


$ polipo daemonise=true logFile="/var/log/polipo.log" $ polipo daemonise=true logFile="/var/log/polipo.log"


On SVR4 systems (Solaris, HP/UX), you will need to use one of the On SVR4 systems (Solaris, HP/UX), you will need to use one of the
following (whichever works): following (whichever works):


$ make PLATFORM_DEFINES=-DSVR4 all $ make PLATFORM_DEFINES=-DSVR4 all
$ make PLATFORM_DEFINES=-DSVR4 LDLIBS='-lsocket -lnsl -lresolv' all $ make PLATFORM_DEFINES=-DSVR4 LDLIBS='-lsocket -lnsl -lresolv' all


You can also use Polipo without installing: You can also use Polipo without installing:


$ make $ make
$ nroff -man polipo.man | more $ nroff -man polipo.man | more
$ ./polipo & $ ./polipo &


For information about building on Windows, please see the file README.Windows. For information about building on Windows, please see the file README.Windows.


2. Configuring your user-agent 2. Configuring your user-agent
****************************** ------------------------------


Once polipo is running, configure your user-agent (web browser) to use Once polipo is running, configure your user-agent (web browser) to use
the proxy on `http://localhost:8123/'. Depending on the user-agent, the proxy on `http://localhost:8123/'. Depending on the user-agent,
this is done either by setting the environment variable http_proxy, this is done either by setting the environment variable http_proxy,
e.g. e.g.


$ http_proxy=http://localhost:8123; export http_proxy $ http_proxy=http://localhost:8123; export http_proxy


or by using the browser's ``preferences'' menu. or by using the browser's ``preferences'' menu.


3. Configuring polipo 3. Configuring polipo
********************* ---------------------


If you want to use an on-disk cache, you will need to create its root If you want to use an on-disk cache, you will need to create its root
directory: directory:


$ mkdir /var/cache/polipo/ $ mkdir /var/cache/polipo/


You should then arrange for cron to run the following on a regular You should then arrange for cron to run the following on a regular
basis: basis:


killall -USR1 polipo killall -USR1 polipo
sleep 1 sleep 1
polipo -x polipo -x
killall -USR2 polipo killall -USR2 polipo


If you want to use a configuration file, you should put it in one of If you want to use a configuration file, you should put it in one of
the locations `/etc/polipo/config' or `~/.polipo'; you can also use the locations `/etc/polipo/config' or `~/.polipo'; you can also use
Expand All @@ -68,5 +68,5 @@ want to put it in a non-standard location. See `forbidden.sample' for
an example. an example.




Juliusz Chroboczek Juliusz Chroboczek
<jch@pps.jussieu.fr> <jch@pps.jussieu.fr>

0 comments on commit fa77e60

Please sign in to comment.