Ubuntu的默認(rèn)開(kāi)機(jī)的runlevel是2,可以用runlevel來(lái)查看當(dāng)前的默認(rèn)運(yùn)行級(jí)別。 debian系(ubuntu是基于debian)的Linux一直是用runlevel 2來(lái)默認(rèn)啟動(dòng),并且runlevel定義也與redhat有區(qū)別。 debian的runlevel級(jí)別定義如下: 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 可以發(fā)現(xiàn)2~5級(jí)是沒(méi)有任何區(qū)別的。 而redhat的runlevel級(jí)別定義如下: 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的默認(rèn)開(kāi)機(jī)的runlevel是2,可以用runlevel來(lái)查看當(dāng)前的默認(rèn)運(yùn)行級(jí)別。
debian系(ubuntu是基于debian)的Linux一直是用runlevel 2來(lái)默認(rèn)啟動(dòng),并且runlevel定義也與redhat有區(qū)別。
debian的runlevel級(jí)別定義如下:
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
可以發(fā)現(xiàn)2~5級(jí)是沒(méi)有任何區(qū)別的。
而redhat的runlevel級(jí)別定義如下:
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