Forked version for centminmod.com LEMP stack support. You can view differences between original and forked here.
Squid Proxy Installer with Username-Password Authentication
The Squid Proxy Installer (short: SPI) is a fully automated shell script to install an anonymous HTTP proxy based on Squid 3 with a username and password authentication through NCSA Auth and htpasswd. It requires no other input than your desired username and password. The default configuration listens on the default TCP port 3128!
SPI was written for the most common server Linux operating systems:
- CentOS 5/6/7
- Debian 6/7/8
- Ubuntu (most versions are supported)
- Fedora (most versions are supported)
- More OS on request
How to add more users:
You can easily add more users which are allowed to access your proxy with the command below:
Debain & Ubuntu:
htpasswd /etc/squid3/passwd username
CentOS/Fedora:
htpasswd /etc/squid/passwd username
Replace username with the actual username of the user you want to add.
For help with Squid and in order to change the configuration according to your needs please consult the Squid FAQ and the Squid wiki.