Social profiles

On Redhat based distros such as CentOS, install squid, then do

#chkconfig squid on

When you reboot squid will be automatically started.

NOTE : you can edit the rc.local file as follows;

Goto directory /etc/rc.d/rc.local
you can add any command you want to be run when the system reboots, Add the following line to the rc.local file.


To verify your configuration file you can use the -k parse option

# /usr/local/squid/sbin/squid -k parse

After you created the cache directories, Then start the Squid.

# /usr/local/squid/sbin/squid -NCd1

If you want to run squid as a background process.

# /usr/local/squid/sbin/squid

Other Resources :

One thought on “Running Squid on Boot in Squid Proxy Server”

Leave a Reply

Your email address will not be published. Required fields are marked *