Thursday, December 27, 2012

Linux Disabling Squid Proxy Server


 To disable squid proxy server or service you need to type the following command as the root user.
[a] chkconfig command - provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating thenumerous symbolic links in those directories.
[b] service command - start / stop / restart or run a System V init script or services such as httpd or squid.

Task: Stop Squid

Type the following command:
# service squid stop
OR
# /etc/init.d/squid stop
To turn off service on boot, enter:
# chkconfig squid stop
You may also need to disable http_proxy variable by editing shell startup files. At shell prompt enter:
export http_proxy=


No comments: