TinyProxy
De WikiMar
Install Tinyproxy manually on a system without Emerge or apt-get
Download Tinyproxy - go to https://www.banu.com/tinyproxy/download/ and download the latest version ex: wget https://www.banu.com/pub/tinyproxy/1.6/tinyproxy-1.6.5.tar.gz
Unpackage
tar xzvf tinyproxy-1.6.5.tar.gz
Build
cd tinyproxy-1.6.5 ./configure make sudo make install
If configure fails you need to install asciidoc. Download it and then
tar -xzf asciidoc-8.6.6.tar.gz cd asciidoc-8.6.6 autoconf ./configure make sudo make install
Then try again the configure from tinyproxy
Edit the configuration file:
nano /usr/local/etc/tinyproxy.conf
Adapt the paths, port, if you want log, and the Allow parameter.
Make some config files readable:
sudo chmod a+r /usr/local/etc/tinyproxy.conf
Create the log file:
sudo touch /var/log/tinyproxy.log sudo chmod a+rw /var/log/tinyproxy.log sudo touch /var/run/tinyproxy.pid sudo chmod a+rw /var/run/tinyproxy.pid
You can optionally create a startup script for tinyproxy, in your home directory:
nano starttinyproxy
and paste this:
#!/bin/sh killall tinyproxy /usr/local/sbin/tinyproxy -c /usr/local/etc/tinyproxy/tinyproxy.conf -d & # sleep 5 # tail /var/log/tinyproxy.log
save it, and make it executable:
chmod u+x starttinyproxy
Exit from root, and under your account, start up Tinyproxy: ./starttinyproxy
To autostart it, copy the script to /etc/init.d/
sudo cp starttinyproxy /etc/init.d sudo rc-update add starttinyproxy default
More info:
http://alanlupsha.blogspot.com/2009/10/how-to-configure-and-install-tinyproxy.html http://www.methods.co.nz/asciidoc/INSTALL.html