Categories

Last Updated on July 25, 2019 by admin
Insight:How to Install Squid Proxy on CentOS 7
This tutorial post explains how to set up Squid on CentOS 7. Good news is that Squid package is included in the default CentOS 7 repositories.
Run the following command to install Squid:
sudo yum install squid
After installation process, run the following command to start and enable the Squid service:
sudo systemctl start squid
sudo systemctl enable squid
To verify whether installation has been successful or not:
sudo systemctl status squid
If you want to configure Squid, It can be done by editing the /etc/squid/squid.conf
file.
sudo nano /etc/squid/squid.conf
If you want to changee the Squid listening port which is by default configured to listen on port 3128
on all network interfaces on the server.
http_port IP_ADDR:PORT