“核心系统定制”的版本间的差异
来自Ubuntu中文
(→依赖关系表) |
(→核心运行环境) |
||
(未显示同一用户的11个中间版本) | |||
第2行: | 第2行: | ||
使用Linux系统已经有几年了,做服务器系统开发有已经有一年半了,岁末回过头来,把这一年多的积累整理一下,本文是以LFS为基础,以服务器操作系统运行环境为背景,分析一下Linux 命令行交互环境系统的基本结构,结构图如下。 | 使用Linux系统已经有几年了,做服务器系统开发有已经有一年半了,岁末回过头来,把这一年多的积累整理一下,本文是以LFS为基础,以服务器操作系统运行环境为背景,分析一下Linux 命令行交互环境系统的基本结构,结构图如下。 | ||
− | [[File: | + | [[File:Cli-core.png]] |
== Linux核心系统运行环境 == | == Linux核心系统运行环境 == | ||
第10行: | 第10行: | ||
核心系统由如下运行环境组成, | 核心系统由如下运行环境组成, | ||
<pre> | <pre> | ||
− | linuxkernel | + | linuxkernel 内核 |
− | + | glibc 基础运行库 | |
+ | bash 命令交互外壳 | ||
+ | udev 设备管理器 | ||
+ | sysvint 启动管理 | ||
+ | bootscripts 启动脚本 | ||
+ | 其他支持组件: | ||
+ | basefile,gdbm,kmod,libpiprline,coreutils,file,findutils,gawk,grep,gzip,man-db,ncurses,psmisc,procps,sed,shadow,tar,utils-linux,zlib | ||
+ | iana-etc,inetutils,iproute2,readline,xz | ||
</pre> | </pre> | ||
第17行: | 第24行: | ||
确切的说,工具链只是开发工具链中最核心的部分,也是作为系统版本升级时优先需要准备的工作,后续的开发都要以此为基石, | 确切的说,工具链只是开发工具链中最核心的部分,也是作为系统版本升级时优先需要准备的工作,后续的开发都要以此为基石, | ||
<pre> | <pre> | ||
− | binutils,gcc,gmp,mpfr,mpc,glibc-devel,make,m4,automake,autoconf,diffutils,patch | + | binutils, |
+ | gcc,gmp,mpfr,mpc, | ||
+ | glibc-devel, | ||
+ | make, | ||
+ | autotools (m4,automake,autoconf,libtools) | ||
+ | diffutils,patch | ||
</pre> | </pre> | ||
第32行: | 第44行: | ||
== 依赖关系表 == | == 依赖关系表 == | ||
− | + | ||
linuxkernel, | linuxkernel, | ||
bash, | bash, | ||
第44行: | 第56行: | ||
man-db, | man-db, | ||
ncurses | ncurses | ||
− | + | <pre> | |
− | + | 编译依赖 : debhelper (>= 8.0.0),bash,binutils,coreutils,diffutils,gawk,gcc,glibc,grep,make,patch,sed | |
+ | 运行依赖 : | ||
+ | </pre> | ||
psmisc, | psmisc, | ||
procps, | procps, |
2013年5月18日 (六) 11:38的最新版本
简述
使用Linux系统已经有几年了,做服务器系统开发有已经有一年半了,岁末回过头来,把这一年多的积累整理一下,本文是以LFS为基础,以服务器操作系统运行环境为背景,分析一下Linux 命令行交互环境系统的基本结构,结构图如下。
Linux核心系统运行环境
这些都是做为运行时必备的基础环境,实用工具,文本编辑,这些工具虽然常用,但不是基本运行时的必须工具,可以按照需求作为可选的工具;除了基本系统外,剩下的开发工具集合,语言支持,国际化等软件包都属于运行在基本系统之上的应用程序。
核心运行环境
核心系统由如下运行环境组成,
linuxkernel 内核 glibc 基础运行库 bash 命令交互外壳 udev 设备管理器 sysvint 启动管理 bootscripts 启动脚本 其他支持组件: basefile,gdbm,kmod,libpiprline,coreutils,file,findutils,gawk,grep,gzip,man-db,ncurses,psmisc,procps,sed,shadow,tar,utils-linux,zlib iana-etc,inetutils,iproute2,readline,xz
核心开发环境
确切的说,工具链只是开发工具链中最核心的部分,也是作为系统版本升级时优先需要准备的工作,后续的开发都要以此为基石,
binutils, gcc,gmp,mpfr,mpc, glibc-devel, make, autotools (m4,automake,autoconf,libtools) diffutils,patch
安全工具
这里只列出来主流的安全相关的软件
sudo,pam,openssl,opengpg,iptables,selinux
主流常用语言支持
perl,python,php,ruby,java,
依赖关系表
linuxkernel, bash, coreutils, file, findutils, gawk, glibc, grep, gzip, man-db, ncurses
编译依赖 : debhelper (>= 8.0.0),bash,binutils,coreutils,diffutils,gawk,gcc,glibc,grep,make,patch,sed 运行依赖 :
psmisc, procps, sed, shadow, tar, utils-linux, zlib udev, sysvint, bootscripts, basefile, gdbm, kmod, libpiprline, iana-etc, inetutils, iproute2, readline, xz </pre>