How To Install Squid on CentOS 7

r00t April 22, 2016

Install Squid on CentOS 7

In this tutorial we will show you how to install and configuration of Squid on your CentOS 7 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 proxy on a CentOS 7 server.

Install Squid on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Squid.

Installing Squid and related packages is now as simple as running just one command:

Verify and checking the version of the Squid the installation:

Start the service and set it to be start at Boot time:

Step 3. Configure Squid on CentOS 7.

You can now configure Squid. The configuration file is located at the following path:

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

Finally, restart Squid services and add firewall rule to allow squid 3128 port.

Done configuration part now time to test browsing pointing squid ip and default port in client browser.

Congratulation’s! You have successfully installed squid. Thanks for using this tutorial for installing squid proxy on CentOS 7 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!

Save

Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest3
The Tags:

Leave a Comment