LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-03-2005, 03:48 AM   #1
Slimster
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Rep: Reputation: 0
simple noob question (samba)


Can anyone tell me how to start samba at system startup?
 
Old 10-03-2005, 04:39 AM   #2
dylants
Member
 
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
It depends on what distribution you are running on.

For Redhat (fedora, centos and other clones) - I assume that debian has a similar methods/tools.

in the console type:

chkconfig smb on

which will create all the links needed in the /etc/rc.d/rc[n].d directories to start and stop the daemons at the correct time.

If you are using a graphical desktop, then for fedora core 3 go to Applications->System Settings->Server Settings->Services, type in your root password when promted, then scroll down the left hand window till you find the service labelled 'smb'. There you can put a tick in the box and then click save. It should then take care of starting/stopping the dameons for you. You can hit the start button at the top of the window to start the service straight away too.

HTH

Dylan

Last edited by dylants; 10-03-2005 at 04:46 AM.
 
Old 10-03-2005, 09:32 AM   #3
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Install the tool 'sysv-rc-conf' (you can install it with apt-get, aptitude or synaptic). When you run this tool as 'root' you can configure which daemons start at which runlevel.

Good luck.
 
Old 10-03-2005, 09:53 AM   #4
Slimster
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
thanks guys
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple noob question (samba) Slimster Ubuntu 4 10-29-2005 07:16 AM
simple samba question fatman Linux - Networking 3 01-16-2004 11:36 PM
Help with samba (noob question) X_Ray_Cat Linux - Networking 1 07-27-2003 02:14 AM
Simple Samba Question oostevo Linux - Networking 4 01-21-2002 10:10 AM
Simple Samba Question raz Linux - Networking 2 08-15-2001 05:08 AM


All times are GMT -5. The time now is 02:22 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
Open Source Consulting | Domain Registration