Skip to content
Browse files

Tweak INSTALL.

  • Loading branch information...
1 parent 5d6476f commit fa77e60bef02ba624fb573723ef95aa183ba8926 @jech committed
Showing with 23 additions and 23 deletions.
  1. +23 −23 INSTALL
View
46 INSTALL
@@ -1,60 +1,60 @@
-Polipo installation instructions -*-text-*-
-********************************
+Polipo installation instructions
+================================
1. Building and running polipo
-******************************
+------------------------------
- $ make all
- $ su -c 'make install'
- $ man polipo
- $ polipo &
+ $ make all
+ $ su -c 'make install'
+ $ man polipo
+ $ polipo &
If you want Polipo to put itself into the background, you may replace
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
following (whichever works):
- $ make PLATFORM_DEFINES=-DSVR4 all
- $ make PLATFORM_DEFINES=-DSVR4 LDLIBS='-lsocket -lnsl -lresolv' all
+ $ make PLATFORM_DEFINES=-DSVR4 all
+ $ make PLATFORM_DEFINES=-DSVR4 LDLIBS='-lsocket -lnsl -lresolv' all
You can also use Polipo without installing:
- $ make
- $ nroff -man polipo.man | more
- $ ./polipo &
+ $ make
+ $ nroff -man polipo.man | more
+ $ ./polipo &
For information about building on Windows, please see the file README.Windows.
2. Configuring your user-agent
-******************************
+------------------------------
Once polipo is running, configure your user-agent (web browser) to use
the proxy on `http://localhost:8123/'. Depending on the user-agent,
this is done either by setting the environment variable http_proxy,
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.
3. Configuring polipo
-*********************
+---------------------
If you want to use an on-disk cache, you will need to create its root
directory:
- $ mkdir /var/cache/polipo/
+ $ mkdir /var/cache/polipo/
You should then arrange for cron to run the following on a regular
basis:
- killall -USR1 polipo
- sleep 1
- polipo -x
- killall -USR2 polipo
+ killall -USR1 polipo
+ sleep 1
+ polipo -x
+ killall -USR2 polipo
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
@@ -68,5 +68,5 @@ want to put it in a non-standard location. See `forbidden.sample' for
an example.
- Juliusz Chroboczek
- <jch@pps.jussieu.fr>
+Juliusz Chroboczek
+<jch@pps.jussieu.fr>

0 comments on commit fa77e60

Please sign in to comment.
Something went wrong with that request. Please try again.