lunx主機課程所有知識點
主機課程所有知識點ULE 15天課程基礎(chǔ)課程 1 (Linux 系統(tǒng)操作入門)將母語轉(zhuǎn)向LinuxUNIX/Linux歷史UNIX 誕生時間C 語言重寫UNIXUNIX 歷史版本(BSD SYSV)U
主機課程所有知識點
ULE 15天課程
基礎(chǔ)課程 1 (Linux 系統(tǒng)操作入門)
將母語轉(zhuǎn)向Linux
UNIX/Linux歷史
UNIX 誕生時間
C 語言重寫UNIX
UNIX 歷史版本(BSD SYSV)
UNIX 現(xiàn)狀以及為何要學習Linux
Linux 是什么?
Linux 發(fā)展歷史
Linux 內(nèi)核版本介紹(開發(fā)版 穩(wěn)定版)
UNIX/Linux文化介紹
GNU 介紹
CPL 以及FSF
Copyleft
Opensource 及其影響
常見Linux 發(fā)布版體系簡介(RedHat 系、Debian 系、Slackware 系) RedHat Linux
Oracle Enterprise Linux
Novell SuSE Linux
Debian Linux
Ubuntu Linux
各種Linux 發(fā)布版優(yōu)缺點比較
RedHat Enterprise Linux介紹
RedHat Linux 歷史版本介紹
Fedora 版本及其與RedHat 的關(guān)系
CentOS Linux版本及其與RedHat Enterprise Linux 的關(guān)系 Linux 相關(guān)認證介紹
RHCSA ( RHCT )
RHCE
RHCA
LPI 1 2 3
,Linux 命令行及桌面操作簡介
Linux 基本命令介紹
如何察看幫助
基本文件管理命令
所有命令行對應(yīng)的圖形化操作
如果使用Gnome 完成日常工作
用戶管理機制分析以及常用命令
相關(guān)文件及目錄要求學生可以描述出其文件結(jié)構(gòu)和目錄作用 /etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/etc/login.defs
/etc/skel
相關(guān)命令,要求學生查看其Manpage 并解決并獨立解決實驗中的問題 useradd
passwd
usermod
userdel
id
su
groupadd
groupdel
gpasswd
groupmod
groups
newgrp
users
who
w
write
wall
last
lastlog
請講師演示以上文本命令的圖形化相關(guān)實現(xiàn)
,理解Linux 的權(quán)限機制
Windows 中常見的文件和目錄類型與Linux 相關(guān)概念的比較
Unix 中所見皆文件的設(shè)計目的及現(xiàn)實優(yōu)勢
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.
基本文件及目錄權(quán)限
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.
目錄上設(shè)置rwx 對用戶訪問目錄的影響
Umask 持續(xù)設(shè)置方法及對用戶默認創(chuàng)建文件及目錄的權(quán)限影響
常用權(quán)限操作命令及圖形化操作方法
chmod
chown
chgrp
高級權(quán)限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
,文件結(jié)構(gòu)介紹
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
在存儲設(shè)備日趨廉價的今天為什么要使用壓縮技術(shù),何時使用何種壓縮技術(shù),壓縮比越大越好嗎? Linux 系統(tǒng)進程管理
/proc目錄簡單介紹
cpuinfo
meminfo
/proc/sys目錄文件對系統(tǒng)的影響
,日志文件介紹
/var/log目錄
進程管理常用命令
free
ps 命令的使用,區(qū)分BSD 方式和SysV 方式
kill
nice renice
top
作業(yè)控制
jobs
bg
fg
^Z
的使用
BASH 的交互式使用
常用快捷鍵
常用特殊符號(初步介紹)
命令歷史機制
history
!number
!string
!!
!$
環(huán)境變量
PATH
一般變量
環(huán)境變量
env
set
export
unset
配置文件
/etc/profile
~/. bash_profile
~/.bashrc
/etc/bashrc
sed ,awk ,和shell 編程的章節(jié),全部放在后面shell 編程中具體講解 Linux 下的軟件安裝
為什么要選擇成熟的包管理機制來管理軟件安裝,包管理機制相比自定義編譯有何優(yōu)勢
,常見的包管理機制(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
第三方二進制非包管理發(fā)布機制(BIN )
基礎(chǔ)課程2 (Linux 系統(tǒng)操作提高)
Linux 系統(tǒng)安裝精解
手動安裝
Kickstart 安裝
安裝時分區(qū)劃分特點和服務(wù)器運行服務(wù)預估
系統(tǒng)啟動流程
Linux 系統(tǒng)SysV 啟動過程詳解(bios ,mbr ,grub ,kernel initrd,cmdline ,nfsroot ) BIOS --> MBR
|
Bootloader GRUB /→ → boot/grub/grub.conf
|
kernel initrd (內(nèi)核參數(shù)分析,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 系統(tǒng)Upstart 啟動過程詳解
BIOS --> MBR
|
Bootloader GRUB /→ → boot/grub/grub.conf
|
kernel initrd (內(nèi)核參數(shù)分析,initrd 的作用)
|
/sbin/init(upstart) → /etc/init目錄
|并行且基于事件的盡量的在upstart 進程中初始化系統(tǒng),減少在啟動過程中的進程創(chuàng)建節(jié)省啟動時間 |→/etc/init/rcS.conf (調(diào)用/etc/rc.d/rc.sysinit初始化系統(tǒng))
| | → /etc/inittab ( 僅用來設(shè)置啟動級別)
|→/etc/init/rc.conf (調(diào)用/etc/rc.d/rc 實現(xiàn)SysV Runlevel 啟動后臺服務(wù),向下兼容) | | → 進入/etc/rc.d/rcX.d 目錄
| |→K* stop
| |→S* start
|→control-alt-delete.conf (設(shè)置三鍵組合的實際效果)
|→rcS-sulogin.conf( 如果是單用戶模式,將使用其來初始化單用戶終端模式)
|→serial.conf (初始化超級終端模式,并配置超級終端,在虛擬化或無本地顯示設(shè)備時十分有用) |→splash-manager.conf (產(chǎn)生絢麗的開關(guān)機圖形圖像)
|→start-ttys.conf (定義開啟的虛擬終端數(shù)量)
|→tty.conf (創(chuàng)建虛擬終端)
|
login
| /etc/profile
| ~/.bash_profile
| ~/.bashrc
| /etc/bashrc
bash
Linux 高級文件權(quán)限體系介紹
文件ACL 機制詳解
getfacl
setfacl
Ext2/3文件系統(tǒng)attr 權(quán)限詳解
chattr i a
lsattr
,Linux 高級磁盤操作
磁盤配額以及mount 命令詳解
/etc/fstab usrquota,grpquota
mount -o remount /dev/hda?
Mount 檢查參數(shù)是否加載成功
quotacheck -cvug
quotaon | quotaoff
edquota -u -g -t -p
setquota 使用
repquota 報告信息
Autofs
/etc/auto.master
/etc/auto.misc
配置可以自動掛載光驅(qū)
Ext2/3文件系統(tǒng)詳解
dumpe2fs 或tune2fs -l
mke2fs -j -b 4096 -i 8192
block 對文件系統(tǒng)的影響
inode 和block 的比率對文件系統(tǒng)的影響
系統(tǒng)硬盤基本管理
fdisk
mke2fs
mount
e2fsck
RAID 以及LVM 機制詳解以及相關(guān)操作命令
高級計劃任務(wù)管理維護系統(tǒng)(at ,cron ,anacron ) at
時間定義方式
at -l -r -d
atrm
atq
atd 服務(wù)
/etc/at.deny
cron
crontab -e -u -l -d
/etc/cron.deny
/var/spool/cron目錄的作用
時間定義格式
系統(tǒng)計劃任務(wù)/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 ) 日志輪轉(zhuǎn)管理的意義
/etc/logrotate.conf
Linux 網(wǎng)絡(luò)配置詳解
基于Linux 的tcp/ip機制實現(xiàn)體系分析 tcp/ip的分層
在Linux 下的實現(xiàn)
網(wǎng)絡(luò)常用配置命令
ifconfig *
route *
netstat *
arp
arping
ping
nmap
traceroute
mtr
lftp
ftp
elinks
nslookup
dig
host
wget
,Linux 內(nèi)核機制簡介
什么是內(nèi)核?
為什么要升級內(nèi)核?
內(nèi)核版本的簡單知識(雙樹結(jié)構(gòu))
內(nèi)核源代碼網(wǎng)站
Linux 內(nèi)核升級(rpm ,yum )
用rpm 和yum 方式升級內(nèi)核
設(shè)備驅(qū)動機制分析
管理Linux 設(shè)備驅(qū)動(modules.alias modules.dep)
lsmod
rmmod
insmod
modprobe → modules.dep文件 以及modules.alias 文件的功能 depmod
modinfo
/etc/modprobe.conf
設(shè)備文件創(chuàng)建
mknod
內(nèi)核文檔中的devices.txt 文件
高級Xwindow 體系簡介
Xwindow 管理命令以及常用技巧
startx 命令分析
/etc/X11 目錄作用
/etc/X11/xinit 目錄作用
/etc/X11/xinit/xinitrc.d 目錄作用
如何在X 啟動的同時啟動預期X 應(yīng)用程序,比如輸入法 ~/.xinitrc對x 啟動的影響
~/.Xclients對x 啟動的影響
system-config-display
/etc/sysconfig/desktop
Xwindow 的C/S結(jié)構(gòu)介紹
Selinux 的初步介紹
如何打開關(guān)閉selinux
在系統(tǒng)管理上Selinux 有何作用
如果設(shè)置Selinux 的安全上下文
chcon
restorecon
semanage