How To Install Squid Proxy on Ubuntu on Ubuntu

Squid Caching Proxy is a caching proxy for the Web. It reduces bandwidth and improves loading times by caching when accessing frequently-visited.

I’ll be installing Squid on Ubuntu 15.04 64bit OS.

Install Squid 3

1. You must update repository and packages by typing the command in terminal:

sudo apt-get update

2. Now let’s install Squid 3 and required packages:

sudo apt-get install squid3

3. Check the Version of the Squid 3 Installation:

sudo squid3 -v

The results should look similar to this:

squid-3-installation

4. To edit squid configuration file ‘/etc/squid/squid.conf ‘

sudo nano /etc/squid3/squid.conf

The results should look similar to this:

squid-3-install

Setting up a Windows client

Go to Control Panel -> Internet Options.

How-to-Install-Squid-3-on-Windows-8

Connections Tab, and then LAN settings.

How-to-Install-Squid-3-on-Windows-7

In my lab the IP address of my Squid caching proxy server is 10.0.0.14 and the default port for squid is 3128.

How-to-Install-Squid-3-on-Windows-6

You can locate this address by entering the following command in Ubuntu terminal:

ifconfig

The results should look similar to this:

how-to-get-the-ip-address-os-a-ubuntu-pc

Miguel

I started this tech blog back in 2011 as a place to write down processes I took to fix my client systems and network. Now I write some tips and tricks to help others with the tech issues that one might encounter.

You may also like...