Documente Academic
Documente Profesional
Documente Cultură
Ubuntu 14.04
Squid is a web proxy and cache server which
primarily provides proxy and cache services for the HTTP protocol. In
this tutorial we are going to show you how to install and configure
Squid proxy server on a Linux VPS.
Before we start with installing and configuring Squid, let’s update all
the system software to the latest version available:
sudo apt-get update && sudo apt-get -y upgrade
The update should take few moments. Once it is done, you are ready
to proceed with the other steps of this tutorial. Since Squid is
available in the Ubuntu repositories, the installation of Squid proxy
server on an Ubuntu VPS is pretty straightforward. To install it on
your server you need to run the following command:
sudo apt-get install squid
To edit the configuration file, you can use your favorite software for
text editing. We will use nano.
sudo nano /etc/squid3/squid.conf
The first thing you may like to change is the Squid listening port. By
default, Squid is listening on port 3128. To change the default
listening port you need to edit the http_port directive. For example,
if you like to set 8888 as Squid listening port, you should edit the
directive to look like the directive below:
http_port 8888
By default, the HTTP proxy server will not allow access to anybody.
To allow access to the HTTP proxy server from all IP addresses, you
need to edit the http_access directive and make it look like the
following:
http_access allow all
If you experience any problems, you can check the access.log for
more information.
sudo tail -f /var/log/squid3/access.log
More information and configuration instructions about Squid HTTP
proxy server you can find at the official web site. It is available
at http://www.squid-cache.org/.
Of course you don’t have to Install Squid proxy server on Ubuntu
14.04 if you use one of our Linux VPS hosting services, in which case
you can simply ask our expert Linux admins to install Squid proxy
server on Ubuntu for you. They are available 24×7 and will take
care of your request immediately.
PS. If you liked this post please share it with your friends on the
social networks using the buttons on the left or simply leave a reply
below. Thanks.