个人工具

核心系统定制

来自Ubuntu中文

跳转至: 导航, 搜索

简述

使用Linux系统已经有几年了,做服务器系统开发有已经有一年半了,岁末回过头来,把这一年多的积累整理一下,本文是以LFS为基础,以服务器操作系统运行环境为背景,分析一下Linux 命令行交互环境系统的基本结构,结构图如下。

Cli-core.png

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>