Ubuntu的默認開機的runlevel是2,可以用runlevel來查看當前的默認運行級別。 debian系(ubuntu是基于debian)的Linux一直是用runlevel 2來默認啟動,并且runlevel定義也與redhat有區別。 debian的runlevel級別定義如下: 0 - Halt 1 - Single 2 - Full multi-user with display manager (GUI) 3 - Full multi-user with display manager (GUI) 4 - Full multi-user with display manager (GUI) 5 - Full multi-user with display manager (GUI) 6 - Reboot 可以發現2~5級是沒有任何區別的。 而redhat的runlevel級別定義如下: 0 - Halt 1 - Single 2 - Not used/User definable 3 - Full multi-user NO display manager 4 - Not used/User definable 5 - Full multi-user with display manager (GUI) 6 - Reboot
2015-12-18
Ubuntu的默認開機的runlevel是2,可以用runlevel來查看當前的默認運行級別。
debian系(ubuntu是基于debian)的Linux一直是用runlevel 2來默認啟動,并且runlevel定義也與redhat有區別。
debian的runlevel級別定義如下:
0 - Halt
1 - Single
2 - Full multi-user with display manager (GUI)
3 - Full multi-user with display manager (GUI)
4 - Full multi-user with display manager (GUI)
5 - Full multi-user with display manager (GUI)
6 - Reboot
可以發現2~5級是沒有任何區別的。
而redhat的runlevel級別定義如下:
0 - Halt
1 - Single
2 - Not used/User definable
3 - Full multi-user NO display manager
4 - Not used/User definable
5 - Full multi-user with display manager (GUI)
6 - Reboot