Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-14-2011, 02:23 AM
|
#1
|
Member
Registered: Oct 2004
Location: LH
Posts: 648
Rep:
|
How to start squid service automatically ?
Hi,
When ever I reboot my server I always turn on the squid service. Is there any way that without giving command
Code:
#service squid start
my squid service should automatically start ?
thanks in advance,
garden
|
|
|
03-14-2011, 02:27 AM
|
#2
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
You need to use chkconfig.
Cheers,
Josh
|
|
1 members found this post helpful.
|
03-14-2011, 02:44 AM
|
#3
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hello,
Depends on what distro you're using. You can find the necessary info reading the man page for your distro. Since you didn't indicate what distro you use, I've listed the most common onces here.
For RedHat and related:
For Debian and related (5.0)
For Debian and related (6.0)
Kind regards,
Eric
|
|
1 members found this post helpful.
|
03-14-2011, 03:04 AM
|
#4
|
Member
Registered: Oct 2004
Location: LH
Posts: 648
Original Poster
Rep:
|
thanks for help 
|
|
|
03-14-2011, 03:05 AM
|
#5
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
You're welcome. If you consider your problem/question solved then please mark it as such using the Thread Tools.
Kind regards,
Eric
|
|
|
03-14-2011, 04:27 AM
|
#6
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Thanks for stealing my thread, Eric 
|
|
|
03-14-2011, 05:05 AM
|
#7
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by corp769
Thanks for stealing my thread, Eric 
|
Hi Josh,
All in the interest of completeness buddy
Kind regards,
Eric
|
|
1 members found this post helpful.
|
03-14-2011, 10:46 AM
|
#8
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Quote:
Originally Posted by EricTRA
Hi Josh,
All in the interest of completeness buddy
Kind regards,
Eric
|
Completeness? You know I'm at work.... LOL
|
|
|
All times are GMT -5. The time now is 07:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|