Linux Disabling Squid Proxy Server

by on March 13, 2008 · 1 comment· last updated at June 23, 2008

Q. How do I disable Squid Proxy Serer under CentOS Linux operating system so that I can directly connect to the internet?

A. 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=
You need to edit GUI browser Internet settings to disable proxy access.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 mastiya July 28, 2010 at 8:52 am

what if i disable squid on server, will it slowdown my website?

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , , , ,

Previous Faq:

Next Faq: