|
Home > Archive > Red Hat Topics > March 2006 > Explanation of Runlevels
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Explanation of Runlevels
|
|
| apache 2006-03-19, 11:46 am |
| I tried to look this up in a Google search, but no luck. Can someone
please explain to me what the concept of Runlevels is? I am using FC4,
and I was playing around with the System Settings\Server
Settings\Services tool to get my Samba to autostart. There are 3
categories of Runlevels for every service... 3, 4 and 5. What do these
mean? Should I select 3,4 and 5 for Samba?
Thanks in advance.
| |
| Jan Gerrit Kootstra 2006-03-19, 11:46 am |
| apache wrote:
> I tried to look this up in a Google search, but no luck. Can someone
> please explain to me what the concept of Runlevels is? I am using FC4,
> and I was playing around with the System Settings\Server
> Settings\Services tool to get my Samba to autostart. There are 3
> categories of Runlevels for every service... 3, 4 and 5. What do these
> mean? Should I select 3,4 and 5 for Samba?
>
> Thanks in advance.
>
Runlevel 0: shutdown of system. Not turned off.
Runlevel 1: single user mode, commonly used to repair things or manage
filesystems.
Runlevel 2: multi user mode with low number of services. I use it only
check changes in network settings.
Runlevel 3: multi user mode with X-Windows services. Normal mode for
servers.
Runlevel 4: not implemented by most Linux distributions.
Runlevel 5: multi user mode with X-Windows services. Normal mode for
Workstations and Desktops. For servers I only use it if I need to use a
graphical tool or a webbrowser.
Hope to have explained a little bit.
For samba I would say use the default:
chkconfig smb on
Look for the settings by:
chkconfig --list smb
On my system it results in:
smb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Kind regards,
Jan Gerrit Kootstra RHCE
| |
| apache 2006-03-19, 11:46 am |
| On Sat, 18 Mar 2006 10:37:29 +0100, Jan Gerrit Kootstra wrote:
> Hope to have explained a little bit.
>
> For samba I would say use the default:
> chkconfig smb on
Jan, excellent explanations. Thanks very much for your quick response.
This cleared a lot of confusion.
| |
| Jan Gerrit Kootstra 2006-03-19, 11:46 am |
| apache wrote:
> On Sat, 18 Mar 2006 10:37:29 +0100, Jan Gerrit Kootstra wrote:
>
>
>
>
> Jan, excellent explanations. Thanks very much for your quick response.
> This cleared a lot of confusion.
>
Runlevel 6: reboot: should only have stopscripts, so in:
chkconfig --list servicename you should see 6:off
Just to complete the explanation.
Kind regards,
Jan Gerrit Kootstra RHCE
|
|
|
|
|