Difference between revisions of "Change Runlevel"
From Brian Nelson Ramblings
(→Runlevels) |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
= How to Change your Current Run Level and Default Run Level = | = How to Change your Current Run Level and Default Run Level = | ||
− | Ever notice that your system is | + | Ever notice that your Server system is running the GUI and you want to save resources, let turn it off |
== Changing your Current Run Level == | == Changing your Current Run Level == | ||
Line 21: | Line 21: | ||
If you have a GUI it should be set to 5 | If you have a GUI it should be set to 5 | ||
− | |||
= Runlevels = | = Runlevels = | ||
Line 38: | Line 37: | ||
6 – reboot (Do NOT set initdefault to this) | 6 – reboot (Do NOT set initdefault to this) | ||
+ | |||
+ | [[Category:Centos]] |
Latest revision as of 14:40, 14 March 2014
Contents
How to Change your Current Run Level and Default Run Level
Ever notice that your Server system is running the GUI and you want to save resources, let turn it off
Changing your Current Run Level
init [0-6]
The default server installation should be
init 3
Change your Run Level on Boot up
vim /etc/inittab
Change it so it has
id:3:initdefault:
If you have a GUI it should be set to 5
Runlevels
0 – halt (Do NOT set initdefault to this)
1 – Single user mode
2 – Multiuser, without NFS (The same as 3, if you do not have networking)
3 – Full multiuser mode
4 – unused or Admin
5 – X11
6 – reboot (Do NOT set initdefault to this)