How To Install and Configure Squid 3 on Ubuntu

r00t April 15, 2014

Squid-cache

In this tutorial we will show you how to install and configuration of Squid on your Ubuntu server. For those of you who didn’t know, Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Squid proxy is used by various organisation and internet providers to reduce bandwidth and to increase response time.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Squid on Ubuntu server.

Install and Configure Squid 3 on Ubuntu

Step 1. To install, first you must update yum repository and packages by typing the below command:

Step 2. Installing Squid proxy server.

Install squid package and dependencies using the below command:

Step 3. Edit squid configuration file ‘/etc/squid/squid.conf’

Step 4. Create our authentication file which Squid can use to verify for user authentications:

Example:

Step 5. After making changes to the config file, save the file and restart the squid server service to effect the changes using the following command entered at a terminal prompt:

If you experience any problems, you can check the access.log for more information:

Congratulation’s! You have successfully installed Squid. Thanks for using this tutorial for installing Squid caching proxy in Ubuntu system. For additional help or useful information, we recommend you to check the official Squid web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon8Share on Reddit1Pin on Pinterest4
The Tags:

Leave a Comment