How To Install and Configure Squid 3 on CentOS

r00t April 13, 2014

Install and Configure Squid 3 on CentOS

In this tutorial we will show you how to install and configuration of Squid on your CentOS 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 and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Squid in CentOS linux server.

Install and Configure Squid 3 on CentOS

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

Step 2. Installing Squid 3.

Install squid package and dependencies using the below command :

 squid-cache-install

Step 3. Configuration Squid.

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

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

Example:

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

Squid Install 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 “Squid Proxy” installation, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook9Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest3
The Tags:

Leave a Comment