lunx主机课程所有知识点

主机课程所有知识点ULE 15天课程基础课程 1 (Linux 系统操作入门)将母语转向LinuxUNIX/Linux历史UNIX 诞生时间C 语言重写UNIXUNIX 历史版本(BSD SYSV)U

主机课程所有知识点

ULE 15天课程

基础课程 1 (Linux 系统操作入门)

将母语转向Linux

UNIX/Linux历史

UNIX 诞生时间

C 语言重写UNIX

UNIX 历史版本(BSD SYSV)

UNIX 现状以及为何要学习Linux

Linux 是什么?

Linux 发展历史

Linux 内核版本介绍(开发版 稳定版)

UNIX/Linux文化介绍

GNU 介绍

CPL 以及FSF

Copyleft

Opensource 及其影响

常见Linux 发布版体系简介(RedHat 系、Debian 系、Slackware 系) RedHat Linux

Oracle Enterprise Linux

Novell SuSE Linux

Debian Linux

Ubuntu Linux

各种Linux 发布版优缺点比较

RedHat Enterprise Linux介绍

RedHat Linux 历史版本介绍

Fedora 版本及其与RedHat 的关系

CentOS Linux版本及其与RedHat Enterprise Linux 的关系 Linux 相关认证介绍

RHCSA ( RHCT )

RHCE

RHCA

LPI 1 2 3

,

Linux 命令行及桌面操作简介

Linux 基本命令介绍

如何察看帮助

基本文件管理命令

所有命令行对应的图形化操作

如果使用Gnome 完成日常工作

用户管理机制分析以及常用命令

相关文件及目录要求学生可以描述出其文件结构和目录作用 /etc/passwd

/etc/shadow

/etc/group

/etc/gshadow

/etc/login.defs

/etc/skel

相关命令,要求学生查看其Manpage 并解决并独立解决实验中的问题 useradd

passwd

usermod

userdel

id

su

groupadd

groupdel

gpasswd

groupmod

groups

newgrp

users

who

w

write

wall

last

lastlog

请讲师演示以上文本命令的图形化相关实现

,

理解Linux 的权限机制

Windows 中常见的文件和目录类型与Linux 相关概念的比较

Unix 中所见皆文件的设计目的及现实优势

UNIX 文件类型分析

d The entry is a directory.

l The entry is a symbolic link.

b The entry is a block special file.

c The entry is a character special file.

p The entry is a FIFO (or "named pipe") special file.

s The entry is an AF_UNIX address family socket.

- The entry is an ordinary file.

基本文件拥有者分类

u User permission bits.

g Group permission bits.

o Other permission bits.

a All permission bits. This is the default if none are specified.

基本文件及目录权限

If r , the file is readable; if -, it is not readable.

If w , the file is writable; if -, it is not writable.

If x, the file is executable or the directory is searchable.

目录上设置rwx 对用户访问目录的影响

Umask 持续设置方法及对用户默认创建文件及目录的权限影响

常用权限操作命令及图形化操作方法

chmod

chown

chgrp

高级权限SUID SGID STICKY

S If in the owner permissions, the file is not exe cutable and set-user-ID mode is set. If in the group permissions, the file is not executable and set-group-ID mode is set。

s If in the owner permissions, the file is exe cutable and set-user-ID mode is set. If in the group permissions, the file is executable and set- group-ID mode is set。

T The sticky bit is set (mode 1000), but not execute or search permission.

t The sticky bit is set (mode 1000), and is search able or executable.

A directory whose `sticky bit' is set becomes an append-only directory, or, more accurately, a directory in which the deletion of files is restricted. A file in a sticky directory may only be removed or renamed by a user if the user has write permission for the directory and the user is the owner of the file, the owner of the directory, or the super-user. This feature is usefully applied to directories such as /tmp which must be publicly writable but should deny users the license to arbitrarily delete or rename each others' files

,

文件结构介绍

inode

block

硬链接

软链接

Windows 中文件快捷方式概念和Linux 中文件链接概念比较

ln 命令使用

高级文件管理命令

cat

tac

tr

sort

uniq

cut

wc

diff

及上述命令组合使用的技巧

文件的查找与压缩

文件查找

which

whereis

locate

find -name -type -links -user -group -size -mtime -exec -ok

何时使用何种查找命令,比如找寻命令程序的位置和找寻配置文件位置

文件压缩

gzip

gunzip

bzip2

bunzip2

tar

在存储设备日趋廉价的今天为什么要使用压缩技术,何时使用何种压缩技术,压缩比越大越好吗? Linux 系统进程管理

/proc目录简单介绍

cpuinfo

meminfo

/proc/sys目录文件对系统的影响

,

日志文件介绍

/var/log目录

进程管理常用命令

free

ps 命令的使用,区分BSD 方式和SysV 方式

kill

nice renice

top

作业控制

jobs

bg

fg

^Z

的使用

BASH 的交互式使用

常用快捷键

常用特殊符号(初步介绍)

命令历史机制

history

!number

!string

!!

!$

环境变量

PATH

一般变量

环境变量

env

set

export

unset

配置文件

/etc/profile

~/. bash_profile

~/.bashrc

/etc/bashrc

sed ,awk ,和shell 编程的章节,全部放在后面shell 编程中具体讲解 Linux 下的软件安装

为什么要选择成熟的包管理机制来管理软件安装,包管理机制相比自定义编译有何优势

,

常见的包管理机制(RPM 、DEB 、PKG )

Yum 介绍和使用

本地RPM 命令介绍和使用

rpm -ivh - -force - -nodeps - -root -F -U

-q -qa -ql -qf

-V -Va -Vf 标记意义。

源代码编译安装程序

./configure

make

make install

make uninstall

make clean

第三方二进制非包管理发布机制(BIN )

基础课程2 (Linux 系统操作提高)

Linux 系统安装精解

手动安装

Kickstart 安装

安装时分区划分特点和服务器运行服务预估

系统启动流程

Linux 系统SysV 启动过程详解(bios ,mbr ,grub ,kernel initrd,cmdline ,nfsroot ) BIOS --> MBR

|

Bootloader GRUB /→ → boot/grub/grub.conf

|

kernel initrd (内核参数分析,initrd 的作用)

|

/sbin/init → /etc/inittab

| 定义运行级别

| /etc/rc.d/rc.sysinit

| /etc/rc.d/rc ? →

| /etc/rc.d/rc?.d/

| K* stop

| S* start

mingetty

|

login

,

| /etc/profile

| ~/.bash_profile

| ~/.bashrc

| /etc/bashrc

bash

Linux 系统Upstart 启动过程详解

BIOS --> MBR

|

Bootloader GRUB /→ → boot/grub/grub.conf

|

kernel initrd (内核参数分析,initrd 的作用)

|

/sbin/init(upstart) → /etc/init目录

|并行且基于事件的尽量的在upstart 进程中初始化系统,减少在启动过程中的进程创建节省启动时间 |→/etc/init/rcS.conf (调用/etc/rc.d/rc.sysinit初始化系统)

| | → /etc/inittab ( 仅用来设置启动级别)

|→/etc/init/rc.conf (调用/etc/rc.d/rc 实现SysV Runlevel 启动后台服务,向下兼容) | | → 进入/etc/rc.d/rcX.d 目录

| |→K* stop

| |→S* start

|→control-alt-delete.conf (设置三键组合的实际效果)

|→rcS-sulogin.conf( 如果是单用户模式,将使用其来初始化单用户终端模式)

|→serial.conf (初始化超级终端模式,并配置超级终端,在虚拟化或无本地显示设备时十分有用) |→splash-manager.conf (产生绚丽的开关机图形图像)

|→start-ttys.conf (定义开启的虚拟终端数量)

|→tty.conf (创建虚拟终端)

|

login

| /etc/profile

| ~/.bash_profile

| ~/.bashrc

| /etc/bashrc

bash

Linux 高级文件权限体系介绍

文件ACL 机制详解

getfacl

setfacl

Ext2/3文件系统attr 权限详解

chattr i a

lsattr

,

Linux 高级磁盘操作

磁盘配额以及mount 命令详解

/etc/fstab usrquota,grpquota

mount -o remount /dev/hda?

Mount 检查参数是否加载成功

quotacheck -cvug

quotaon | quotaoff

edquota -u -g -t -p

setquota 使用

repquota 报告信息

Autofs

/etc/auto.master

/etc/auto.misc

配置可以自动挂载光驱

Ext2/3文件系统详解

dumpe2fs 或tune2fs -l

mke2fs -j -b 4096 -i 8192

block 对文件系统的影响

inode 和block 的比率对文件系统的影响

系统硬盘基本管理

fdisk

mke2fs

mount

e2fsck

RAID 以及LVM 机制详解以及相关操作命令

高级计划任务管理维护系统(at ,cron ,anacron ) at

时间定义方式

at -l -r -d

atrm

atq

atd 服务

/etc/at.deny

cron

crontab -e -u -l -d

/etc/cron.deny

/var/spool/cron目录的作用

时间定义格式

系统计划任务/etc/crontab

,

/etc/cron.hourly

/etc/cron.daily

/etc/cron.weekly

/etc/cron.monthly

anacron

/etc/anacorntab解释

Linux 错误日志机制

日志syslog

/etc/syslog.conf

man 5 syslog.conf

日志对象

日志级别

日志记录文件

日志集中管理(日志远程记录) 高级日志管理(logrotate ) 日志轮转管理的意义

/etc/logrotate.conf

Linux 网络配置详解

基于Linux 的tcp/ip机制实现体系分析 tcp/ip的分层

在Linux 下的实现

网络常用配置命令

ifconfig *

route *

netstat *

arp

arping

ping

nmap

traceroute

mtr

lftp

ftp

elinks

nslookup

dig

host

wget

,

Linux 内核机制简介

什么是内核?

为什么要升级内核?

内核版本的简单知识(双树结构)

内核源代码网站

Linux 内核升级(rpm ,yum )

用rpm 和yum 方式升级内核

设备驱动机制分析

管理Linux 设备驱动(modules.alias modules.dep)

lsmod

rmmod

insmod

modprobe → modules.dep文件 以及modules.alias 文件的功能 depmod

modinfo

/etc/modprobe.conf

设备文件创建

mknod

内核文档中的devices.txt 文件

高级Xwindow 体系简介

Xwindow 管理命令以及常用技巧

startx 命令分析

/etc/X11 目录作用

/etc/X11/xinit 目录作用

/etc/X11/xinit/xinitrc.d 目录作用

如何在X 启动的同时启动预期X 应用程序,比如输入法 ~/.xinitrc对x 启动的影响

~/.Xclients对x 启动的影响

system-config-display

/etc/sysconfig/desktop

Xwindow 的C/S结构介绍

Selinux 的初步介绍

如何打开关闭selinux

在系统管理上Selinux 有何作用

如果设置Selinux 的安全上下文

chcon

restorecon

semanage

标签: