User Tools

Site Tools


run_levels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
run_levels [2015/12/14 17:01] luke7858run_levels [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 3: Line 3:
 |0 | Halt | |0 | Halt |
 |1 | Single-user text mode | |1 | Single-user text mode |
-|2 | Not used (user-definable) +|2 | Full multi-user with no networking 
-|3 | Full multi-user text mode |+|3 | Full multi-user, console logins only |
 |4 | Not used (user-definable) | |4 | Not used (user-definable) |
 |5 | Full multi-user graphical mode (with an X-based login screen) | |5 | Full multi-user graphical mode (with an X-based login screen) |
Line 15: Line 15:
 chkconfig --list chkconfig --list
 </sxh> </sxh>
 +=== Starting service on boot ===
 +<sxh bash>
 +chkconfig httpd on
 +</sxh>
 +This turns on run levels 2, 3 and 4
 +\\ 
  
 +\\ 
 +=== Turning on specific run levels === 
 +Turning on levels 3,4 and 5 
 +<sxh bash> 
 +chkconfig --level 345 httpd on 
 +</sxh> 
 +\\ 
 +===Turning off run levels === 
 +<sxh bash> 
 +chkconfig --level 5 httpd off 
 +</sxh>
run_levels.1450112465.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki