LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-07-2004, 06:17 PM   #1
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 15
Question Start services automatically (httpd & SMB)


I want to have smb service and httpd service run automatically before I log in (ie at bootup). I am running RH9 w/ a command line interface. I really need my hand held (step by step) for what i need to do to make this work.

Thank you,

'Glue
 
Old 01-07-2004, 06:53 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
In a termal window.
chkconfig --level 35 httpd on;
chkconfig --level 35 smbd on;

Or run
serviceconfig for a gui.
 
Old 01-07-2004, 10:14 PM   #3
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks G,

It worked for the httpd, but not for the smb. Any ideas how to get that? Also, what is this line of command doing? Thanks for the info!

'glue
 
Old 01-07-2004, 10:40 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
I read your post earlier this evening and then I did a man on chkconfig.
Kewl
 
Old 01-08-2004, 06:56 AM   #5
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Sorry samba is sbm not smbd.
chkconfig --level 34 smd on;
The name of all of the services can be found with
chkconfig --list;
 
Old 07-09-2004, 03:31 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
I got lots of services that auto start.

My question is how do we know which service we need and don't need? Some of the services' explaination is really confusing.
 
Old 07-09-2004, 03:41 AM   #7
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

My question is how do we know which service we need and don't need? Some of the services' explaination is really confusing.

If you're unsure of a particular service you can look around for more info or ask in here.
 
Old 07-09-2004, 03:53 AM   #8
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Quote:
Originally posted by Demonbane

If you're unsure of a particular service you can look around for more info or ask in here. [/B]
Are there any "compulsory" services that needed to be started? Say I only use smb for samba? Can I remove the rest? Or there are also some of the services that are required by some other packages?
 
Old 07-11-2004, 03:48 AM   #9
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Are there any "compulsory" services that needed to be started? Say I only use smb for samba? Can I remove the rest? Or there are also some of the services that are required by some other packages?
bump
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
start services at startup automatically merlin23 Linux - Newbie 10 06-30-2013 04:48 AM
SMB services tonyr321 Linux - Newbie 3 10-21-2005 03:04 PM
Apache & SSL Help, Services Won't start mikeybuk Linux - Software 1 03-17-2005 05:41 AM
Very slow to start sendmail & sm-client services dhsieh Linux - Software 4 07-15-2004 12:38 AM
start terminal & run command automatically peeples Linux - General 2 09-08-2003 02:57 PM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration