Linux操作系统-CentOS6启动流程和服务管理

                                   作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

 

一.Linux组成

1>.Linux: kernel+rootfs

kernel: 
  进程管理、内存管理、网络管理、驱动程序、文件系统、安全功能

rootfs:
  程序和glibc  

库:
  函数集合, function, 调用接口(头文件负责描述)

过程调用:
  procedure,无返回值

函数调用:
  function

程序:
  二进制执行文件

2>.内核设计流派

单内核(monolithic kernel):Linux
  把所有功能集成于同一个程序
微内核(micro kernel):Windows(微软公司), Solaris(之前属于sun公司后被Oracle收购)   每种功能使用一个单独子系统实现

3>.Linux内核特点

Linux内核特点:
  支持模块化:.ko(内核对象)
    如:文件系统,硬件驱动,网络协议等
  支持内核模块的动态装载和卸载

组成部分:
  核心文件:/boot/vmlinuz-VERSION-release
    ramdisk:辅助的伪根系统
    CentOS 5: /boot/initrd-VERSION-release.img
    CentOS 6,7: /boot/initramfs-VERSION-release.img
  模块文件:/lib/modules/VERSION-release
[root@node101.yinzhengjie.org.cn ~]# ll /lib/modules/3.10.0-957.el7.x86_64/kernel/      #CentOS 7.6.x版本的内核模块存放目录
total 16
drwxr-xr-x.  3 root root   17 Jul  8 16:23 arch
drwxr-xr-x.  3 root root 4096 Jul  8 16:23 crypto
drwxr-xr-x. 70 root root 4096 Jul  8 16:23 drivers
drwxr-xr-x. 26 root root 4096 Jul  8 16:23 fs
drwxr-xr-x.  3 root root   19 Jul  8 16:23 kernel
drwxr-xr-x.  4 root root  249 Jul  8 16:23 lib
drwxr-xr-x.  2 root root   35 Jul  8 16:23 mm
drwxr-xr-x. 34 root root 4096 Jul  8 16:23 net
drwxr-xr-x. 12 root root  173 Jul  8 16:23 sound
drwxr-xr-x.  3 root root   17 Jul  8 16:23 virt
[root@node101.yinzhengjie.org.cn ~]# 
[root@node101.yinzhengjie.org.cn ~]# ll /lib/modules/3.10.0-957.el7.x86_64/kernel/        #CentOS 7.6.x版本的内核模块存放目录

相关文章:

  • 2021-05-10
  • 2021-10-17
  • 2022-01-09
  • 2021-12-26
猜你喜欢
  • 2021-08-11
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
  • 2021-09-04
相关资源
相似解决方案