【面试题】简述Linux启动过程

Centos6启动过程:

【面试题】简述Linux启动过程

【面试题】简述Linux启动过程

【面试题】简述Linux启动过程

在rc3.d目录中,以S开头的文件为执行该服务,以K开头的文件则是杀掉该服务的意思。数字代表启动顺序。

Centos6 启动流程图:

【面试题】简述Linux启动过程

 

Centos7启动过程:

【面试题】简述Linux启动过程

【面试题】简述Linux启动过程

 

centos6用的是 Init (按顺序运行)、 而centos7用的是 systemd  (瀑布式运行,同步运行,理论上比 6 快)

Centos7启动流程图:

【面试题】简述Linux启动过程

图片,文字知识来源于Linux运维尚硅谷