Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

Netkiller Linux 手札

《Netkiller Linux 手札》配套视频教程(2023版)

Mr. Neo Chan, 陈景峯(BG7NYT)



中国广东省深圳市望海路半岛城邦三期
518067
+86 13113668890


电子书最近一次更新于 2023-01-29 22:41:20

版权声明

转载请与作者联系,转载时请务必标明文章原始出处和作者信息及本声明。

http://www.netkiller.cn
http://netkiller.github.io
http://netkiller.sourceforge.net
微信公众号: netkiller
微信:13113668890 请注明“读者”
QQ:13721218 请注明“读者”
QQ群:128659835 请注明“读者”
知乎专栏 | 多维度架构

$Date$


致读者

Netkiller 系列手札 已经被 Github 收录,并备份保存在北极地下250米深的代码库中,备份会保留1000年。

Preserving open source software for future generations

The world is powered by open source software. It is a hidden cornerstone of modern civilization, and the shared heritage of all humanity.

The GitHub Arctic Code Vault is a data repository preserved in the Arctic World Archive (AWA), a very-long-term archival facility 250 meters deep in the permafrost of an Arctic mountain.

We are collaborating with the Bodleian Library in Oxford, the Bibliotheca Alexandrina in Egypt, and Stanford Libraries in California to store copies of 17,000 of GitHub’s most popular and most-depended-upon projects—open source’s “greatest hits”—in their archives, in museum-quality cases, to preserve them for future generations.

https://archiveprogram.github.com/arctic-vault/

目录

1. 自述
1.1. 本文目的
1.2. 内容简介
1.3. 读者对象
1.4. 作者简介
1.5. 打赏(Donations)
1. Introduction
1.1. Rocky Linux
1.1.1. 制作 U 盘
1.1.2. Rocky-9.0-x86_64-minimal.iso 镜像初始化
1.2. AlmaLinux
1.2.1. 制作 U 盘启动盘
1.2.2. AlmaLinux 9.0 镜像安装初始化
1.2.3. Minimal 版本安装 XWindows
1.3. Linux 通用初始化设置
1.3.1. vim 初始化
1.4. Debian / Ubuntu
1.4.1. 历史记录优化
1.4.2. 关闭 SELinux
1.4.3. sysctl / ulimit
1.4.4. 时间同步
1.4.5. 启动 rc.local
1.4.6. 禁用防火墙
1.5. CentOS 8 Stream
1.5.1. U 盘安装 CentOS Stream
1.5.2. macOS 制作 U 盘启动盘速度慢
1.5.3. 首次安装后初始化系统
1.5.4. 启用 rc.local
1.5.5. 卸载防火墙
1.6. Debian / Ubuntu
1.6.1. 历史记录优化
1.6.2. 关闭 SELinux
1.6.3. sysctl / ulimit
1.6.4. 时间同步
1.6.5. 启动 rc.local
1.6.6. 禁用防火墙
1.6.7. 更换包镜像
1.7. Alpine Linux
1.8. 其他 Linux 发行版本
1.8.1. Linux 下载排名
1.8.2. Redhat 衍生版本
1.8.3. FreeBSD 包风格的Linux 发行版
1.8.4. Linux 专用领域发行版
1.8.5. 早起版本
I. System Administrator
2. 获取系统信息
2.1. 查看版本信息
2.2. System Infomation
2.2.1. Cpu Bit
2.2.2. dmesg - print or control the kernel ring buffer
2.3. Device information 设备信息
2.3.1. 硬件信息
2.3.2. 网络设备
2.3.3. USB 设备
2.3.4. 存储设备
2.3.5. 内存设备
2.3.6. PCI 设备
2.3.7. udev - Linux dynamic device management
3. /etc 配置文件
3.1. /etc/rc.local
3.2. getent 用来察看系统的数据库中的相关记录
3.2.1. 主机名
3.2.2. 用户组
3.2.3. 查看端口
3.2.4. shadow 密码
3.3. /etc/inputrc
3.4. /etc/shells
3.5. shutdown
3.6. Profile
3.6.1. shell
3.7. 环境默认值
3.7.1. 显示所有配置项
3.7.2. 切换版本
3.7.3. 使用 alternatives 管理自己的软件版本
3.7.4. 配置系统默认编辑器
4. Kernel
4.1. 编译安装内核
4.2. sysctl - configure kernel parameters at runtime
4.2.1. sysctl.d
4.2.2. vm.overcommit_memory
4.2.3. TCP 拥塞控制算法
4.2.4. bbr
4.3. /sys
4.3.1. /sys/class/net/
4.3.2. sysfsutils
4.4. /proc
4.4.1. 查看系统版本
4.4.2. /proc/进程ID
4.4.3. /proc/*/fd/ 进程所打开的文件
4.4.4. 进程内存监控
4.4.5. ulimit 状态
4.4.6. /proc/cpuinfo
4.4.7. 内存信息
4.4.8. overcommit_memory
4.5. 资源配置
4.5.1. ulimit - Modify shell resource limits.
4.5.2. prlimit - Show or change the resource limits of a process.
4.6. Kernel modules
4.6.1. modprobe - program to add and remove modules from the Linux Kernel
4.6.2. 查看内核模块信息
5. Package Management
5.1. APT 包管理
5.1.1. apt-cache
5.1.2. Apt-Get
5.1.3. aptitude
5.1.4. Automatic Updates
5.1.5. 更换 api 源镜像
5.1.6. dpkg
5.1.7. Upgrading
5.1.8. 制作.deb安装包
5.2. snap - Tool to interact with snaps
5.2.1. 安装 snap
5.2.2. 列出已经安装的snap包
5.2.3. 搜索要安装的snap包
5.2.4. 安装snap包
5.2.5. 更新snap包
5.2.6. 把一个包还原到以前安装的版本
5.2.7. 删除snap包
5.2.8. 查询最近做的操作日志
5.3. DNF 包管理
5.3.1. 安装 epel-release 包
5.3.2. DNF 软件库管理
5.3.3. 显示系统中可用的 DNF 软件库
5.3.4. 列出所有 RPM 包
5.3.5. 搜索软件库中的包
5.3.6. 查看软件包详情
5.3.7. 查找某一文件的提供者
5.3.8. 删除软件包
5.4. yum - Yellowdog Updater Modified 包管理
5.4.1. Yum Resource & Yum Mirror
5.4.2. yum - Yellowdog Updater Modified
5.4.3. rpm - RPM Package Manager
5.4.4. rpmbuild - Build RPM Package(s)
5.5. Homebrew
5.5.1. OpenJDK 8
5.5.2. Maven
5.5.3. 版本切换
5.6. 清理安装包
6. 区域/语言/时间
6.1. 时区设置
6.2. 修改服务区吃的日期和时间
6.2.1. 日期写入BIOS
6.3. 早起 Linux 版本
6.3.1. Ubuntu
6.3.2. CentOS 区域设置
7. console / terminal 控制台与终端
7.1. serial console
7.2. console timeout
7.3. TUI (Text User Interface)
7.4. framebuffer
8. Harddisk 磁盘管理
8.1. 查看分区分区 UUID
8.2. 通过 UUID 或 标签 查询设备文件
8.3. Label
8.3.1. Ext2
8.4. swap 交换分区
8.4.1. swapon failed: Invalid argument
8.5. Show partition
8.6. Create partition
8.7. Clone partition
8.8. estimate disk / directory / file space usage
8.9. Convert from ext3 to ext4 File system
8.10. GPT
8.10.1. 设置GTP磁盘
8.10.2. 查看分区
8.10.3. 创建分区
8.10.4. 删除分区
8.10.5. 退出
8.10.6. mount
8.11. loop devices
8.11.1. losetup - set up and control loop devices
8.12. Linux磁盘分区加密
9. Removable Storage
9.1. usb flash
9.2. CD / DVD
9.2.1. Mount an ISO file
9.2.2. create iso file from CD
9.2.3. burner
9.2.4. ISO Mirror
10. File System 文件系统
10.1. /etc/fstab
10.1.1. 绑定目录
10.1.2. 禁止执行
10.1.3. 禁止更新访问时间
10.1.4. /etc/fstab 例子
10.2. Mount partition
10.2.1. Mount
10.2.2. Umount
10.2.3. bind directory
10.3. ext2
10.4. ext3
10.5. ReiserFS
10.6. EXT4
10.6.1. install
10.6.2. format
10.6.3. label
10.6.4. mount/umount
10.6.5. LVM 卷
10.7. LVM
10.8. Btrfs
10.8.1. /etc/fstab
10.8.2. btrfs
10.8.3. Mount Btrfs
10.8.4. subvolumes
10.8.5. snapshot
10.8.6. btrfsctl
10.8.7. btrfs-vol
10.8.8. btrfs-convert
10.8.9. btrfsck
10.8.10. btrfs-debug-tree
10.9. zfs
10.10. iSCSI
10.10.1. GFS
10.11. GFS - Cluster Storage
10.12. glusterfs
10.13. RAM FS
10.14. tmpfs
10.15. ftp fs
10.16. SSHFS (sshfs - filesystem client based on SSH File Transfer Protocol)
10.17. davfs2 - mount a WebDAV resource as a regular file system
10.18. redisfs
10.19. File system test
10.19.1. ext4 vs btrfs
10.19.2. xfs vs jfs vs reiserfs
10.19.3. RAID10 (146G*8) vs EMC VNX 5300 (8G Fibre Channel)
10.19.4. Dell 2950(RAID5 500G SATA * 6) vs MD1200
10.20. 磁盘占用100%删除文件后不是放的解决方法
11. Networking 网络管理
11.1. hosts
11.1.1. /etc/hostname
11.1.2. /etc/host.conf
11.1.3. /etc/hosts
11.1.4. hosts.allow / hosts.deny
11.1.5. /etc/resolv.conf
11.2. Network adapter 网络适配器
11.2.1. 接口名称
11.3. CentOS 8 Stream
11.3.1. hostnamectl - Control the system hostname
11.3.2. nmtui - Text User Interface for controlling NetworkManager
11.3.3. nmcli - command-line tool for controlling NetworkManager
11.4. Ubuntu netplan (Ubuntu 18.04 之后才用 netplan 管理网络)
11.4.1. DHCP
11.4.2. 静态IP地址
11.5. Gateway 设置默认网关
11.6. 配置 DNS
11.6.1. 常规 DNS 配置 /etc/resolv.conf
11.6.2. 安全 DNS 配置
11.7. IP forwarding(IP转发)
11.8. bonding
11.8.1. bonding
11.8.2. Ubuntu
11.9. Wireless - WiFi 配置
11.9.1. rfkill - tool for enabling and disabling wireless devices
11.9.2. iwlist - Get more detailed wireless information from a wireless interface
11.9.3. iwconfig - configure a wireless network interface
11.9.4. /proc/net/wireless
11.10. Linux IP And Router
11.10.1. IP 地址类别
11.10.2. ping
11.10.3. Finding optimal MTU
11.10.4. ss - another utility to investigate sockets
11.10.5. netmask 子网掩码
11.10.6. arp - manipulate the system ARP cache
11.10.7. iproute2
11.10.8. VLAN
11.10.9. 网桥
11.10.10. Zebra
11.11. 早期版本
11.11.1. 早期 Ubuntu
11.11.2. CentOS 6
12. 服务管理
12.1. 什么是 systemd
12.2. why-为什么做
12.3. systemd 是何时被采用的
12.4. 那些系统使用 systemd
12.5. system 是谁开发的
12.6. 怎样编写systemd脚本
12.6.1. Unit
12.6.2. Service
12.6.3. Install
12.7. systemd, init - systemd system and service manager
12.7.1. 电源管理
12.7.2. rc.local
12.7.3. 编辑 service 文件
12.7.4. 查看 service 文件
12.7.5. is-enabled 查看当前服务的启用状态
12.7.6. 重载 systemd
12.7.7. 列出启动失败的服务
12.7.8. list-units
12.8. 定时器单元
12.9. Debian/Ubuntu
12.9.1. update-rc.d - install and remove System-V style init script links
12.9.2. invoke-rc.d - executes System-V style init script actions
12.9.3. runlevel
12.9.4. sysv-rc-conf
12.9.5. xinetd - replacement for inetd with many enhancements
12.9.6. Scheduled Tasks
12.9.7. sv - control and manage services monitored by runsv
12.10. CentOS 6
12.10.1. service
12.10.2. xinetd.d
12.10.3. rpcinfo
12.10.4. SELINUX
13. Process 进程管理
13.1. top - display Linux tasks
13.1.1. 查找内存消耗最大的进程
13.2. ps - report a snapshot of the current processes
13.2.1. 完整的显示命令参数
13.2.2. 显示进程之间的关系
13.2.3. ps axef
13.2.4. ps -eo pid,cmd
13.2.5. ps jax
13.2.6. 僵尸进程
13.2.7. 查找内存消耗最大的进程
13.2.8. 指定输出项
13.3. renice
13.4. kill - terminate a process
13.4.1. 列出信号名称
13.5. mpstat
13.6. pid
13.6.1. 查找进程 ID
13.6.2. pkill
13.6.3. pidof -- find the process ID of a running program.
13.7. jobs
13.7.1. &
13.7.2. Ctrl + Z
13.7.3. jobs
13.7.4. fg / bg
13.7.5. nohup - run a command immune to hangups, with output to a non-tty
13.7.6. wait 等待后台任务运行结束
13.8. ionice - get/set program io scheduling class and priority
13.9. Utilities for managing processes on your system
13.9.1. pstree - display a tree of processes
13.9.2. fuser - identify processes using files or sockets
13.10. pkexec - Execute a command as another user
14. 权限管理
14.1. User 用户管理
14.1.1. 添加用户
14.1.2. 删除用户
14.1.3. 修改用户组
14.1.4. 账号加锁与解锁
14.2. Group
14.2.1. Add a new group
14.2.2. Add a user to the group
14.2.3. /etc/group
14.2.4. gpasswd - administer /etc/group and /etc/gshadow
14.3. 访问权限
14.3.1. umask
14.3.2. chown - change file owner and group
14.3.3. chgrp - change group ownership
14.3.4. chmod - change file access permissions
14.4. chattr - change file attributes on a Linux second extended file system
14.5. su - run a shell with substitute user and group IDs
14.6. runuser - run a command with substitute user and group ID
14.7. sudo, sudoedit - execute a command as another user
14.7.1. /etc/sudoers
14.7.2. /etc/sudoers
14.7.3. 设置示例
14.7.4. NOPASSWD
14.7.5. 允许或禁止命令
14.7.6. Cmnd_Alias 用法
14.7.7. wheel 组
14.7.8. 注意事项
14.8. ACL - Access Control List
14.8.1. getfacl - get file access control lists
14.8.2. setfacl - set file access control lists
15. crontab 定时任务
15.1. /etc/crontab
16. Logging 日志
16.1. rsyslog
16.1.1. rsyslog.conf
16.2. logrotate - rotates, compresses, and mails system logs
16.2.1. /etc/logrotate.conf
16.2.2. /etc/logrotate.d/
16.3. syslog-ng
16.4. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
16.4.1. /etc/sysconfig/syslog
16.4.2. /etc/syslog.conf
16.4.3. logger
16.4.4. To Log Messages Over UDP Network
16.5. 挂载日志卷
16.5.1. 子卷挂载
16.5.2. 使用过个子卷
16.5.3. /etc/fstab配置
17. kickstart
17.1. install kickstart
17.2. ks.cfg
17.3. boot 参数
18. System Utilities 配置工具
18.1. CentOS 6
18.1.1. system-config-date
18.1.2. system-config-firewall
18.1.3. system-config-securitylevel
18.1.4. system-config-language
18.1.5. system-config-keyboard
18.1.6. system-config-network
18.1.7. ntsysv
18.1.8. lokkit
18.1.9. system-config-kdump
18.1.10. system-config-services
18.1.11. authconfig-tui
II. Shell
19. Bash Shell
19.1. 快捷键
19.2. 执行程序返回值
19.3. bash - GNU Bourne-Again SHell
19.3.1. -n 检查脚本是否有语法错误
19.3.2. -x 显示详细运行过程
19.4. Introduction
19.4.1. chsh - change login shell
19.4.2. 切换身份
19.4.3. I/O 重定向
19.4.4. pipes (FIFOs)
19.4.5. mktemp - create a temporary file or directory 临时目录与文件
19.4.6. History 命令历史记录
19.4.7. hash - hash database access method
19.4.8. prompt
19.5. 变量 variable
19.5.1. 系统变量
19.5.2. 表达式
19.5.3. Internal Environment Variables
19.5.4. set 设置变量
19.5.5. unset 变量销毁
19.5.6. 设置变量默认值
19.5.7. export 设置全局变量
19.5.8. declare
19.5.9. Numerical 数值运算
19.5.10. Strings 字符串操作
19.5.11. Array 数组
19.5.12. read 赋值多个变量
19.5.13. eval
19.5.14. typeset
19.5.15. envsubst - substitutes environment variables in shell format strings
19.6. conditions if and case
19.6.1. if
19.6.2. case
19.7. Loops for, while and until
19.7.1. for
19.7.2. while
19.7.3. until
19.8. Functions
19.8.1. Local variables
19.9. User interfaces
19.9.1. input
19.10. subshell
19.11. Example
19.11.1. 有趣的Shell
19.11.2. backup
19.11.3. CPU 核心数
19.11.4. Password
19.11.5. processes
19.11.6. Shell 技巧
19.11.7. to convert utf-8 from gb2312 code
19.11.8. 使用内存的百分比
19.11.9. 合并apache被cronlog分割的log文件
19.11.10. Linux 交集 差集 并集
20. 小众 Shell
20.1. fish shell
20.1.1. 安装 fish shell
20.1.2. 配置 fish
20.2. Z Shell
20.2.1. installing Z shell
20.2.2. Oh My ZSH!
20.2.3. Starting file
20.2.4. Prompting
20.2.5. Aliases
20.2.6. History
20.2.7. FAQ
20.3. Berkeley UNIX C shell (csh)
20.3.1.
20.4. KornShell
20.4.1.
21. Shell command
21.1. Help Commands
21.1.1. man - an interface to the on-line reference manuals
21.2. getconf - Query system configuration variables
21.3. test 命令
21.3.1. 判断目录
21.4. Directory and File System Related
21.4.1. dirname
21.4.2. filename
21.4.3. test - check file types and compare values
21.4.4. file — determine file type
21.4.5. stat
21.4.6. mkdir - make directories
21.4.7. rename
21.4.8. touch
21.4.9. truncate
21.4.10. ls - list directory contents
21.4.11. cp - copy files and directories
21.4.12. rm - remove files or directories
21.4.13. df - report file system disk space usage
21.4.14. du - estimate file space usage
21.4.15. tac - concatenate and print files in reverse
21.4.16. split - split a file into pieces
21.4.17. find - search for files in a directory hierarchy
21.5. package / compress and decompress
21.5.1. tar — The GNU version of the tar archiving utility
21.5.2. cpio - copy files to and from archives
21.5.3. gzip
21.5.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
21.5.5. bzip2, bunzip2 - a block-sorting file compressor
21.5.6. RAR
21.5.7. 7-Zip
21.5.8. RAR
21.5.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
21.6. 日期和时间
21.6.1. 日期格式
21.6.2. -d --date=
21.6.3. 时间戳
21.6.4. RFC 2822
21.6.5. UTC
21.6.6. 字符串转日期
21.7. Numeric
21.7.1. 数值运算
21.7.2. seq - print a sequence of numbers
21.7.3. bc - An arbitrary precision calculator language
21.8. Text Processing
21.8.1. iconv - Convert encoding of given files from one encoding to another
21.8.2. 字符串处理命令expr
21.8.3. cat - concatenate files and print on the standard output
21.8.4. nl - number lines of files
21.8.5. tr - translate or delete characters
21.8.6. cut - remove sections from each line of files
21.8.7. printf - format and print data
21.8.8. Free `recode' converts files between various character sets and surfaces.
21.8.9. /dev/urandom 随机字符串
21.8.10. col - filter reverse line feeds from input
21.8.11. apg - generates several random passwords
21.8.12. head/tail
21.8.13. 反转字符串或文件内容
21.8.14. TAB符号与空格处理
21.9. grep, egrep, fgrep, rgrep - print lines matching a pattern
21.9.1. 删除空行
21.9.2. -v, --invert-match
21.9.3. Output control
21.9.4. Context control
21.9.5. Regexp selection and interpretation
21.9.6. fgrep
21.9.7. egrep
21.10. sort - sort lines of text files
21.10.1. 对列排序
21.10.2. -s, --stable stabilize sort by disabling last-resort comparison
21.11. uniq
21.12. 表格操作/行列转换
21.12.1. column - columnate lists
21.12.2. paste - merge lines of files
21.12.3. join
21.13. standard input/output
21.13.1. xargs - build and execute command lines from standard input
21.14. flock - manage locks from shell scripts
21.15. 进制转换 - 16进制 - 8进制 - 二进制
21.15.1. od - dump files in octal and other formats
21.15.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
21.15.3. xxd - make a hexdump or do the reverse.
21.15.4. binutils
21.16. Logging
21.16.1. logger - a shell command interface to the syslog(3) system log module
21.17. Password
21.17.1. Shadow password suite configuration.
21.17.2. newusers - update and create new users in batch
21.17.3. chpasswd - update passwords in batch mode
21.17.4. sshpass - noninteractive ssh password provider
21.18. 信息摘要
21.18.1. cksum, sum -- display file checksums and block counts
21.18.2. md5sum - compute and check MD5 message digest
21.18.3.
21.19. envsubst - substitutes environment variables in shell format strings
23. Utility Programs
23.1. ed, red - text editor
23.2. vim
23.2.1. 查找与替换
23.2.2. 删除操作
23.2.3. 插入文件
23.2.4. 批处理
23.2.5. line()
23.2.6. set fileformat
23.2.7. 空格与TAB转换
23.3. awk
23.3.1. 处理列
23.3.2. printf
23.3.3. Pattern(字符匹配)
23.3.4. Built-in Variables (NR/NF)
23.3.5. Built-in Functions
23.3.6. 过滤相同的行
23.3.7. 数组演示
23.4. sed
23.4.1. 查找与替换
23.4.2. insert 插入字符
23.4.3. 追加字符
23.4.4. 修改字符
23.4.5. 删除字符
23.4.6. 行操作
23.4.7. 编辑文件
23.4.8. 正则表达式
23.4.9. 管道操作
23.4.10. 字母大小写转换
23.4.11. perl
23.4.12. 案例
23.5. CURL - transfer a URL
23.5.1. 基本用法
23.5.2. 提交表单数据
23.5.3. 上传文件
23.5.4. connect-timeout
23.5.5. max-time
23.5.6. compressed
23.5.7. 代理服务器
23.5.8. -w, --write-out <format> 输出格式定义
23.5.9. -A/--user-agent <agent string>
23.5.10. referer
23.5.11. -v
23.5.12. -o, --output FILE Write output to <file> instead of stdout
23.5.13. -L, --location
23.5.14. -H/--header <line> Custom header to pass to server (H)
23.5.15. curl-config
23.5.16. 指定网络接口或者地址
23.5.17. Cookie 处理
23.5.18. Restful 应用 JSON 数据处理
23.5.19. 访问自签名证书
23.5.20. HTTP2
23.5.21. FAQ
23.6. expect
23.6.1. 模拟登录 telnet 获取Cisco配置
23.6.2. 模拟登录 ssh
23.6.3. SCP
23.6.4. openssl 例子
23.7. expect-lite - quick and easy command line automation tool
23.8. sshpass - noninteractive ssh password provider
23.9. Klish - Kommand Line Interface Shell (the fork of clish project)
23.9.1. 安装Klish
23.9.2. 为用户指定clish作为默认Shell
23.9.3. FAQ
23.10. Limited command Shell (lshell)
23.11. Wget - The non-interactive network downloader.
23.11.1. Logging and input file
23.11.2. 下载相关参数
23.11.3. HTTP options (HTTP 选项)
23.11.4. Recursive download
23.11.5. --no-passive-ftp disable the "passive" transfer mode.
23.11.6. 下载一组连续的文件名
23.12. TUI
23.12.1. screen - screen manager with VT100/ANSI terminal emulation
23.12.2. tmux — terminal multiplexer
23.12.3. byobu - wrapper script for seeding a user's byobu configuration and launching a text based window manager (either screen or tmux)
23.12.4. htop - interactive process viewer
23.12.5. elinks
23.12.6. chat
23.13. jq - Command-line JSON processor
23.14. parallel - build and execute shell command lines from standard input in parallel
23.15. multitail
23.16. asciinema 终端录屏
24. Shell Terminal
24.1. terminal
24.1.1. resize - set TERMCAP and terminal settings to current xterm window size
24.1.2. tset, reset - terminal initialization
24.1.3. stty - change and print terminal line settings
24.2. tput
24.2.1. Change the prompt color using tput
24.3. dialog
24.3.1. --inputbox
24.4. whiptail - display dialog boxes from shell scripts
24.4.1. --msgbox
24.4.2. --infobox
24.4.3. --yesno
24.4.4. --inputbox
24.4.5. --passwordbox
24.4.6. --textbox
24.4.7. --checklist
24.4.8. --radiolist
24.4.9. --menu
24.4.10. --gauge
III. Network Application
25. network tools
25.1. curl / w3m / lynx
25.2. DHCP
25.2.1. DHCP Server
25.2.2. dhclient
25.2.3. release matching connections
25.3. DNS/Bind
25.3.1. 安装 bind9
25.3.2. forwarders
25.3.3. Load Balancing
25.3.4. view
25.3.5. Master / Slave
25.3.6. DNS tools
25.3.7. DNS
25.3.8. NamedManager
25.4. dnsmasq
25.4.1. Install
25.4.2. /etc/dnsmasq.conf
25.4.3. dnsmasq.resolv.conf
25.4.4. dnsmasq.hosts
25.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
25.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
25.4.7. FAQ
25.5. ngrok - tunnel local ports to public URLs and inspect traffic
27. rinetd — internet “redirection server”
27.1. rinetd install
27.1.1. ubuntu
27.1.2. centos
27.2. rinetd.conf
27.3. 防御脚本
27.4. rinetd.log
28. 即时通信
28.1. Matrix
28.1.1. Synapse
28.2. IRC - Internet Relay Chat
28.2.1. IRC Protcol
28.2.2. IRC Commands
28.2.3. ircd-irc2 - The original IRCNet IRC server daemon
28.2.4. ircd-hybrid
28.2.5. IRC Client
28.2.6. Web IRC
28.3. jabber XMPP
28.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
28.3.2. tigase
28.3.3. Openfire
28.3.4. DJabberd
28.3.5. freetalk - A console based Jabber client
28.3.6. library
28.4. News Group (innd)
28.4.1. Ubuntu
28.4.2. CentOS
28.4.3. User Authentication
28.4.4. usenet 管理
28.4.5. 通过SSL连接
28.4.6. src.rpm 安装
28.4.7. 常用新闻组
29. Proxy Server
29.1. Apache Proxy
29.2. Squid - Internet Object Cache (WWW proxy cache)
29.2.1. 源码安装
29.2.2. debian/ubuntu 安装
29.2.3. 配置
29.2.4. Squid 管理
29.2.5. 禁止页面被Cache
29.2.6. Squid 实用案例
29.2.7. squid+icap+clamav
29.3. Web page proxy
29.3.1. Surrogafier
29.3.2. CGIproxy
29.3.3. PHPProxy
29.3.4. BBlocked
29.3.5. Glype
29.3.6. Zelune
29.4. Socks/Socks5
29.4.1. Socks5
29.4.2. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
29.4.3. SSH Socks5 Tunnel
29.4.4. hpsockd - HP SOCKS server
29.4.5. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
30. Firewall
30.1. TCP/IP 相关内核配置项
30.1.1. net.ipv4.ip_forward
30.1.2. net.ipv4.icmp_echo_ignore_all
30.2. iptables - administration tools for packet filtering and NAT
30.2.1. Getting Started
30.2.2. 用户自定义规则连
30.2.3. Protocols 协议
30.2.4. Interfaces 网络适配器接口
30.2.5. 源IP地址
30.2.6. Ports 端口
30.2.7. NAT
30.2.8. Module(模块)
30.2.9. IPV6
30.2.10. iptables-xml - Convert iptables-save format to XML
30.2.11. access.log IP封锁脚本
30.2.12. Example
30.3. ulogd - The Netfilter Userspace Logging Daemon
30.4. ufw - program for managing a netfilter firewall
30.4.1. /etc/default/ufw
30.4.2. ip_forward
30.4.3. DHCP
30.4.4. Samba
30.5. CentOS 7/8 Firewalld
30.5.1. 如果你不习惯使用firewalld想用回Iptables
30.5.2. 安装 firewalld
30.5.3. firewalld 配置文件
30.5.4. firewall-cmd
30.5.5. 区域
30.5.6. 端口操作
30.5.7. 服务
30.5.8. IP 伪装
30.5.9. 端口转发
30.5.10. 富规则
30.6. Shorewall
30.6.1. Installation Instructions
30.6.2. Configuring Shorewall
30.7. Firewall GUI Tools
30.8. Endian Firewall
30.9. Smooth Firewall
30.10. Sphirewall
31. Stunnel - universal SSL tunnel
32. OpenSSH
32.1. 安装 OpenSSH
32.2. /etc/ssh/
32.2.1. IP地址限制
32.2.2. sshd_config
32.2.3. ssh_config
32.2.4. ~/.ssh/config
32.3. ssh client
32.3.1. -o option 参数详解
32.3.2. 调试模式,显示连接过程
32.4. OpenSSH Tunnel
32.4.1. SOCKS v5 Tunnel
32.4.2. 从公网穿透局域网
32.5. ssh-keygen — authentication key generation, management and conversion
32.5.1. .ssh/known_hosts
32.6. ssh-keyscan
32.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
32.8. ssh-agent
32.8.1. ssh-add
32.8.2. Lock / Unlock agent
32.8.3. Set lifetime (in seconds) when adding identities.
32.9. OpenSSH for Windows
32.9.1. Putty Client
32.10. Google Authenticator - Android Apps on Google Play
32.11. 禁止SSH密码穷举
32.12. FAQ
32.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
32.12.2. 去掉 passphrase
32.12.3. 打印调试信息
32.12.4. 远程执行 sudo 提示密码
32.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
33. VPN (Virtual Private Network)
33.1. OpenVPN (openvpn - Virtual Private Network daemon)
33.1.1. 安装 OpenVPN Server
33.1.2. Easy-RSA 3
33.1.3. Openvpn Client
33.1.4. OpenVPN GUI for Windows
33.1.5. point-to-point VPNs
33.1.6. VPN 案例
33.1.7. OpenVPN安全
33.2. pptpd
33.2.1. Server 服务端
33.2.2. Client 客户端
33.2.3. FAQ
33.3. l2tpd - dummy package for l2tpd to xl2tpd transition
33.3.1. Ubuntu/Debian
33.3.2. CentOS 8 Stream
33.3.3. Ipsec VPN
33.3.4. FAQ
33.4. strongswan - IPSec utilities for strongSwan
33.4.1. 安装 strongswan VPN 服务器
33.4.2. 防火墙配置
33.4.3. 配置 IPSEC
33.4.4. Windows 10 VPN 客户端配置
33.4.5. FAQ
33.5. openswan - IPSEC utilities for Openswan
33.6. N2N VPN
33.7. Hypersocket VPN
34. Point to Point
34.1. download
34.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
34.1.2. mldonkey-server - Door to the 'donkey' network
34.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
35. Nginx
35.1. Installing
35.1.1. Netkiller OSCM 一键安装 (CentOS 7)
35.1.2. Installing by apt-get under the debain/ubuntu
35.1.3. CentOS
35.1.4. installing by source
35.1.5. CentOS 7
35.1.6. Mac
35.1.7. rotate log
35.2. Nginx 命令
35.2.1. -V show version and configure options then exit
35.2.2. -t : test configuration and exit
35.2.3. test configuration, dump it and exit
35.3. nginx.conf 配置文件
35.3.1. 处理器配置
35.3.2. events 配置
35.3.3. http 配置
35.3.4. Nginx 变量
35.3.5. server
35.3.6. rewrite
35.3.7. upstream 负载均衡
35.3.8. Proxy
35.3.9. fastcgi
35.4. Nginx module
35.4.1. stub_status 服务器状态采集模块
35.4.2. sub_filter 页面中查找和替换
35.4.3. auth_basic HTTP 认证模块
35.4.4. valid_referers
35.4.5. ngx_http_flv_module
35.4.6. ngx_http_mp4_module
35.4.7. limit_zone
35.4.8. image_filter
35.4.9. ngx_stream_proxy_module
35.4.10. ngx_http_mirror_module
35.4.11. limit_except
35.4.12. geoip_country_code
35.5. Example
35.5.1. Nginx + Tomcat
35.5.2. 拦截index.html
35.5.3. Session 的 Cookie 域处理
35.6. FAQ
35.6.1. 405 Not Allowed?
35.6.2. 413 Request Entity Too Large
35.6.3. 499 Client Closed Request
35.6.4. 502 Bad Gateway?
35.6.5. 504 Gateway Time-out
35.6.6. proxy_pass
35.6.7. proxy_pass SESSION 丢失问题
35.6.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
35.6.9. server_name 与 SSI 注意事项
35.6.10. location 跨 document_root 引用,引用 document_root 之外的资源
35.6.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
35.6.12. 127.0.0.1:8080 failed
35.6.13. failed (13: Permission denied) while connecting to upstream
35.6.14. upstream sent too big header while reading response header from upstream
35.6.15. 很目录 index.html 正常访问,其他文件都是 404
36. Openresty
36.1. 安装 Openresty
36.1.1. 源码安装
36.2. Openresty 开发
36.2.1. Hello world!!!
36.2.2. 日期和时间
36.2.3. 数据结构
36.2.4. echo 输出
36.2.5. 参数处理
36.2.6. Nginx 变量
36.2.7. Json
36.2.8. Redis
36.2.9. Nginx 缓存
36.2.10. logs
36.3. 实现灰度发布
36.4. Redis
37. Caddy
37.1. 安装 Caddy
37.1.1. CentOS/Rocky Linux/AlmiLinux
37.2. 命令行
37.2.1. 启动 Caddy
37.2.2. 文件服务器
37.3. /etc/caddy/Caddyfile
37.3.1. 监听地址
37.3.2. 反向代理
37.3.3. Let's Encrypt 免费 SSL 证书
37.3.4. 返回内容
38. Apache Tomcat
38.1. Tomcat 安装与配置
38.1.1. Tomcat 6
38.1.2. Tomcat 7
38.1.3. Java 8 + Tomcat 8
38.1.4. Tomcat 9/10
38.1.5. 防火墙配置
38.1.6. 同时运行多实例
38.1.7. Testing file
38.1.8. mod_jk
38.1.9. mod_proxy_ajp
38.1.10. RewriteEngine 连接 Tomcat
38.1.11. SSL 双向认证
38.2. 配置 Tomcat 服务器
38.2.1. server.xml
38.2.2. tomcat-users.xml
38.2.3. context.xml
38.2.4. logging.properties
38.2.5. catalina.properties
38.3. 虚拟主机配置
38.3.1. 方案一
38.3.2. 方案二
38.3.3. Alias 别名
38.3.4. access_log
38.3.5. Context 配置
38.3.6. 主机绑定IP地址
38.4. SSI
38.5. Logging 日志
38.5.1. 开启 debug 模式
38.5.2. 切割 catalina.out 日志
38.6. Init.d Script
38.6.1. Script 1
38.6.2. Shell Script 2
39. Apache httpd
39.1. Install
39.1.1. Quick install apache with aptitude
39.1.2. CentOS 6
39.1.3. Compile and then install Apache
39.1.4. XAMPP
39.2. Module
39.2.1. Output a list of modules compiled into the server.
39.2.2. Core
39.2.3. mpm
39.2.4. Apache Log
39.2.5. mod_access
39.2.6. VirtualHost
39.2.7. Alias / AliasMatch
39.2.8. Redirect / RedirectMatch
39.2.9. Rewrite
39.2.10. Proxy
39.2.11. Deflate
39.2.12. Expires
39.2.13. Cache
39.2.14. usertrack
39.2.15. Charset
39.2.16. Dir
39.2.17. Includes
39.2.18. Apache Status
39.2.19. Mod Perl
39.2.20. mod_pagespeed -
39.2.21. Module FAQ
39.2.22. mod_setenvif
39.2.23. PHP 程序安全问题 php_admin_value
39.2.24. mod_spdy
39.3. 设置Apache实现防盗连
39.4. .htaccess
39.5. Error Prompt
39.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
39.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
40. Lighttpd
40.1. 安装Lighttpd
40.1.1. quick install with aptitude
40.1.2. yum install
40.1.3. to compile and then install lighttpd
40.2. /etc/lighttpd/lighttpd.conf
40.2.1. max-worker / max-fds
40.2.2. accesslog.filename
40.2.3. ETags
40.2.4. server.tag
40.3. Module
40.3.1. simple_vhost
40.3.2. ssl
40.3.3. redirect
40.3.4. rewrite
40.3.5. alias
40.3.6. auth
40.3.7. compress
40.3.8. expire
40.3.9. status
40.3.10. setenv
40.3.11. fastcgi
40.3.12. user-agent
40.3.13. spdy
40.4. 其他模块
40.4.1. mod_secdownload 防盗链
40.5. Example
40.5.1. s-maxage
41. Resin
41.1. 安装Resin
41.1.1. 直接使用
41.1.2. Debian/Ubuntu
41.1.3. 源码安装Resin
41.2. Compiling mod_caucho.so
41.3. resin.conf
41.3.1. Maximum number of threads
41.3.2. Configures the keepalive
41.3.3. ssl
41.4. virtual hosts
41.4.1. explicit host
41.4.2. regexp host
41.4.3. host-alias
41.4.4. configures a deployment directory for virtual hosts
41.4.5. Resources
41.5. FAQ
41.5.1. java.lang.OutOfMemoryError: PermGen space
42. Application Server
42.1. Zope
42.2. JBoss - JBoss Enterprise Middleware
43. Web Server Optimization
43.1. ulimit
43.1.1. open files
43.2. khttpd
43.3. php.ini
43.3.1. Resource Limits
43.3.2. File Uploads
43.3.3. Session Shared
43.3.4. PATHINFO
43.4. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
43.5. Zend Optimizer
43.6. eaccelerator
44. varnish - a state-of-the-art, high-performance HTTP accelerator
44.1. Varnish Install
44.2. varnish utility
44.2.1. status
44.2.2. varnishadm
44.2.3. varnishtop
44.2.4. varnishhist
44.2.5. varnishsizes
44.3. log file
44.4. Varnish Configuration Language - VCL
44.4.1. unset / set
44.5. example
45. Apache Traffic Server
45.1. Install
45.2. Configure
46. Cherokee
46.1. Installing Cherokee
47. Jetty
48. Other Web Server
48.1. Python SimpleHTTPServer
49. web 服务器排名
49.1. HTTP状态码
50. HTTP2
50.1. Chrome
V. Mail Server
51. Mail server constituent
52. mail user agent (MUA)
52.1. mail
52.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
52.2.1. 发送邮件
52.2.2. 设置自定义 From
52.3. alpine - Text-based email client, friendly for novices but powerful
52.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
52.5. GPG4WIN
52.6. Evolution
53. exim - meta-package to ease Exim MTA (v4) installation
53.1. install
53.1.1. ubuntu/debian
53.1.2. CentOS/Redhat
53.2. exim 命令
53.2.1. 帮助信息
53.2.2. 测试发送邮件
53.2.3. 刷新邮件队列
53.3. 配置exim
53.3.1. /etc/aliases 别名配置
53.4. FAQ
53.4.1. Mailing to remote domains not supported
54. postfix - High-performance mail transport agent
54.1. install
54.1.1. Ubuntu
54.1.2. CentOS
54.1.3. OSCM 通过配置管理脚本安装
54.2. 配置 Postfix
54.2.1. 转发配置
54.2.2. 拒收垃圾邮件
54.2.3. 收件箱配置
54.2.4. 邮件投递
54.2.5. 队列配置
54.2.6. 客户端
54.2.7. SMTP 发送权限相关配置
54.3. aliases
54.4. dkim
54.4.1. 增加域名
54.4.2. 测试
54.5. Rspamd
54.6. /var/log/maillog
54.6.1. 计算每分钟发送数量日志统计
54.6.2. 虚假地址统计
54.7. Post 命令
54.7.1. postconf - Postfix configuration utility
54.7.2. postsuper
54.7.3. postqueue - Postfix queue control
54.7.4. postmulti - Postfix multi-instance manager
54.8. Example
54.8.1. 站内电邮发送
54.8.2. EDM 服务器
54.8.3. SMTP 邮件发送服务器
54.9. FAQ
54.9.1. SMTP ERROR: RCPT TO command failed: 501 5.1.3 Bad recipient address syntax
54.9.2. connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Network is unreachable
54.9.3. opendkim[5762]: 3012A802C1DD: [49.213.11.18] [49.213.11.18] not internal
54.9.4. opendkim[12578]: 4CC5C802C382: no signature data
54.9.5. /etc/opendkim/keys/default.private: open(): No such file or directory
54.9.6. fatal: parameter inet_interfaces: no local interface found for ::1
54.9.7. NOQUEUE: reject: MAIL from unknown[192.168.3.31]: 552 5.3.4 Message size exceeds fixed limit;
54.9.8. 452 4.3.1 Insufficient system storage
54.9.9. 454 Relay access denied
55. 邮件原文
55.1. Subject Unicode
55.2. TO/CC/BCC
55.3. 正文
55.4. POP Sniffer
55.5. PHP mail()
56. 反垃圾邮件相关
56.1. Sender Policy Framework
56.1.1. 分析 SPF 记录
56.2. DKIM
56.3. 邮件被拒收处理方法
56.3.1. NetEase
56.3.2. Sohu
56.3.3. Tom
56.3.4. QQ
56.3.5. 21CN
57. Fax
57.1. HylaFAX
58. FAQ
58.1. 通过SSH与控制台不能登录
VI. Backup, Recovery, and Archiving Solutions
59. Logical Volume Manager (LVM)
59.1. 物理卷管理(physical volume)
59.1.1. pvcreate
59.1.2. pvdisplay
59.1.3. pvs
59.2. 卷组管理(Volume Group)
59.2.1. vgcreate
59.2.2. vgdisplay
59.2.3. vgs
59.2.4. vgchange
59.2.5. vgextend
59.2.6. vgreduce
59.3. 逻辑卷管理(logical volume)
59.3.1. lvcreate
59.3.2. lvdisplay
59.3.3. lvremove
59.4. Format
59.5. mount
59.5.1. lv
59.5.2. snapshot
59.6. snapshot backup
60. 文件传输
60.1. 跨服务器文件传输
60.1.1. scp - secure copy (remote file copy program)
60.1.2. nc - TCP/IP swiss army knife
60.2. wget - retrieves files from the web
60.2.1. 下载所有图片
60.2.2. mirror
60.2.3. reject
60.2.4. ftp 下载
60.3. axel - A light download accelerator - Console version
61. FTP (File Transfer Protocol)
61.1. lftp
61.1.1. pget
61.1.2. lftp 批处理
61.2. ncftp
61.2.1. batch command
61.2.2. ncftpget
61.2.3. ncftpput
61.3. FileZilla
61.4. vsftpd - The Very Secure FTP Daemon
61.4.1. 安装 vsftpd
61.4.2. ftp 帐号的shell权限
61.4.3. vsftpd 认证模块
61.4.4. chroot
61.4.5. FAT
61.5. ProFTPD + MySQL / OpenLDAP 用户认证
61.5.1. Proftpd + MySQL
61.5.2. Proftpd + OpenLDAP
61.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
62. File Synchronize
62.1. rsync - fast remote file copy program (like rcp)
62.1.1. 安装Rsync与配置守护进程
62.1.2. rsyncd.conf
62.1.3. rsync 参数说明
62.1.4. step by step to learn rsync
62.1.5. rsync examples
62.1.6. rsync for windows
62.1.7. 多进程 rsync 脚本
62.2. tsync
62.3. lsyncd
62.3.1. 安装
62.3.2. 配置 lsyncd.conf
62.3.3. 配置演示
62.4. Unison File Synchronizer
62.4.1. local
62.4.2. remote
62.4.3. config
62.5. csync2 - cluster synchronization tool
62.5.1. server
62.5.2. node
62.5.3. test
62.5.4. Advanced Configuration
62.5.5. 编译安装
62.6. synctool
63. File Share
63.1. NFSv4
63.1.1. Ubuntu
63.1.2. CentOS
63.1.3. exports
63.1.4. NFS For Windows
63.1.5. exportfs - maintain table of exported NFS file systems
63.1.6. macOS
63.1.7. Parallel NFS(pNFS)
63.2. Samba
63.2.1. install
63.2.2. smb.conf
63.2.3. Samba 相关命令
63.2.4. FAQ
64. Distributed File Systems
64.1. DRBD (Distributed Replicated Block Device)
64.1.1. disk and partition
64.1.2. Installation
64.1.3. configure
64.1.4. Starting
64.1.5. Using
64.2. Network Block Device protocol
64.2.1. nbd-server - Network Block Device protocol - server
64.2.2. nbd-client - Network Block Device protocol - client
64.3. GridFS
64.3.1. nginx-gridfs
64.3.2. lighttpd-gridfs
64.4. Moose File System
64.4.1. Master server installation
64.4.2. Backup server (metalogger) installation
64.4.3. Chunk servers installation
64.4.4. Users’ computers installation
64.4.5. Testing MFS
64.5. LizardFS
64.6. Ceph
64.6.1. Installation on Ubuntu
64.6.2. Installation on CentOS
64.6.3. Block Devices
64.7. GlusterFS
64.7.1. glusterfs-server
64.7.2. glusterfs-client
64.7.3. Testing
64.7.4. RAID
64.7.5. Filesystem Administration
64.7.6. CentOS 6.3
64.8. Lustre
64.9. MogileFS
64.10. Kosmos distributed file system (KFS)
64.11. Hadoop - HDFS
64.12. BeeGFS - The Parallel Cluster File System
64.13. Coda
64.14. OpenAFS
65. Shared Storage
65.1. Oracle OCFS2
65.1.1. 安装
65.2. GFS2
65.3. fam & imon
66. Network Attached Storage(NAS 网络附加存储)
66.1. Network Storage - Openfiler
66.1.1. Accounts
66.1.2. Volumes
66.1.3. Quota
66.1.4. Shares
66.2. OpenMediaVault
66.3. FreeNAS
67. Backup / Restore
67.1. 备份策略
67.1.1. Incremental backup
67.1.2. Differential backup
67.2. btrbk.noarch : Tool for creating snapshots and remote backups of btrfs sub-volumes
67.3. dump / restore
67.4. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
67.4.1. Install Backup Server
67.4.2. Install Backup Client
67.5. Amanda: Open Source Backup
67.6. Attic - 拥有重复数据删除技术的备份软件
67.6.1. 安装 Attic
67.6.2. 快速开始
67.7. SafeKeep
67.8. Opendedup
68. inotify
68.1. inotify-tools
68.2. Incron - cron-like daemon which handles filesystem events
68.2.1. incrontab - inotify cron table manipulator
68.2.2. 使用说明
68.3. inotify-tools + rsync
68.4. pyinotify
VII. Monitoring
69. Prometheus
69.1. 安装 Prometheus
69.1.1. Docker 安装
69.1.2. docker swarm
69.1.3. docker-compose
69.1.4. 防火墙设置
69.2. Prometheus 配置
69.2.1. Prometheus 命令行工具
69.2.2. rules 规则配置
69.2.3. SpringBoot
69.2.4. PromQL 自定义查询语言
69.3. Prometheus Exporter
69.3.1. 监控 Docker
69.3.2. node-exporter
69.3.3. cadvisor
69.3.4. Nginx Prometheus Exporter
69.3.5. Redis
69.3.6. MongoDB
69.3.7. MySQL
69.3.8. Blackbox Exporter(blackbox-exporter)
69.3.9. SNMP Exporter
69.4. Alertmanager
69.4.1. Docker 安装
69.4.2. alertmanager.yml 配置文件
69.4.3. 触发测试
69.4.4. 警报状态
69.5. Grafana
69.5.1. cadvisor
69.5.2. Docker - container summary (Prometheus)
70. Zabbix
70.1. Installing and Configuring Zabbix
70.1.1. Ubuntu
70.1.2. CentOS Zabbix 2.4
70.1.3. Zabbix 3.x CentOS 7
70.2. web ui
70.2.1. 警告脚本
70.3. zabbix-java-gateway - Zabbix java gateway
70.4. zabbix-agent
70.4.1. Ubuntu
70.4.2. CentOS 7
70.4.3. zabbix_agentd 命令
70.4.4. Nginx status 监控
70.4.5. redis
70.4.6. MongoDB
70.4.7. PHP-FPM
70.4.8. Elasticsearch
70.4.9. Postfix
70.4.10. TCP stats
70.4.11. 应用依赖检查
70.4.12. Oracle
71. 日志收集和分析
71.1. 系统日志
71.1.1. logwatch
71.1.2. logcheck : Analyzes log files and sends noticeable events as email
71.1.3. nulog
71.1.4. Web
71.1.5. Tomcat
71.1.6. Mail
71.1.7. OpenSSH 日志 /var/log/secure
71.1.8. rinetd.log
71.2. ElasticSearch + Logstash + Kibana
71.2.1. 安装
71.2.2. logstash 命令简单应用
71.2.3. 配置 Broker(Redis)
71.2.4. logstash 配置项
71.2.5. Example
71.2.6. Beats
71.2.7. FAQ
71.3. Grafana + Loki + Promtail
71.3.1. Docker Compose
71.3.2. Helm
71.3.3. promtail
71.4. fluentd
71.4.1. Docker 安装
71.4.2. fluent-bit
71.4.3. temporarily failed to flush the buffer
71.5. Apache Flume
71.5.1. 安装 Apache flume
71.5.2. 基本配置
71.5.3. 配置 MySQL 存储日志
71.5.4. 配置 HDFS 存储日志
71.6. php-syslog-ng
71.7. Log Analyzer
71.8. Splunk
71.9. Octopussy
71.10. eventlog-to-syslog
71.11. graylog - Enterprise Log Management for All
72. 分布式链路追踪
72.1. Apache SkyWalking
72.2. Zipkin
73. 上一代监控系统
73.1. SMS
73.1.1. gnokii
73.1.2. AT Commands
73.2. IPMI (Intelligent Platform Management Interface)
73.2.1. OpenIPMI
73.2.2. freeipmi
73.2.3. ipmitool - utility for controlling IPMI-enabled devices
73.3. Cacti
73.3.1. Install Cacti for Ubuntu
73.3.2. Yum 安装
73.3.3. Source Install
73.3.4. Web 安装
73.3.5. Cacti plugins
73.3.6. Template
73.4. Nagios
73.4.1. Install
73.4.2. nagios
73.4.3. nrpe node
73.4.4. 配置 Nagios
73.4.5. 配置监控设备
73.4.6. Nagios Plugins
73.4.7. FAQ
73.5. Munin
73.5.1. Ubuntu
73.5.2. CentOS
73.5.3. 用户认证
73.5.4. munin-node and plugins
73.5.5. munin.conf
73.5.6. munin-node
73.6. Observium
73.6.1. Installation
73.7. Ganglia
73.7.1. Server
73.7.2. Client
73.7.3. Plugin
73.7.4. Installing Ganglia on Centos
73.8. Varnish Dashboard
73.9. icinga
73.10. Graphite
73.10.1. Graphite - Scalable Realtime Graphing
73.11. BIG BROTHER
73.12. Big Sister
73.13. OpenNMS
73.14. Performance Co-Pilot
73.15. Clumon Performance Monitor
73.16. Zenoss
73.17. 商业软件
73.18. Hyperic HQ
73.19. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
73.20. HawtIO
73.21. moloch
75. 网络监控
75.1. NET SNMP (Simple Network Management Protocol)
75.1.1. 安装SNMP
75.1.2. 配置SNMP
75.1.3. SNMP 命令
75.1.4. Cisco MBI
75.2. Bandwidth
75.2.1. apt-get install
75.2.2. CentOS rpm/yum
75.2.3. source code
75.2.4. /etc/bandwidthd.conf
75.3. NetFlow
75.3.1. flow-tools - collects and processes NetFlow data
75.3.2. netams - Network Traffic Accounting and Monitoring Software
75.4. Ntop
75.4.1. Installation
75.4.2. Web UI
75.4.3. Plugins
75.5. MRTG
75.5.1. CentOS 8 Stream
75.5.2. Ubuntu 安装
75.5.3. CentOS 安装
75.5.4. 监控多个设备
75.5.5. 批量生成监控配置文件
75.5.6. 图片尺寸
75.6. lvs-rrd
VIII. Server Load Balancing
76. heartbeat
76.1. heartbeat+ldirectord
76.1.1. heartbeat
76.1.2. ldirectord
76.1.3. test
76.2. Pacemaker
77. Linux Virtual Server
77.1. 环境配置
77.2. VS/NAT
77.3. VS/TUN
77.4. VS/DR
77.4.1. 配置文件
77.5. ipvsadm script
77.6. Timeout
77.7. debug
77.8. ipvsadm monitor
78. keepalived
78.1. 安装
78.2. test
78.3. HAProxy and Keepalived (Virtual IP)
79. Piranha - Cluster administation tools
79.1. install
79.2. configure
79.3. real server
79.4. Example
79.4.1. Master
79.4.2. Slave
79.4.3. MySQL
80. HAProxy - fast and reliable load balancing reverse proxy
80.1. Installing
80.1.1. Ubuntu
80.1.2. CentOS
80.2. haproxy.cfg
80.2.1. stats
80.2.2. listen 方式
80.2.3. frontend/backend 方式
80.2.4. option
80.2.5. balance
80.2.6. server
80.3. Example 配置实例
80.3.1. HTTP 配置实例
80.3.2. Squid
80.3.3. haproxy + mysql 配置实例
80.3.4. HTTPS SSL证书卸载配置实例
80.3.5. 使用TCP模式实现SSL穿透
80.3.6. SMTP
81. balance - Load balancing solution and generic tcp proxy
81.1. balance
81.1.1. 编译安装
81.1.2. Ubuntu 安装
81.1.3. 测试安装是否正确
81.1.4. 用法
81.2. BalanceNG
81.3. RBridge
82. Perlbal
82.1. install
83. Pacemaker
84. Example
84.1. 双负载均衡的用法
84.2. 单台负载均衡的用法
84.3. 广域网负载均衡的用法
85. FAQ
85.1. Haproxy 与 Nginx
IX. Distributed Computing
86. Open Source Distributed Computing
86.1. Boinc (berkeley 分布式计算平台)
86.1.1. rc.local
86.2. ubuntu apt-get 安装
86.3. CentOS 安装
86.4. boinccmd
86.4.1. attach_project
86.4.2. nomorework | allowmorework 禁止下载任务 / 允许下载任务
87. High performance Computing
87.1. Distributed Computing
87.1.1. OpenMosix
87.1.2. OpenSSI
87.2. Parallel Computing
87.2.1. EnFusion
87.2.2. SCore
87.2.3. Beowulf
89. Tachyon
90. Apache ZooKeeper
90.1. 安装配置
90.1.1. 单节点安装
90.1.2. 多节点安装
90.2. 管理 ZooKeeper
90.2.1. help
90.2.2. ls
90.2.3. create
90.2.4. get
90.2.5. set
90.2.6. delete
91. Message Queuing & RPC
91.1. RabbitMQ
91.1.1. 安装 RabbitMQ
91.1.2. 配置 RabbitMQ
91.1.3. rabbitmqctl - command line tool for managing a RabbitMQ broker
91.1.4. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
91.1.5. Python - Pika
91.1.6. Ruby amqp
91.2. ZeroMQ
91.2.1. python-zeromq
91.2.2. ruby zmq
91.3. nanomsg
91.4. Gearman
91.4.1. Getting Started with Gearman
91.4.2. gearman
91.4.3. Gearman PHP Extension
91.5. Apache Kafka is a distributed publish-subscribe messaging system
91.5.1. 安装 Kafka
91.5.2. 测试 Kafka
91.5.3. 配置 Kafka
91.5.4. 管理 Kafka
91.5.5. FAQ
91.6. RocketMQ
91.6.1. 安装 RocketMQ
91.7. Celery
91.8. ActiveMQ
91.9. http://kr.github.io/beanstalkd/
91.10. gRPC
X. Security
92. Authentication
92.1. /etc/login.defs
92.2. PAM 插件认证
92.2.1. pam_tally2.so
92.2.2. pam_listfile.so
92.2.3. pam_access.so
92.2.4. pam_wheel.so
92.3. Network Authentication
92.3.1. Network Information Service (NIS)
92.3.2. OpenLDAP
92.3.3. Kerberos
92.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
92.3.5. SASL (Simple Authentication and Security Layer)
92.3.6. GSSAPI (Generic Security Services Application Program Interface)
93. SELinux
93.1. getsebool - get SELinux boolean value
93.1.1. HTTP 相关配置
93.2. sestatus - SELinux status tool
93.3. setsebool - set SELinux boolean value
93.4. chcon - change file SELinux security context
93.5. rsync
93.6. 查找被SELINUX禁用服务
93.6.1. Nginx
94. Sniffer
94.1. nmap - Network exploration tool and security / port scanner
94.1.1. 安装 nmap
94.1.2. HOST DISCOVERY
94.1.3. SCAN TECHNIQUES
94.1.4. PORT SPECIFICATION AND SCAN ORDER
94.1.5. SCRIPT SCAN
94.1.6. OS DETECTION
94.1.7. OUTPUT
94.1.8. 排除指定的主机
94.1.9. 查看本地路由与接口
94.1.10. MISC
94.1.11. ncat - Concatenate and redirect sockets
94.1.12. nmap 应用案例
94.2. tcpdump - A powerful tool for network monitoring and data acquisition
94.2.1. 监控网络适配器接口
94.2.2. 监控主机
94.2.3. 监控TCP端口
94.2.4. 监控协议
94.2.5. 输出到文件
94.2.6. src / dst
94.2.7. 保存结果
94.2.8. Cisco Discovery Protocol (CDP)
94.2.9. Flags
94.2.10. 案例
94.3. cdpr - Cisco Discovery Protocol Reporter
94.4. ngrep - Network layer grep tool
94.4.1. 匹配关键字
94.4.2. 指定网络接口
94.5. Unicornscan,Zenmap,nast
94.6. netstat-nat - Show the natted connections on a linux iptable firewall
94.7. Tcpreplay
94.8. Wireshark
94.9. conntrack-tools : Manipulate netfilter connection tracking table and run High Availability
94.9.1. 帮助信息
94.9.2. 协议跟踪
95. sqlmap - automatic SQL injection and database takeover tool
95.1. Installation
95.2. 开始入住实验
95.2.1. 测试脚本
95.2.2. sqlmap.ini
95.3. Request参数
95.3.1. --method, --data
95.3.2. --cookie
95.3.3. --referer
95.3.4. --user-agent
95.3.5. --headers
95.3.6. --referer
95.3.7. auth
95.3.8. --proxy
95.3.9. --threads
95.3.10. --delay
95.3.11. --timeout
95.4. Injection
95.4.1. --dbms
95.4.2. --prefix
95.4.3. --postfix
95.4.4. --string
95.4.5. --regexp
95.4.6. --excl-str
95.4.7. --excl-reg
95.5. Techniques
95.5.1. --stacked-test
95.5.2. --time-test
95.5.3. --union-test
95.5.4. --union-tech
95.5.5. --union-use
95.6. Enumeration
95.6.1. dbs
95.6.2. --count
95.6.3. --dump/--dump-all
95.6.4. --sql-query
95.6.5. --sql-shell
95.7. Miscellaneous
95.7.1. --update
95.7.2. --save
96. Vulnerability Scanner
96.1. Nessus
96.2. OpenVAS
97. Injection & Penetration
97.1. Backtrack Linux
98. Lynis Linux 安全性扫描工具
98.1. 安装
98.1.1.
98.2. 开始审计
99. Suricata Engine
100. psad
101. fwknop
102. fwsnort
103. nftables
104. Haka
XI. Virtualization
105. Virtual Machine(虚拟机)
105.1. Kernel-based Virtual Machine(KVM)
105.1.1. kvm install usage yum
105.1.2. Ubuntu
105.1.3. CentOS 6.2
105.1.4. Scientific Linux Virtualization
105.1.5. libvirt
105.1.6. FAQ
105.2. Xen
105.2.1. install
105.2.2. Manager
105.3. OpenVZ
105.3.1. 安装OpenVZ
105.3.2. 使用OpenVZ & 建立VPS
105.3.3. 设置VPS参数
105.4. vagrant - Tool for building and distributing virtualized development environments
105.4.1. vagrant for windows
105.5. 虚拟机管理
105.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
105.5.2. OpenStack
105.5.3. CloudStack
105.5.4. OpenNode
105.5.5. OpenNEbula
XII. 项目管理工具
106. Gitlab 项目管理
106.1. GitLab 安装与配置
106.1.1. Almalinux 9.0
106.1.2. CentOS 8 Stream 安装 Gitlab
106.1.3. Docker 方式安装 Gitlab
106.1.4. Yum 安装 GitLab
106.1.5. 绑定SSL证书
106.1.6. Gitlab 管理
106.2. 初始化 Gitlab
106.2.1. 操作系统初始化
106.2.2. 创建用户
106.2.3. 初始化组
106.2.4. 初始化标签
106.2.5. 初始化分支
106.2.6. 部署环境
106.3. 项目管理
106.3.1. 组织架构
106.3.2. 项目计划
106.3.3. 工作流
106.3.4. 议题
106.3.5. 并行开发
106.3.6. 升级与发布相关
106.3.7. 代码审查
106.4. 通过GPG签名提交代码
106.4.1. 创建证书
106.4.2. 配置 Gitlab GPG
106.4.3. 配置 Git
106.4.4. FAQ
106.5. CI / CD
106.5.1. 远程服务器配置
106.5.2. 配置 CI / CD
106.5.3. Shell 执行器
106.5.4. 制作 Maven 镜像
106.5.5. tags 的使用方法
106.5.6. Docker 执行器
106.5.7. JaCoCo
106.5.8. Kubernetes executor
106.5.9. 数据库结构监控
106.6. Pipeline 流水线
106.6.1. cache
106.6.2. stages
106.6.3. variables
106.6.4. script /before_script / after_script
106.6.5. only and except
106.6.6. 构建物
106.6.7. 允许失败
106.6.8. 定义何时开始job
106.6.9. services
106.6.10. tags
106.6.11. rules 规则
106.6.12. include 包含
106.6.13. 模版
106.6.14. release
106.6.15. 应用案例
106.7. 软件包与镜像库
106.7.1. Maven 仓库
106.7.2. Python Pypi 仓库
106.7.3. Node JS
106.7.4. Docker registry
106.8. WebHook
106.9. FAQ
106.9.1. 查看日志
106.9.2. debug runner
106.9.3. gitolite 向 gitlab 迁移
106.9.4. 修改主机名
106.9.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
106.9.6. ERROR: Job failed (system failure): prepare environment: waiting for pod running: timed out waiting for pod to start. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
106.9.7. 磁盘 100% 怎样清理
107. Jenkins
107.1. 安装 Jenkins
107.1.1. OSCM 一键安装
107.1.2. Mac
107.1.3. CentOS
107.1.4. Ubuntu
107.1.5. Docker
107.1.6. Minikube
107.2. 配置 Jenkins
107.3. Jenkinsfile
107.3.1. Jenkinsfile - Declarative Pipeline
107.3.2. Jenkinsfile - Scripted Pipeline
107.3.3. 设置环境变量
107.3.4. agent
107.3.5. Steps
107.3.6. 版本控制
107.3.7. 节点与过程
107.3.8. 工作区
107.4. Jenkins Job DSL / Plugin
107.5. Jenkins Plugin
107.5.1. Blue Ocean
107.5.2. Locale Plugin (国际化插件)
107.5.3. github-plugin 插件
107.5.4. Docker
107.5.5. JaCoCo
107.5.6. SSH Pipeline Steps
107.5.7. Rancher
107.5.8. Kubernetes 插件
107.5.9. HTTP Request Plugin
107.5.10. Skip Certificate Check plugin
107.5.11. Android Sign Plugin
107.6. Jenkinsfile Pipeline Example
107.6.1. Maven 子模块范例
107.6.2. 使用指定镜像构建
107.6.3. 命令行制作 Docker 镜像
107.6.4. Yarn
107.6.5. Android
108. SonarQube
108.1. 安装
108.1.1. Kubernetes 安装 SonarQube
108.1.2. Docker
108.1.3. netkiller-devops 安装
108.1.4. SonarScanner
108.2. 配置
108.2.1. 登陆 SonarQube
108.2.2. 本地 maven 执行 SonarQube
108.2.3. 集成 Gitlab
108.2.4. SonarScanner
108.3. FAQ
108.3.1. bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
108.3.2. failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar: java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
108.3.3. [ERROR] An unknown compilation problem occurred
108.3.4. can't have 2 modules with the following key
108.3.5. Kubernetes 运行 sonar-scanner
109. Dagger
110. 持续集成工具
110.1. Code Review
110.1.1. Phabricator - an open source, software engineering platform
110.1.2. Gerrit
110.1.3. TeamCity
110.2. Nexus Repository OSS
110.2.1. 安装 Nexus
110.2.2. Nexus UI
110.2.3. maven 设置
110.2.4. Node.js
110.2.5. Ruby
112. TRAC
112.1. Ubuntu 安装
112.1.1. source code
112.1.2. easy_install
112.1.3. Apache httpd
112.2. CentOS 安装
112.2.1. trac.ini
112.2.2. standalone
112.2.3. Using Authentication
112.2.4. trac-admin
112.3. Project Environment
112.3.1. Sqlite
112.3.2. MySQL
112.3.3. Plugin
112.4. trac.ini
112.4.1. repository
112.4.2. attachment 附件配置
112.5. trac-admin
112.5.1. adduser script
112.6. Trac 项目管理
112.6.1. Administration
112.6.2. Wiki
112.6.3. Timeline
112.6.4. Roadmap
112.6.5. Ticket
112.7. FAQ
112.7.1. TracError: Cannot load Python bindings for MySQL
112.8. Apache Bloodhound
113. Redmine
113.1. CentOS 安装
113.2. Redmine 运行
113.3. 插件
113.3.1. workflow
114. 项目管理工具
114.1. 禅道
114.2. TUTOS
XIII. 软件版本控制
115. Git - Fast Version Control System
115.1. Repositories 仓库管理
115.1.1. initial setup
115.1.2. 克隆代码
115.1.3. 切换分支
115.1.4. git-add - Add file contents to the index
115.1.5. Creating and Commiting
115.1.6. Status
115.1.7. Diff
115.1.8. Push
115.1.9. Pull
115.1.10. fetch
115.1.11. Creating a Patch
115.1.12. reset
115.2. 分支管理
115.2.1. 查看本地分支
115.2.2. 创建分支
115.2.3. 删除分支
115.2.4. 切换分支
115.2.5. 重命名分支
115.2.6. git-show-branch - Show branches and their commits
115.3. 远程仓库
115.3.1. 修改 origin
115.3.2. 删除 origin
115.3.3. 仓库共享
115.4. 合并分支
115.4.1. 合并分支
115.4.2. rebase
115.4.3. 合并分支解决冲突
115.4.4. 终止合并
115.4.5. 合并单个文件
115.5. git log
115.5.1. 一行显示 --oneline
115.5.2. 查看文件历史记录
115.6. reflog
115.7. git-show - Show various types of objects
115.7.1. 查看指定版本的文件内容
115.8. Submodule 子模块
115.8.1. 添加模块
115.8.2. checkout 子模块
115.8.3. 删除子模块
115.9. Git Large File Storage
115.9.1. 安装 LFS 支持
115.9.2. LFS lock
115.10. command
115.10.1. hash-object
115.10.2. git config
115.11. git-daemon 服务器
115.11.1. git-daemon - A really simple server for git repositories
115.11.2. git-daemon-sysvinit
115.11.3. inet.conf / xinetd 方式启动
115.11.4. git-daemon-run
115.11.5. Testing
115.12. git config
115.12.1. 查看配置
115.12.2. 编辑配置
115.12.3. 替换配置项
115.12.4. 配置默认分之
115.12.5. GPG签名
115.12.6. core.sshCommand
115.12.7. fatal: The remote end hung up unexpectedly
115.12.8. 忽略 SSL 检查
115.13. git-svn - Bidirectional operation between a single Subversion branch and git
115.14. .gitignore
115.15. .gitattributes
115.15.1. SVN Keywords
115.16. gitolite - SSH-based gatekeeper for git repositories
115.16.1. gitolite-admin
115.17. Web Tools
115.17.1. viewgit
115.18. FAQ
115.18.1. 导出最后一次修改过的文件
115.18.2. 导出指定版本区间修改过的文件
115.18.3. 撤销当前修改,恢复到远程最后一次提交
115.18.4. 回撤提交
115.18.5. 撤回单个文件提交
115.18.6. 每个项目一个证书
115.18.7. fatal: Not possible to fast-forward, aborting.
115.18.8. receive.denyCurrentBranch
115.18.9. 更新所有项目以及分支
116. Subversion
116.1. Invoking the Server
116.1.1. Installing
116.1.2. standalone “daemon” process
116.1.3. classic Unix-like inetd daemon
116.1.4. hooks
116.1.5. WebDav
116.2. repository 管理
116.2.1. create repository
116.2.2. user admin
116.2.3. authz
116.2.4. dump
116.3. 使用Subversion
116.3.1. Initialized empty subversion repository for project
116.3.2. ignore
116.3.3. 关键字替换
116.3.4. lock 加锁/ unlock 解锁
116.3.5. import
116.3.6. export 指定版本
116.3.7. 修订版本关键字
116.3.8. 恢复旧版本
116.4. branch
116.4.1. create
116.4.2. remove
116.4.3. switch
116.4.4. merge
116.4.5. relocate
116.5. FAQ
116.5.1. 递归添加文件
116.5.2. 清除项目里的所有.svn目录
116.5.3. color diff
116.5.4. cvs2svn
116.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
116.5.6. 指定用户名与密码
117. cvs - Concurrent Versions System
117.1. installation
117.1.1. chroot
117.2. cvs login | logout
117.3. cvs import
117.4. cvs checkout
117.5. cvs update
117.6. cvs add
117.7. cvs status
117.8. cvs commit
117.9. cvs remove
117.10. cvs log
117.11. cvs annotate
117.12. cvs diff
117.13. rename file
117.14. revision
117.15. cvs export
117.16. cvs release
117.17. branch
117.17.1. milestone
117.17.2. patch branch
117.18. keywords
118. 常用命令
118.1. 获取IP地址
XIV. Configuration Management(配置管理)
119. Ansible - SSH-based configuration management, deployment, and task execution system
119.1. install
119.2. Getting Started
119.3. ansible - run a command somewhere else
119.3.1. host-pattern
119.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
119.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
119.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
119.3.5. -s, --sudo run operations with sudo (nopasswd)
119.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
119.3.7. 使用实例
119.4. ansible-doc - Show Ansible module documentation
119.5. ansible-playbook - run an ansible playbook
119.5.1. 包含文件用法
120. Capistrano
121. Puppet
121.1. Installing Puppet CentOS 6.3
121.2. Puppet 签名
121.2.1. Agent 节点
121.2.2. Master 服务器
121.3. test
121.3.1. Master
121.3.2. Agent
121.4. 配置文件
121.4.1. /etc/sysconfig/puppet
121.4.2. /etc/puppet/fileserver.conf
121.5. manifests
121.5.1. node
121.5.2. group, user 用户组管理
121.5.3. file
121.5.4. package
121.5.5. service
121.5.6. exec
121.5.7. cron
121.6. modules
121.7. firewall 配置
121.8. debug
121.8.1. master
121.8.2. node
121.9. FAQ
121.9.1. err: Could not request certificate: No route to host - connect(2)
121.9.2. No help available unless you have RDoc::usage installed
122. SaltStack
122.1. 安装 Salt Stack
122.1.1. 服务端安装
122.1.2. 客户端安装
122.1.3. 防火墙配置
122.1.4. key 管理
122.1.5. 测试
122.1.6. Demo
122.2. salt-key - Salt key is used to manage Salt authentication keys
122.3. salt 命令
122.3.1. cmd
122.3.2. pkg.install
122.3.3. network.interfaces
122.3.4. salt example
122.4. /etc/salt/master
122.4.1. File Server settings
122.4.2. Pillar settings
122.4.3. Node Groups
122.4.4. File Server Backend
122.5. sls 脚本
122.5.1. pkg
122.5.2. service
122.6. FAQ
122.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
123. Chef
123.1. 安装 Chef
123.1.1. CentOS
124. Cobbler
125. Cfengine
126. func
127. (R)?ex Deployment & Configuration Management
128. 基于Web的系统管理软件
128.1. Webmin
128.1.1. webalizer
128.2. ajenti
XV. 图形工具(Graphics)
129. Gnuplot
129.1. 安装 Gnuplot
129.1.1. CentOS 环境
129.1.2. Ubuntu 环境
129.1.3. 测试 Gnuplot 是否可用
129.2. terminal
129.3. output
129.4. title/xlabel/ylabel
129.5. xrange/yrange
129.5.1. 时间轴范围
129.5.2. 日期轴范围
129.6. xdata
129.6.1. Date/Time
129.7. plot
129.7.1. using
129.8. PHPlot
129.9. FAQ
129.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
129.9.2. 变量传递
130. Graphviz - Graph Visualization Software
130.1. Installation
130.1.1. Apt-get
130.1.2. Yum
130.2. The DOT Language
130.2.1. dot
130.2.2. twopi
130.2.3. gprof
130.3. Node, Edge and Graph Attributes
130.3.1. Color Names
130.3.2. Node Shapes
130.3.3. 箭头
130.4. Example
130.4.1. E-R
130.4.2. Network
130.4.3. workflow
131. RRDTool
131.1. install
131.2. rrdtool demo example
131.3. title
131.4. start / end
131.5. height / width
131.6. upper-limit / lower-limit
131.7. vertical-label
131.8. Data Source
131.9. Round Robin Archives
131.10. AREA, LINE and STACK
131.10.1. LINE
131.10.2. AREA
131.10.3. STACK
131.10.4. GPRINT
131.11. Example
131.11.1. Memory
131.11.2. example 1
131.11.3. example 1
132. OpenBR
133. OCR - Optical Character Recognition
133.1. Tesseract
133.2. cuneiform - multi-language OCR system
134. Open-Source tool in Java to draw UML Diagram
135. Asymptote: The Vector Graphics Language
135.1. UML
136. MetaPost
137. OpenStreetMap
137.1. OpenLayers
137.2. Leaflet
138. Baidu Map
138.1. BMap.Circle
XVI. 多媒体信息处理(Multimedia)
139. Audio
139.1. ardour
139.2. LMMS
139.3. Qsynth
139.4. Rosegarden
139.5. TerminatorX
139.6. Pulseaudio
139.7. Synthesizer
139.7.1. ZynAddSubFX
139.8. Drums
139.8.1. Hydrogen
140. Video
140.1. OpenShot
140.2. cinelerra-cv
140.3. FFmpeg
140.3.1. 安装
140.3.2. 视频格式转换
140.3.3. 提取视频中的音频
140.3.4. 添加字幕
141. 图像处理(Graphics)
141.1. GraphicsMagick
141.1.1. 安装
141.1.2. 识别图像信息
141.1.3. mogrify
141.1.4. convert
141.1.5. montage
141.1.6. 截屏
141.1.7. 显示图像
141.2. ImageMagick
141.2.1. install
141.2.2. convert
141.2.3. 查看支持字体列表
141.3. Photivo
141.4. How to add metadata to digital pictures from the command line
142. Music score
142.1. LilyPond
142.1.1. Example
142.2. MuseScore
143. Stream
143.1. broadcast streaming
143.1.1. gnump3d - A streaming server for MP3 and OGG files
143.1.2. icecast2 - Ogg Vorbis and MP3 streaming media server
143.1.3. shoutcast
143.1.4. PeerCast
143.2. WebRTC
145. 常用命令
145.1. 获取IP地址
XVII. Voice over IP
146. Gnu Gatekeeper
146.1. Gnu Gatekeeper Install
146.2. Gnu Gatekeeper Configure
146.3. Gnu Gatekeeper Test
146.3.1. Part I - Microsoft Windows NetMeeting
146.3.2. Part II - ohphone
147. OpenSIPS
147.1. 安装 OpenSIPS
147.1.1. centos 6.5 默认安装
147.1.2. 使用 yum.opensips.org 源安装
147.1.3. 编译安装
147.2. 数据库部署
147.2.1. DBTEXT
147.2.2. MySQL
147.2.3. PGSQL
147.2.4. Berkeley DB
147.3. 测试 opensips
148. PBX
148.1. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
148.2. FreeSWITCH
148.3. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
149. VOCAL (includes a SIP to H.323 translator)
150. SIP/H.323 客户端
150.1. linphone
150.2. Yate Client
XVIII. 数字证书,编码与解码
151. UUID (Universally Unique Identifier)
151.1. GUID
151.2. Subversion
151.3. PHP UUID
151.4. JAVA UUID
151.5. PERL UUID
151.6. Python UUID
151.7. MySQL uuid()
151.8. linux command uuid
152. Encode & Decode
152.1. MIME (BASE64) 专题
152.1.1. Linux Command base64
152.1.2. PHP Base64
152.1.3. Python Base64
152.1.4. perl base64
152.1.5. Java Base64
152.1.6. C/C++ Base64
152.2. Uuencode
152.2.1. PHP uuencode
152.3. Quoted-Printable
152.3.1. C Quoted-Printable
152.3.2. Java Quoted-Printable
152.3.3. Python Quoted-Printable
152.4. Base58
152.4.1. php
152.4.2. Java Base58
153. Message Digest (数字摘要)
153.1. MD5专题
153.1.1. md5sum
153.1.2. PHP md5()
153.1.3. MySQL md5()
153.1.4. Java MD5
153.1.5. perl md5
153.2. SHA 专题
153.2.1. sha1sum
153.2.2. PHP sha1()
153.2.3. Java SHA
153.2.4. Perl
153.3. CRC32
153.3.1. PHP CRC32
153.3.2. Java CRC32
153.4. 第三方工具
153.4.1. htpasswd
153.4.2. htdigest
153.4.3. md5sum
153.4.4. sha1sum
154. DES crypt() 专题
154.1. C crypt()
154.2. PHP crypt()
154.3. perl crypt
154.4. mysql crypt
154.5. Java crypt
154.5.1. Java 8 DES
154.6. grub-md5-crypt - Encrypt a password in MD5 format.
155. AES
155.1. Java
155.1.1. AES/ECB/PKCS5Padding
155.1.2. AES/CBC/PKCS5PADDING
155.2. PHP
155.2.1. AES/ECB/PKCS5Padding
156. GnuPG
156.1. 安装 GnuPG
156.1.1. CentOS 8 Stream
156.1.2. Ubuntu
156.1.3. macOS
156.2. 创建密钥
156.2.1. 创建密钥并指定过期时间
156.2.2. 快速创建密钥对
156.3. 查看密钥
156.4. 吊销密钥
156.5. 删除密钥
156.6. 密钥倒入/导出
156.6.1. 导出密钥
156.6.2. 导入密钥
156.6.3. 导入所有密钥
156.6.4. 密钥迁移
156.7. 签名
156.8. 加密/解密文件
156.8.1. 加密文件
156.8.2. 解密
156.8.3. 指定用户ID
156.8.4. 签名+加密
156.9. 修改密钥
156.9.1. 显示帮助信息
156.9.2. 签名
156.9.3. 公钥信任配置
156.10. 加密备份 MySQL
156.10.1. 创建密钥对
156.10.2. 数据库备份
156.10.3. 数据库还原
156.11. FAQ
156.11.1. 指定 passphrase
156.11.2. 旧版本 1.4.11
156.12. GnuPG For Windows
156.12.1. 生成密钥对
156.12.2. 列出密钥
156.12.3. 验证签字
156.12.4. EMail-Security
156.13. Smart Card
156.14. PGP
156.15. OpenPGP
157. OpenSSL
157.1. openssl 命令参数
157.1.1. version
157.1.2. 测试加密算法的速度
157.1.3. req
157.1.4. x509
157.1.5. ca
157.1.6. crl
157.1.7. pkcs12
157.1.8. passwd
157.1.9. digest
157.1.10. enc
157.1.11. rsa
157.1.12. dsa
157.1.13. rc4
157.1.14. -config 指定配置文件
157.1.15. -subj 指定参数
157.1.16. rand
157.1.17. 去除私钥的密码
157.1.18. ciphers
157.2. web 服务器 ssl 证书
157.2.1. Nginx
157.3. s_server / s_client
157.3.1. SSL POP3 / SMTP / IMAP
157.3.2. server / client 文件传输
157.3.3. 检查证书是否支持指定的 cipher
157.3.4. HTTP SSL 证书
157.4. smime
157.5. Outlook smime x509 证书
157.5.1. 快速创建自签名证书
157.5.2. 企业或集团方案
157.6. 证书转换
157.6.1. CA证书
157.6.2. 创建CA证书有效期为一年
157.6.3. x509转换为pfx
157.6.4. PEM格式的ca.key转换为Microsoft可以识别的pvk格式
157.6.5. PKCS#12 到 PEM 的转换
157.6.6. 从 PFX 格式文件中提取私钥格式文件 (.key)
157.6.7. 转换 pem 到到 spc
157.6.8. PEM 到 PKCS#12 的转换
157.6.9. How to Convert PFX Certificate to PEM Format for SOAP
157.6.10. DER文件(.crt .cer .der)转为PEM格式文件
157.6.11. JKS 转 X509
157.6.12. jks to pem
157.7. 其他证书工具
157.8. OpenSSL 开发库
157.8.1. DES encryption with OpenSSL
158. 数据库与加密
158.1. MySQL 加密函数
158.1.1. AES_ENCRYPT / AES_DECRYPT
158.1.2. 通过PHP mcrypt 函数加密解密MySQL数据库
159. Java - keytool
159.1. 创建证书
159.2. Private key generation
159.3. Public Key Certificate (optional)
159.4. import your signed certificate
159.5. Import the certificate and attach it to your server key pair
159.6. Key pair verification
160. .Net makecert
160.1. 访问X.509证书
161. Secure Tunnel
161.1. OpenSSH Tunnel
161.1.1. SOCKS v5 Tunnel
161.2. SSL Tunnel
161.2.1. 通过SSL访问POP、IMAP、SMTP
161.3. DeleGate
162. 硬盘分区与文件系统加密
162.1. Microsoft 文件系统加密
162.1.1. Microsoft Encrypting File System (EFS)
162.1.2. BitLocker
163. Office
163.1. Calc
163.1.1. 函数
164. OpenStego - 图像文件水印加密
165. 邮件原文
165.1. Subject Unicode
165.2. TO/CC/BCC
165.3. 正文
165.4. POP Sniffer
165.5. PHP mail()
166. Smart card(智能卡)
166.1. OpenSC - tools and libraries for smart cards
166.1.1. 安装 OpenSC
166.2. openct-tool - OpenCT smart card utility
166.3. ccid - Generic USB CCID smart card reader driver
166.4. usbutils: Linux USB utilities
166.5. USB Token
166.5.1. Open[F]irst
166.5.2. [S]oPin 验证管理员
166.5.3. LED 灯控制
166.5.4. [L]ist
166.5.5. File[M]enu 文件菜单
166.5.6. Set[u]pMenu 设置菜单
166.5.7. Linux ePass
167. Credentials Organization
167.1. VeriSign
167.1.1. iTrusChina
167.1.2. Thawte
167.1.3. Geotrust
167.2. UserTrust
167.3. 境内其他CA机构
167.3.1. WoSign®、I'm Verified®、WoTrust®、沃通®
167.4. SSL FOR FREE
167.5. Let’s Encrypt
XIX. X Window
168. install x window
168.1. xinput - utility to configure and test X input devices
169. X Setup
169.1. 取消开机启动画面
169.2. Automatic login
169.3. disable x window
170. Fonts 字体
170.1. fc-list 字体查看命令
170.1.1. 查看所有字体
170.1.2. 查看中文字体
170.2. 查看字体详情
170.3. 安装字体
170.4. fonts 字体
171. X Terminal
171.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
171.1.1. VNC
171.1.2. xdmcp
171.2. vinagre - a remote desktop viewer for the GNOME Desktop
171.3. rdesktop - A Remote Desktop Protocol client
171.3.1. -g: desktop geometry (WxH)
171.3.2. -f: full-screen mode
171.3.3. -A: enable SeamlessRDP mode
171.3.4. -z: enable rdp compression
171.3.5. -r: enable specified device redirection (this flag can be repeated)
171.4. tigervnc
171.5. TightVNC
172. Unity
172.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
173. X Window System
173.1. Fluxbox
173.2. LXDE
173.3. Xfce
173.4. Xming X Server for Windows
174. X Application Software
174.1. ubuntu-restricted-extras
174.2. Keyboard Input Methods(输入法)
174.3. 浏览器
174.3.1. Firefox
174.3.2. Chromium Web Browser
174.4. Download Software
174.5. PAC Manager
174.6. LibreOffice
174.7. VYM (View Your Mind)
174.8. greenshot
174.9. Window Switch
174.10. gparted
175. Office
175.1. Calc
175.1.1. 函数
176. IBM WebSphere
176.1. WebSphere Commerce Engerprise 7.0
176.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
176.2.1. WAS
176.2.2. Plugins
176.2.3. IHS
176.2.4. backup
176.3. UpdateInstaller (CommerceServer70)
176.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
176.5. creating a WebSphere Commerce instance
176.6. enableFeature
176.6.1. foundation
176.6.2. management-center
176.6.3. store-enhancements
176.6.4. checkEnablementStatus
176.6.5. check version
176.7. Start IBMIHS and AppServer
176.7.1. IBMIHS
176.7.2. AppServer
176.7.3. Starting and stopping the WebSphere Commerce Information Center
176.7.4. 管理入口
176.8. Initialization store
XX. SBC - Single-board computers
177. Raspberry Pi
177.1. 配置工具
177.1.1. rpi-update
177.2. WiFi 配置
177.2.1. 网络状态
177.2.2. WIFI 配置
177.2.3. WiFi 热点配置
177.3. Android 9 Pie
178. FAQ
178.1. 通过SSH与控制台不能登录
1. 附录
1.1. 贡献用户列表
1.2. 参考文档
1.3. Red Hat 漏洞
1.4. National Vulnerability Database (NVD)
1.5. Common Vulnerabilities and Exposures
1.6. Red Hat Bug平台
1.7. Redhat Doc
1.8. System reduce
2. 历史记录

表格清单

1.1. 服务器怎样分区才合理
1.2. Linux desktop partition
19.1. 文件目录表达式
19.2. 字符串表达式
19.3. 组合表达式
30.1. net.ipv4.ip_forward
66.1. Volume Group Management
8. 表格标题

范例清单

8.1. 增加交换分区
8.2. GPT Example
8.3. 创建扩展分区
11.1. netplan dhcp 例子
11.2. bonding example
11.3. 命令行建立WiFi链接步骤
12.1. /usr/lib/systemd/system/tomcat.service
19.1. A "Power User" Prompt
19.2. A Prompt the Width of Your Term
19.3. The Elegant Useless Clock Prompt
19.4. Basic conditional example if .. then
19.5. Conditionals with variables
19.6. case
19.7. Functions with parameters sample
19.8. Using select to make simple menus
19.9. Using the command line
19.10. Reading user input with read
19.11. read
19.12. random password
21.1. backup(find + tar)
23.1. example for expect
23.2. example for expect
23.3. example 1
23.4. *.exp
23.5. parallel - build and execute shell command lines from standard input in parallel
24.1. whiptail - yesno
24.2. whiptail - inputbox
24.3. whiptail - passwordbox
24.4. whiptail - passwordbox
24.5. whiptail - example 1
24.6. whiptail - radiolist
30.1. /etc/sysconfig/iptables
30.2. connlimit 实例
30.3. CentOS 5.6
33.1. openvpn.conf
33.2. server.conf
33.3. Openvpn 桥接模式服务器配置实例
33.4. 双网卡配置实例
33.5. client.conf
33.6. server.ovpn
33.7. client.ovpn
33.8. office.conf
33.9. home.ovpn
35.1. Nginx SSL 双向认证,证书生成过程
35.2. Expires Examples
35.3. nginx expires
35.4. Example: valid_referers
35.5. Nginx + Tomcat
38.1. /etc/profile.d/java.sh
38.2. /etc/init.d/tomcat
38.3. Example /srv/apache-tomcat/conf
38.4. tomcat firewall
38.5. /etc/rc.d/init.d/www
39.1. index.php
39.2. autolamp.sh
39.3. R=301
39.4. mod_perl.conf
40.1. /etc/init.d/lighttpd
40.2. lighttpd compress
40.3. lighttpd expire
40.4. fastcgi.conf
40.5. Cache
41.1. explicit host in resin.conf
41.2. regexp host in resin.conf
41.3. host-alias in the resin.conf
41.4. host-alias in a /var/www/hosts/foo/host.xml
41.5. host-alias-regexp in the resin.conf
41.6. shared database in host
41.7. rewrite-dispatch
44.1. default.vcl
54.1. SMTP 服务器配置实例
55.1. Subject Unicode
62.1. examples
62.2. backup to a central backup server with 7 day incremental
62.3. backup to a spare disk
62.4. mirroring vger CVS tree
62.5. automated backup at home
62.6. Fancy footwork with remote file lists
62.7. /etc/csync2.cfg
64.1. nginx-gridfs
64.2. Mirror
64.3. Strip
70.1. zabbix-agent 配置实例
71.1. config.php
71.2. spring boot logback
71.3. Elasticsearch 索引切割示例
73.1. cacti config.php
73.2.
75.1. mrtg
78.1. keepalived.conf
78.2. /etc/keepalived/keepalived.conf
79.1. piranha master
79.2. piranha slave
80.1. haproxy + mysql 配置实例
80.2. Haproxy MySQL (Master + Master)
91.1. Ruby on RabbitMQ
91.2. server.py
91.3. client.py
92.1. /etc/pam.d/sshd - pam_tally2.so
92.2. /etc/pam.d/sshd - pam_listfile.so
105.1. virsh
106.1. Docker 部署 GitLab 查看登陆密码
106.2. Docker 部署 gitlab-runner 注册演示
106.3. Example - Release Notes
107.1. Shell Docker 示例
108.1. SonarQube pom.xml 配置
116.1. authz
121.1. puppetd
121.2. puppetca
122.1. salt command
157.1. dsaparam & gendsa
157.2. 加密传输文件
157.3. 快速创建自签名证书
157.4. 创建CA根证书
157.5. 创建自签名的证书
157.6. DES encryption example in C
161.1. stunnel.conf
165.1. Subject Unicode