run_levels
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| run_levels [2015/12/14 17:11] – luke7858 | run_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 | + | |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 | ||
| </ | </ | ||
| - | Starting service on boot | + | === Starting service on boot === |
| <sxh bash> | <sxh bash> | ||
| chkconfig httpd on | chkconfig httpd on | ||
| </ | </ | ||
| - | Changing specific | + | This turns on run levels |
| + | \\ | ||
| \\ | \\ | ||
| - | Turning on run levels | + | === Turning on specific |
| + | Turning on levels 3,4 and 5 | ||
| <sxh bash> | <sxh bash> | ||
| chkconfig --level 345 httpd on | chkconfig --level 345 httpd on | ||
| </ | </ | ||
| \\ | \\ | ||
| - | Turning off run levels | + | ===Turning off run levels |
| <sxh bash> | <sxh bash> | ||
| chkconfig --level 5 httpd off | chkconfig --level 5 httpd off | ||
| </ | </ | ||
run_levels.1450113089.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
