This will install Apache2 Web Server. To check it open your internet browser and type localhost inside.
Step 2: Download and Istall Squid3
Open you SSH or Terminal and type this in
sudo apt-get install squid3
This will install the Squid Proxy it self. Everything should work right now, now you just have to configure the server itself.
Step 3: Configure Squid3
The config file is located at /etc/squid3/squid3.conf , open it and change it to your own needs.
To allow only particular clients to be able to use the proxy, you will need to type this into the config file:
This will install allow and give full access to the client named "admin-conmuter" with an IP address of 10.1.1.5 to fully by-pass the proxy server.
You will also need to create passwd file in /etc/squid3/ to store usernames and passwords.
And here is how you do it:
sudo htpasswd -c /etc/squid3/passwd USERNAME
Now everything should be up and running. You might want to restart the Squid3 service by typing: