Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

Netkiller Linux 手札

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

Mr. Neo Chan, 陈景峯(BG7NYT)



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


电子书最近一次更新于 2025-12-05 22:20:27

版权声明

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

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.3-x86_64-minimal.iso 镜像初始化
1.1.3. .Net 环境
1.2. AlmaLinux
1.2.1. 制作 U 盘启动盘
1.2.2. AlmaLinux 镜像安装初始化
1.2.3. Minimal 版本安装 XWindows
1.3. Debian / Ubuntu
1.3.1. Debian 12
1.3.2. 历史记录优化
1.3.3. 关闭 SELinux
1.3.4. sysctl / ulimit
1.3.5. 时间同步
1.3.6. 启动 rc.local
1.3.7. 禁用防火墙
1.3.8. 更换包镜像
1.3.9. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
1.4. CentOS 8 Stream
1.4.1. U 盘安装 CentOS Stream
1.4.2. macOS 制作 U 盘启动盘速度慢
1.4.3. 首次安装后初始化系统
1.4.4. 启用 rc.local
1.4.5. 卸载防火墙
1.5. Alpine Linux
1.6. 其他 Linux 发行版本
1.6.1. Linux 下载排名
1.6.2. Redhat 衍生版本
1.6.3. FreeBSD 包风格的Linux 发行版
1.6.4. Linux 专用领域发行版
1.6.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. 搜索软件包
5.1.2. 显示软件包的详细信息
5.1.3. policy
5.1.4. 软件包的依赖关系
5.1.5. 查看所属镜像
5.1.6. Installation
5.1.7. 重新安装
5.1.8. 列出已安装软件包
5.1.9. Update
5.1.10. Remove
5.1.11. purge
5.1.12. aptitude
5.1.13. Automatic Updates
5.1.14. 更换 api 源镜像
5.1.15. dpkg
5.1.16. Upgrading
5.1.17. 制作.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. 软件库管理
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. SDKMAN
5.7. 清理安装包
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. EXT4
10.5.1. install
10.5.2. format
10.5.3. label
10.5.4. mount/umount
10.5.5. LVM 卷
10.6. ReiserFS
10.7. LVM
10.8. Btrfs
10.8.1. btrfs 格式化
10.8.2. 子卷 subvolumes
10.8.3. 快照 snapshot
10.8.4. 挂载 btrfs
10.8.5. btrfsctl
10.8.6. btrfs-vol
10.8.7. btrfs-convert
10.8.8. btrfsck
10.8.9. 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. IPv6
11.11.1. 禁用 IPv6
11.11.2. Ipv6 无法连接
11.12. 早期版本
11.12.1. 早期 Ubuntu
11.12.2. CentOS 6
12. 服务管理
12.1. systemd, init - systemd system and service manager
12.1.1. 什么是 systemd
12.1.2. why-为什么做
12.1.3. systemd 是何时被采用的
12.1.4. 那些系统使用 systemd
12.1.5. system 是谁开发的
12.1.6. 怎样编写systemd脚本
12.1.7. 电源管理
12.1.8. rc.local
12.1.9. 编辑 service 文件
12.1.10. 查看 service 文件
12.1.11. 查看配置项
12.1.12. is-enabled 查看当前服务的启用状态
12.1.13. 重载 systemd
12.1.14. 列出启动失败的服务
12.1.15. list-units
12.1.16. 定时器单元
12.1.17. 环境变量
12.2. Debian/Ubuntu
12.2.1. update-rc.d - install and remove System-V style init script links
12.2.2. invoke-rc.d - executes System-V style init script actions
12.2.3. runlevel
12.2.4. sysv-rc-conf
12.2.5. xinetd - replacement for inetd with many enhancements
12.2.6. Scheduled Tasks
12.2.7. sv - control and manage services monitored by runsv
12.3. CentOS 6
12.3.1. service
12.3.2. xinetd.d
12.3.3. rpcinfo
12.3.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 jax
13.2.5. 僵尸进程
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. 修改 shell
14.1.5. 修改自己的登陆shell
14.1.6. 账号加锁与解锁
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. lastlog - reports the most recent login of all users or of a given user
16.2. last, lastb - show a listing of last logged in users
16.3. rsyslog
16.3.1. rsyslog.conf
16.4. logrotate - rotates, compresses, and mails system logs
16.4.1. /etc/logrotate.conf
16.4.2. /etc/logrotate.d/
16.5. syslog-ng
16.6. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
16.6.1. /etc/sysconfig/syslog
16.6.2. /etc/syslog.conf
16.6.3. logger
16.6.4. To Log Messages Over UDP Network
16.7. 挂载日志卷
16.7.1. 子卷挂载
16.7.2. 使用过个子卷
16.7.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. Shell
19.1. 快捷键
19.1.1. 命令行编辑命令
19.1.2. 重新执行命令快捷键
19.1.3. 终端控制快捷键
19.1.4. Bang (!) 命令
19.2. chsh - change login shell
19.3. 执行程序返回值
20. Bash Shell
20.1. bash - GNU Bourne-Again SHell
20.1.1. -n 检查脚本是否有语法错误
20.1.2. -x 显示详细运行过程
20.2. 切换身份
20.3. I/O 重定向
20.3.1. stdout
20.3.2. error 重定向
20.3.3. 使用块记录日志
20.3.4. tee - read from standard input and write to standard output and files
20.3.5. 创建文件
20.3.6. 快速清空一个文件的内容
20.4. pipes (FIFOs)
20.5. mktemp - create a temporary file or directory 临时目录与文件
20.6. History 命令历史记录
20.6.1. .bash_history
20.6.2. 清理历史记录
20.6.3. .mysql_history
20.7. hash - hash database access method
20.8. prompt
20.9. 变量 variable
20.9.1. 系统变量
20.9.2. 表达式
20.9.3. Internal Environment Variables
20.9.4. set 设置变量
20.9.5. unset 变量销毁
20.9.6. 设置变量默认值
20.9.7. export 设置全局变量
20.9.8. declare
20.9.9. Numerical 数值运算
20.9.10. Strings 字符串操作
20.9.11. Array 数组
20.9.12. read 赋值多个变量
20.9.13. eval
20.9.14. typeset
20.9.15. envsubst - substitutes environment variables in shell format strings
20.10. conditions if and case
20.10.1. if
20.10.2. case
20.11. Loops for, while and until
20.11.1. for
20.11.2. while
20.11.3. until
20.12. Functions
20.12.1. Local variables
20.13. User interfaces
20.13.1. input
20.14. subshell
20.15. Example
20.15.1. 有趣的Shell
20.15.2. backup
20.15.3. CPU 核心数
20.15.4. Password
20.15.5. processes
20.15.6. Shell 技巧
20.15.7. to convert utf-8 from gb2312 code
20.15.8. 使用内存的百分比
20.15.9. 合并apache被cronlog分割的log文件
20.15.10. Linux 交集 差集 并集
21. 小众 Shell
21.1. fish shell
21.1.1. 安装 fish shell
21.1.2. 配置 fish
21.1.3. 环境变量
21.2. Z Shell
21.2.1. installing Z shell
21.2.2. Oh My ZSH!
21.2.3. Starting file
21.2.4. Prompting
21.2.5. Aliases
21.2.6. History
21.2.7. FAQ
21.3. Berkeley UNIX C shell (csh)
21.3.1.
21.4. KornShell
21.4.1.
22. Shell 命令
22.1. Help Commands
22.1.1. man - an interface to the on-line reference manuals
22.2. getconf - Query system configuration variables
22.3. test 命令
22.3.1. 判断目录
22.4. 目录和文件
22.4.1. dirname
22.4.2. filename
22.4.3. test - check file types and compare values
22.4.4. file — determine file type
22.4.5. stat
22.4.6. file – determine file type
22.4.7. mkdir - make directories
22.4.8. rename
22.4.9. touch
22.4.10. truncate
22.4.11. ls - list directory contents
22.4.12. cp - copy files and directories
22.4.13. rm - remove files or directories
22.4.14. df - report file system disk space usage
22.4.15. du - estimate file space usage
22.4.16. tac - concatenate and print files in reverse
22.4.17. split - split a file into pieces
22.4.18. find - search for files in a directory hierarchy
22.5. 包管理 / 压缩 / 解压
22.5.1. tar — The GNU version of the tar archiving utility
22.5.2. cpio - copy files to and from archives
22.5.3. gzip
22.5.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
22.5.5. bzip2, bunzip2 - a block-sorting file compressor
22.5.6. RAR
22.5.7. 7-Zip
22.5.8. RAR
22.5.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
22.6. 日期和时间
22.6.1. 日期格式
22.6.2. -d --date=
22.6.3. 时间戳
22.6.4. RFC 2822
22.6.5. UTC
22.6.6. 字符串转日期
22.7. 数值与运算
22.7.1. 数值运算
22.7.2. seq - print a sequence of numbers
22.7.3. bc - An arbitrary precision calculator language
22.8. 文本处理
22.8.1. iconv - Convert encoding of given files from one encoding to another
22.8.2. 字符串处理命令expr
22.8.3. cat - concatenate files and print on the standard output
22.8.4. nl - number lines of files
22.8.5. tr - translate or delete characters
22.8.6. cut - remove sections from each line of files
22.8.7. printf - format and print data
22.8.8. Free `recode' converts files between various character sets and surfaces.
22.8.9. /dev/urandom 随机字符串
22.8.10. col - filter reverse line feeds from input
22.8.11. apg - generates several random passwords
22.8.12. head/tail
22.8.13. 反转字符串或文件内容
22.8.14. TAB符号与空格处理
22.8.15. grep, egrep, fgrep, rgrep - print lines matching a pattern
22.8.16. sort - sort lines of text files
22.8.17. uniq
22.8.18. awk
22.8.19. sed
22.8.20. XML 工具
22.9. 表格操作/行列转换
22.9.1. column - columnate lists
22.9.2. paste - merge lines of files
22.9.3. join
22.10. standard input/output
22.10.1. xargs - build and execute command lines from standard input
22.11. flock - manage locks from shell scripts
22.12. 进制转换 - 16进制 - 8进制 - 二进制
22.12.1. od - dump files in octal and other formats
22.12.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
22.12.3. xxd - make a hexdump or do the reverse.
22.12.4. binutils
22.13. 文件比较
22.13.1. diff
22.13.2. sdiff
22.13.3. diff3
22.14. ed, red - text editor
22.15. vim
22.15.1. vim 初始化
22.15.2. 查找与替换
22.15.3. 删除操作
22.15.4. 插入文件
22.15.5. 批处理
22.15.6. line()
22.15.7. set fileformat
22.15.8. 空格与TAB转换
22.16. Wget - The non-interactive network downloader.
22.16.1. Logging and input file
22.16.2. 下载相关参数
22.16.3. HTTP options (HTTP 选项)
22.16.4. Recursive download
22.16.5. --no-passive-ftp disable the "passive" transfer mode.
22.16.6. 下载一组连续的文件名
22.17. CURL - transfer a URL
22.17.1. 基本用法
22.17.2. 提交表单数据
22.17.3. 上传文件
22.17.4. connect-timeout
22.17.5. max-time
22.17.6. compressed
22.17.7. 代理服务器
22.17.8. -w, --write-out <format> 输出格式定义
22.17.9. -A/--user-agent <agent string>
22.17.10. referer
22.17.11. -v
22.17.12. -o, --output FILE Write output to <file> instead of stdout
22.17.13. -L, --location
22.17.14. -H/--header <line> Custom header to pass to server (H)
22.17.15. curl-config
22.17.16. 指定网络接口或者地址
22.17.17. Cookie 处理
22.17.18. Restful 应用 JSON 数据处理
22.17.19. 访问自签名证书
22.17.20. HTTP2
22.17.21. FAQ
22.18. expect
22.18.1. 模拟登录 telnet 获取Cisco配置
22.18.2. 模拟登录 ssh
22.18.3. SCP
22.18.4. openssl 例子
22.18.5. expect-lite - quick and easy command line automation tool
22.19. Klish - Kommand Line Interface Shell (the fork of clish project)
22.19.1. 安装Klish
22.19.2. 为用户指定clish作为默认Shell
22.19.3. FAQ
22.20. Limited command Shell (lshell)
22.21. jq - Command-line JSON processor
22.21.1. --raw-output
22.22. 信息摘要
22.22.1. cksum, sum -- display file checksums and block counts
22.22.2. md5sum - compute and check MD5 message digest
22.22.3.
22.23. envsubst - substitutes environment variables in shell format strings
22.24. parallel - build and execute shell command lines from standard input in parallel
22.25. multitail
22.26. Logging
22.26.1. logger - a shell command interface to the syslog(3) system log module
22.27. Password
22.27.1. Shadow password suite configuration.
22.27.2. newusers - update and create new users in batch
22.27.3. chpasswd - update passwords in batch mode
22.27.4. sshpass - noninteractive ssh password provider
24. TUI
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
25. Utility Programs
25.1. Shell Terminal
25.1.1. screen - screen manager with VT100/ANSI terminal emulation
25.1.2. tmux — terminal multiplexer
25.1.3. byobu - wrapper script for seeding a user's byobu configuration and launching a text based window manager (either screen or tmux)
25.2. asciinema 终端录屏
III. Network Application
26. network tools
26.1. curl / w3m / lynx
26.2. DHCP
26.2.1. DHCP Server
26.2.2. dhclient
26.2.3. release matching connections
26.3. DNS/Bind
26.3.1. 安装 bind9
26.3.2. forwarders
26.3.3. Load Balancing
26.3.4. view
26.3.5. Master / Slave
26.3.6. DNS tools
26.3.7. DNS
26.3.8. NamedManager
26.4. dnsmasq
26.4.1. Install
26.4.2. /etc/dnsmasq.conf
26.4.3. dnsmasq.resolv.conf
26.4.4. dnsmasq.hosts
26.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
26.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
26.4.7. FAQ
26.5. ngrok - tunnel local ports to public URLs and inspect traffic
28. Proxy Server
28.1. Socks/Socks5
28.1.1. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
28.1.2. Socks5
28.1.3. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
28.1.4. SSH Socks5 Tunnel
28.1.5. hpsockd - HP SOCKS server
28.2. frp 反向代理
28.2.1. 安装
28.2.2. 配置 systemd
28.3. Apache Proxy
28.4. Squid - Internet Object Cache (WWW proxy cache)
28.4.1. 源码安装
28.4.2. debian/ubuntu 安装
28.4.3. 配置
28.4.4. Squid 管理
28.4.5. 禁止页面被Cache
28.4.6. Squid 实用案例
28.4.7. squid+icap+clamav
28.5. Web page proxy
28.5.1. Surrogafier
28.5.2. CGIproxy
28.5.3. PHPProxy
28.5.4. BBlocked
28.5.5. Glype
28.5.6. Zelune
28.6. rinetd — internet “redirection server”
28.6.1. rinetd install
28.6.2. rinetd.conf
28.6.3. 防御脚本
28.6.4. rinetd.log
29. Firewall
29.1. TCP/IP 相关内核配置项
29.1.1. net.ipv4.ip_forward
29.1.2. net.ipv4.icmp_echo_ignore_all
29.2. iptables - administration tools for packet filtering and NAT
29.2.1. Getting Started
29.2.2. 用户自定义规则连
29.2.3. Protocols 协议
29.2.4. Interfaces 网络适配器接口
29.2.5. 源IP地址
29.2.6. Ports 端口
29.2.7. NAT
29.2.8. Module(模块)
29.2.9. IPV6
29.2.10. iptables-xml - Convert iptables-save format to XML
29.2.11. access.log IP封锁脚本
29.2.12. Example
29.3. ulogd - The Netfilter Userspace Logging Daemon
29.4. ufw - program for managing a netfilter firewall
29.4.1. /etc/default/ufw
29.4.2. ip_forward
29.4.3. DHCP
29.4.4. Samba
29.5. CentOS 7/8 Firewalld
29.5.1. 如果你不习惯使用firewalld想用回Iptables
29.5.2. 安装 firewalld
29.5.3. firewalld 配置文件
29.5.4. firewall-cmd
29.5.5. 区域
29.5.6. 端口操作
29.5.7. 服务
29.5.8. IP 伪装
29.5.9. 端口转发
29.5.10. 富规则
29.6. Shorewall
29.6.1. Installation Instructions
29.6.2. Configuring Shorewall
29.7. Firewall GUI Tools
29.8. Endian Firewall
29.9. Smooth Firewall
29.10. Sphirewall
30. Stunnel - universal SSL tunnel
31. OpenSSH
31.1. 安装 OpenSSH
31.2. /etc/ssh/
31.2.1. IP地址限制
31.2.2. sshd_config
31.2.3. ssh_config
31.2.4. ~/.ssh/config
31.3. ssh client
31.3.1. -o option 参数详解
31.3.2. 调试模式,显示连接过程
31.4. OpenSSH Tunnel
31.4.1. SOCKS v5 Tunnel
31.4.2. 从公网穿透局域网
31.5. ssh-keygen — authentication key generation, management and conversion
31.5.1. .ssh/known_hosts
31.6. ssh-keyscan
31.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
31.8. ssh-agent
31.8.1. ssh-add
31.8.2. Lock / Unlock agent
31.8.3. Set lifetime (in seconds) when adding identities.
31.9. OpenSSH for Windows
31.9.1. Putty Client
31.10. Google Authenticator - Android Apps on Google Play
31.11. 禁止SSH密码穷举
31.12. FAQ
31.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
31.12.2. 去掉 passphrase
31.12.3. 打印调试信息
31.12.4. 远程执行 sudo 提示密码
31.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
32. VPN (Virtual Private Network)
32.1. WireGuard
32.1.1. 安装 WireGuard
32.1.2. 创建证书
32.1.3. 服务端
32.1.4. 客户端
32.1.5. 路由配置
32.1.6. wireguard-tools 命令
32.1.7. 案例:Server - Peer 互通,同时 Peer - Peer 也互通
32.1.8. MacOS wireguard
32.1.9. Ubuntu
32.2. OpenVPN (openvpn - Virtual Private Network daemon)
32.2.1. 安装 OpenVPN Server
32.2.2. Easy-RSA 3
32.2.3. Openvpn Client
32.2.4. OpenVPN GUI for Windows
32.2.5. point-to-point VPNs
32.2.6. VPN 案例
32.2.7. OpenVPN安全
32.3. pptpd
32.3.1. Server 服务端
32.3.2. Client 客户端
32.3.3. FAQ
32.4. l2tpd - dummy package for l2tpd to xl2tpd transition
32.4.1. Docker 安装 L2TP
32.4.2. Ubuntu
32.4.3. CentOS 8 Stream
32.4.4. Ipsec VPN
32.4.5. FAQ
32.5. IKEv2 VPN Server
32.5.1. OpenVPN Ikev2
32.5.2. IKEv2 VPN Server on Docker
32.5.3. strongswan - IPSec utilities for strongSwan
32.6. openswan - IPSEC utilities for Openswan
32.7. N2N VPN
32.8. Hypersocket VPN
32.9. Tailscale
33. Point to Point
33.1. download
33.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
33.1.2. mldonkey-server - Door to the 'donkey' network
33.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
34. Let's Encrypt's 免费SSL证书
34.1. 安装 certbot 工具
34.1.1. CentOS/Rocky Linux
34.1.2. Ubuntu
34.2. 生成证书,HTTP 文件认证
34.3. 手工生成证书,基于 DNS 认证
34.4. 证书更新
34.5. acme.sh
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. Nginx 变量
35.4. http 配置
35.4.1. 缓冲区相关设置
35.4.2. 超时设置
35.4.3. server_tokens 隐藏 nginx 版本号
35.4.4. zstd 压缩
35.4.5. gzip
35.4.6. ssi
35.4.7. DNS 解析
35.4.8. rewrite
35.5. server
35.5.1. listen
35.5.2. server_name 配置
35.5.3. location
35.5.4. root 通过$host智能匹配目录
35.5.5. alias
35.5.6. try_files
35.5.7. SSL 虚拟主机
35.5.8. HTTP2 配置 SSL证书
35.5.9. expires
35.5.10. access
35.5.11. autoindex
35.5.12. return
35.5.13. add_header
35.5.14. client_max_body_size 上传文件尺寸限制
35.6. upstream 负载均衡
35.6.1. weight 权重配置
35.6.2. backup 实现热备
35.7. Proxy
35.7.1. proxy_cache
35.7.2. rewrite + proxy_pass
35.7.3. request_filename + proxy_pass
35.7.4. $request_uri 与 proxy_pass 联合使用
35.7.5. try_files 与 proxy_pass 共用
35.7.6. Proxy 与 SSI
35.7.7. Host
35.7.8. expires
35.7.9. X-Forwarded-For
35.7.10. X-Sendfile
35.7.11. proxy_http_version
35.7.12. proxy_set_header
35.7.13. 隐藏头部信息
35.7.14. 忽略头
35.7.15. proxy_pass_request_headers 透传 Header
35.7.16. timeout 超时时间
35.7.17. sub_filter 文本替换
35.7.18. 站外代理
35.7.19. Proxy SSE(Server-Sent Events)
35.7.20. example
35.7.21. HTTP Auth 认证冲突
35.8. fastcgi
35.8.1. spawn-fcgi
35.8.2. php-fpm
35.9. Nginx module
35.9.1. stub_status 服务器状态采集模块
35.9.2. sub_filter 页面中查找和替换
35.9.3. auth_basic HTTP 认证模块
35.9.4. valid_referers
35.9.5. ngx_http_flv_module
35.9.6. ngx_http_mp4_module
35.9.7. limit_zone
35.9.8. image_filter
35.9.9. ngx_stream_proxy_module
35.9.10. ngx_http_mirror_module
35.9.11. limit_except
35.9.12. geoip_country_code
35.10. Example
35.10.1. Nginx + Tomcat
35.10.2. 拦截index.html
35.10.3. Session 的 Cookie 域处理
35.11. FAQ
35.11.1. 405 Not Allowed?
35.11.2. 413 Request Entity Too Large
35.11.3. 499 Client Closed Request
35.11.4. 502 Bad Gateway?
35.11.5. 504 Gateway Time-out
35.11.6. proxy_pass
35.11.7. proxy_pass SESSION 丢失问题
35.11.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
35.11.9. server_name 与 SSI 注意事项
35.11.10. location 跨 document_root 引用,引用 document_root 之外的资源
35.11.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
35.11.12. 127.0.0.1:8080 failed
35.11.13. failed (13: Permission denied) while connecting to upstream
35.11.14. upstream sent too big header while reading response header from upstream
35.11.15. 很目录 index.html 正常访问,其他文件都是 404
35.11.16. nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
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. 导入配置文件 Caddyfile.d
37.3.2. 监听地址
37.3.3. 日志
37.3.4. 反向代理
37.3.5. Let's Encrypt 免费 SSL 证书
37.3.6. 返回内容
37.3.7.
37.3.8. 绑定域名
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. varnish - a state-of-the-art, high-performance HTTP accelerator
43.1. Varnish Install
43.2. varnish utility
43.2.1. status
43.2.2. varnishadm
43.2.3. varnishtop
43.2.4. varnishhist
43.2.5. varnishsizes
43.3. log file
43.4. Varnish Configuration Language - VCL
43.4.1. unset / set
43.5. example
44. Apache Traffic Server
44.1. Install
44.2. Configure
45. Cherokee
45.1. Installing Cherokee
46. Jetty
47. Web Analysis
47.1. 综合测试
47.2. Web Logs
47.2.1. awstats
47.2.2. webalizer
48. Other Web Server
48.1. Python SimpleHTTPServer
49. web 服务器排名
49.1. HTTP状态码
50. Web Server Optimization
50.1. Chrome
50.2. ulimit
50.2.1. open files
50.3. khttpd
50.4. php.ini
50.4.1. Resource Limits
50.4.2. File Uploads
50.4.3. Session Shared
50.4.4. PATHINFO
50.5. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
50.6. Zend Optimizer
50.7. eaccelerator
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. 配置 logstash
71.2.4. Example
71.2.5. Beats
71.2.6. 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.4.3. SIP 抓包
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
105. Docker
105.1. 安装 Docker
105.1.1. Rocky Linux / AlmiLinux / CentOS 8 Stream
105.1.2. Ubuntu docker-ce
105.1.3. 测试 Docker
105.1.4. 重置 Docker
105.1.5. 早期版本
105.2. Portainer - Docker 图形管理界面
105.2.1. 安装
105.2.2. 配置 Portainer
105.2.3. 添加代理出错
105.3. 配置 Docker
105.3.1. 开启远程访问
105.3.2. 镜像配置
105.3.3. DNS
105.3.4. ulimit 资源
105.3.5. 配置SSL证书
105.4. docker 命令
105.4.1. docker - A self-sufficient runtime for containers
105.4.2. docker-compose - Define and run multi-container applications with Docker.
105.4.3. Docker Scan
105.5. 镜像管理
105.5.1. 搜索镜像
105.5.2. 获取镜像
105.5.3. 列出本地镜像
105.5.4. tag
105.5.5. 保存和载入镜像
105.5.6. 删除本地镜像
105.5.7. history 镜像历史纪录
105.5.8. format 用法
105.5.9. inspect
105.5.10. 查看镜像内容
105.6. 容器管理
105.6.1. 查看容器
105.6.2. 启动与终止容器
105.6.3. 进入容器
105.6.4. 运行容器内的命令
105.6.5. 导出和导入容器
105.6.6. 停止所有容器
105.6.7. 删除容器
105.6.8. log-driver
105.6.9. 操作系统
105.6.10. 查看容器内运行的进程
105.6.11. 更新容器资源配置
105.6.12. 查看容器的退出状态
105.6.13. 暂停与恢复容器
105.6.14. 对比容器的变化
105.6.15. 查看容器状态
105.6.16. 重启容器
105.6.17. DNS
105.7. 卷管理
105.7.1. 列出卷
105.7.2. 创建卷
105.7.3. 挂在镜像
105.7.4. 检查卷
105.7.5. 删除卷
105.7.6. 销毁所有未使用的卷
105.7.7. 在多个容器间共享卷
105.7.8. 容器绑定本地文件系统
105.7.9. 只读权限
105.8. Docker 网络管理
105.8.1. docker0 IP地址
105.8.2. 容器指定固定IP地址
105.8.3. 创建子网
105.8.4. 创建 overlay 网络
105.8.5. 网络命令空间
105.8.6. flannel 网络配置
105.9. 日志管理
105.9.1. 查看默认驱动
105.9.2. Fluentd 配置
105.9.3. Docker 配置
105.9.4. docker-compose 编排
105.9.5. 将日志输出到 /dev/stdout 和 /dev/stderr
105.10. Dockerfile
105.10.1. 基于 Dockerfile 创建镜像
105.10.2. 基于 Alpine 制作镜像
105.10.3. Dockerfile 缺失的工具
105.10.4. Dockerfile 语法
105.11. 仓库
105.11.1. Docker 官方仓库
105.11.2. 私有仓库
105.11.3. Harbor
105.12. Swarms
105.12.1. 管理 Swarms
105.12.2. Stack
105.12.3. 服务
105.12.4. swarm 卷管理
105.13. docker-compose.yml 容器编排
105.13.1. 版本号
105.13.2. 镜像
105.13.3. 容器名称
105.13.4. 启动策略
105.13.5. 容器用户
105.13.6. 挂在卷
105.13.7. 映射端口的标签
105.13.8. 添加 hosts 文件
105.13.9. 网络配置
105.13.10. links 主机别名
105.13.11. 链接外部容器
105.13.12. 服务依赖
105.13.13. working_dir
105.13.14. 设置环境变量
105.13.15. 临时文件系统
105.13.16. 编译 Dockerfile
105.13.17. resources 硬件资源分配
105.14. Docker Example
105.14.1. registry
105.14.2. Example Java - Spring boot with Docker
105.14.3. Redis
105.14.4. Nginx
105.14.5. MySQL
105.14.6. MongoDB
105.14.7. Node
105.15. Docker FAQ
105.15.1. 通过 IP 找容器
105.15.2. 常用工具
105.15.3. 检查 Docker 是否可用
105.15.4. no space left on device
105.15.5. 从现有镜像提取 Dockerfile
105.15.6. Nginx 配吹 autoindex on 出现 403 Forbidden
106. Podman
106.1. 安装 Podman
106.1.1. RockyLinux 安装 Podman
106.1.2. Almalinux 9.0
106.1.3. MacOS 安装 Podman
106.1.4. 初始化 Podman
106.1.5. 兼容 Docker
106.1.6. 安装 podman-compose
106.1.7. 配置 Podman
106.2. podman 管理
106.2.1. 虚拟机管理
106.2.2. 镜像管理
106.2.3. 运行命令
106.3. 按例
106.3.1. podman run 用法
106.3.2. mysql
106.3.3. 制作镜像
107. Kubernetes
107.1. Minikube
107.1.1. CentOS 8 安装 minikube
107.1.2. Quickstart
107.1.3. minikube 命令
107.1.4. Minikube 案例演示
107.1.5. FAQ
107.2. microk8s
107.2.1. 安装 microk8s
107.2.2. 组件管理
107.2.3. kubectl
107.2.4. Kubernetes Addons
107.3. Kubernetes 集群管理
107.3.1. 配置
107.3.2. 如何从 docker 过渡到 kubectl 命令
107.3.3. namespace 命名空间
107.3.4. label 标签
107.3.5. 服务管理
107.3.6. serviceaccount
107.3.7. Pod 管理
107.3.8. 部署管理
107.3.9. secret 密钥管理
107.3.10. ConfigMap
107.3.11. Job/CronJob
107.3.12. clusterrolebinding
107.3.13. Volume
107.3.14. Ingress
107.4. kubectl example
107.4.1. 私有 registry
107.4.2. mongodb
107.4.3. tomcat
107.5. istio
107.5.1. 启动 istio
107.5.2. 禁用 istio
107.6. Kubeapps
107.7. Helm - The package manager for Kubernetes
107.7.1. 安装 Helm
107.7.2. 快速开始
107.7.3. Helm 命令
107.7.4. ingress-nginx
107.7.5. elastic
107.7.6. Helm The package manager for Kubernetes
107.7.7. Helm Faq
107.8. 常见问题
107.8.1. 从局域网访问POD
108. Rancher - Multi-Cluster Kubernetes Management
108.1. 安装 Rancher
108.1.1. Rancher Server
108.1.2. Rancher Kubernetes Engine (RKE) 2
108.1.3. Rancher Kubernetes Engine (RKE) 1
108.1.4. Rancher CLI
108.1.5. rancher-compose
108.2. 快速入门
108.2.1. API
108.3. Rancher Compose
108.3.1. Rancher Compose 命令
108.3.2. 操作演示
108.4. Rancher CLI
108.4.1. 登陆 Rancher
108.4.2. 查看集群
108.4.3. 查看节点
108.4.4. catalog
108.4.5. 查看设置
108.4.6. rancher kubectl
108.5. K3s
108.5.1. AutoK3s
108.5.2. 安装 K3s(Docker 模式)
108.5.3. 安装 K3s(VM 模式)
108.5.4. k3d
108.5.5. TLS 证书
108.5.6. 创建 Token
108.5.7. FAQ
108.6. Rancher Demo
108.6.1. Rancher 部署 Nginx
108.6.2. local-path-provisioner
108.7. Longhorn
108.7.1. 安装 Longhorn
108.7.2. 选择磁盘类型
108.7.3. 节点选择
108.7.4. FAQ
108.8. FAQ
108.8.1. 调试 Rancher 查看日志
108.8.2. [network] Host [rancher.netkiller.cn] is not able to connect to the following ports: [rancher.netkiller.cn:2379]. Please check network policies and firewall rules
108.8.3. cgroups v2
109. netkiller 容器编排工具
109.1. 安装 netkiller-devops
109.2. 使用 python 优雅地编排 Docker 容器
109.2.1. 安装依赖库
109.2.2. 创建一个 Services
109.2.3. 创建 Composes
109.2.4. 容器管理
109.2.5. 演示例子
109.2.6. 使用 Python 编排 Dockerfile
109.2.7.
109.2.8. logstash
109.3. 使用 Python 优雅地编排 Kubernetes
109.3.1. 快速演示编排Nginx
109.3.2. 创建命名空间
109.3.3. ConfigMap/Secret 编排演示
109.3.4. Pod 挂载 ConfigMap 编排演示
109.3.5. Pod 挂载 ConfigMap 设置环境变量
109.3.6. Ingress 挂载 SSL 证书
109.3.7. StatefulSet 部署 Redis
109.3.8. StorageClass
109.3.9. 部署 MySQL 到 kubernetes
109.3.10. MongoDB
109.3.11. Nacos
109.3.12. Redis
109.3.13. Kubernetes 部署 kube-explorer 图形化界面
109.3.14. ELK
109.3.15. sonarqube
XI. Virtualization
110. Virtual Machine(虚拟机)
110.1. Kernel-based Virtual Machine(KVM)
110.1.1. kvm install usage yum
110.1.2. Ubuntu
110.1.3. CentOS 6.2
110.1.4. Scientific Linux Virtualization
110.1.5. libvirt
110.1.6. FAQ
110.2. Xen
110.2.1. install
110.2.2. Manager
110.3. OpenVZ
110.3.1. 安装OpenVZ
110.3.2. 使用OpenVZ & 建立VPS
110.3.3. 设置VPS参数
110.4. vagrant - Tool for building and distributing virtualized development environments
110.4.1. vagrant for windows
110.5. 虚拟机管理
110.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
110.5.2. OpenStack
110.5.3. CloudStack
110.5.4. OpenNode
110.5.5. OpenNEbula
XII. 项目管理工具
111. Gitlab 项目管理
111.1. GitLab 安装与配置
111.1.1. Almalinux 9.0
111.1.2. CentOS 8 Stream 安装 Gitlab
111.1.3. Docker 方式安装 Gitlab
111.1.4. Yum 安装 GitLab
111.1.5. 绑定SSL证书
111.1.6. Gitlab 管理
111.2. 初始化 Gitlab
111.2.1. 操作系统初始化
111.2.2. 创建用户
111.2.3. 初始化组
111.2.4. 初始化标签
111.2.5. 初始化分支
111.2.6. 部署环境
111.3. 项目管理
111.3.1. 组织架构
111.3.2. 项目计划
111.3.3. 工作流
111.3.4. 议题
111.3.5. 并行开发
111.3.6. 升级与发布相关
111.3.7. 代码审查
111.4. 通过GPG签名提交代码
111.4.1. 创建证书
111.4.2. 配置 Gitlab GPG
111.4.3. 配置 Git
111.4.4. FAQ
111.5. CI / CD
111.5.1. 远程服务器配置
111.5.2. 配置 CI / CD
111.5.3. Shell 执行器
111.5.4. tags 的使用方法
111.5.5. Docker 执行器
111.5.6. Kubernetes executor
111.5.7. Java 持续集成相关
111.5.8. 数据库结构监控
111.5.9. 持续部署 Nacos
111.6. Pipeline 流水线
111.6.1. cache
111.6.2. stages
111.6.3. variables
111.6.4. script /before_script / after_script
111.6.5. only and except
111.6.6. 构建物
111.6.7. 允许失败
111.6.8. 定义何时开始job
111.6.9. services
111.6.10. tags
111.6.11. rules 规则
111.6.12. include 包含
111.6.13. 模版
111.6.14. release
111.6.15. 应用案例
111.7. 软件包与镜像库
111.7.1. Maven 仓库
111.7.2. Python Pypi 仓库
111.7.3. Node JS
111.7.4. Docker registry
111.8. 服务器端 hooks
111.8.1. 创建全局 Server hooks
111.8.2. 给单个仓库配置 Server hooks
111.9. 客户端 hooks
111.9.1. 集成禅道
111.10. WebHook
111.11. FAQ
111.11.1. 查看日志
111.11.2. debug runner
111.11.3. gitolite 向 gitlab 迁移
111.11.4. 修改主机名
111.11.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
111.11.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
111.11.7. 磁盘 100% 怎样清理
112. Jenkins
112.1. 安装 Jenkins
112.1.1. OSCM 一键安装
112.1.2. Mac
112.1.3. CentOS
112.1.4. Ubuntu
112.1.5. Docker
112.1.6. Minikube
112.2. 配置 Jenkins
112.3. Jenkinsfile
112.3.1. Jenkinsfile - Declarative Pipeline
112.3.2. Jenkinsfile - Scripted Pipeline
112.3.3. 设置环境变量
112.3.4. agent
112.3.5. Steps
112.3.6. 版本控制
112.3.7. 节点与过程
112.3.8. 工作区
112.4. Jenkins Job DSL / Plugin
112.5. Jenkins Plugin
112.5.1. Blue Ocean
112.5.2. Locale Plugin (国际化插件)
112.5.3. github-plugin 插件
112.5.4. Docker
112.5.5. JaCoCo
112.5.6. SSH Pipeline Steps
112.5.7. Rancher
112.5.8. Kubernetes 插件
112.5.9. HTTP Request Plugin
112.5.10. Skip Certificate Check plugin
112.5.11. Android Sign Plugin
112.6. Jenkinsfile Pipeline Example
112.6.1. Maven 子模块范例
112.6.2. 使用指定镜像构建
112.6.3. 命令行制作 Docker 镜像
112.6.4. Yarn
112.6.5. Android
113. SonarQube
113.1. 安装
113.1.1. Kubernetes 安装 SonarQube
113.1.2. Docker
113.1.3. netkiller-devops 安装
113.1.4. SonarScanner
113.2. 配置
113.2.1. 登陆 SonarQube
113.2.2. 本地 maven 执行 SonarQube
113.2.3. 集成 Gitlab
113.2.4. SonarScanner
113.3. FAQ
113.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]
113.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
113.3.3. [ERROR] An unknown compilation problem occurred
113.3.4. can't have 2 modules with the following key
113.3.5. Kubernetes 运行 sonar-scanner
114. Dagger
115. 持续集成工具
115.1. Code Review
115.1.1. Phabricator - an open source, software engineering platform
115.1.2. Gerrit
115.1.3. TeamCity
115.2. Nexus Repository OSS
115.2.1. 安装 Nexus
115.2.2. Nexus UI
115.2.3. maven 设置
115.2.4. Node.js
115.2.5. Ruby
117. TRAC
117.1. Ubuntu 安装
117.1.1. source code
117.1.2. easy_install
117.1.3. Apache httpd
117.2. CentOS 安装
117.2.1. trac.ini
117.2.2. standalone
117.2.3. Using Authentication
117.2.4. trac-admin
117.3. Project Environment
117.3.1. Sqlite
117.3.2. MySQL
117.3.3. Plugin
117.4. trac.ini
117.4.1. repository
117.4.2. attachment 附件配置
117.5. trac-admin
117.5.1. adduser script
117.6. Trac 项目管理
117.6.1. Administration
117.6.2. Wiki
117.6.3. Timeline
117.6.4. Roadmap
117.6.5. Ticket
117.7. FAQ
117.7.1. TracError: Cannot load Python bindings for MySQL
117.8. Apache Bloodhound
118. Redmine
118.1. CentOS 安装
118.2. Redmine 运行
118.3. 插件
118.3.1. workflow
119. 项目管理工具
119.1. 禅道
119.2. TUTOS
XIII. 软件版本控制
120. Git - Fast Version Control System
120.1. 指定目录
120.2. Repositories 仓库管理
120.2.1. 仓库初始化
120.2.2. 克隆代码
120.2.3. 切换分支
120.2.4. 添加文件
120.2.5. 提交文件
120.2.6. 查看仓库状态
120.2.7. 比较文件
120.2.8. 推送
120.2.9. 拉去代码
120.2.10. 同步数据
120.2.11. Creating a Patch
120.2.12. 重置/回滚到指定版本
120.3. 分支管理
120.3.1. 查看本地分支
120.3.2. 创建分支
120.3.3. 删除分支
120.3.4. 切换分支
120.3.5. 重命名分支
120.3.6. git-show-branch - Show branches and their commits
120.4. 标签管理
120.4.1. 创建标签
120.4.2. 查看标签
120.4.3. 推送标签
120.4.4. 删除标签
120.5. git show - Show various types of objects
120.5.1. 查看指定版本的文件内容
120.6. git log 日志
120.6.1. hash-object
120.6.2. 查看文件历史记录
120.6.3. 目录历史记录
120.6.4. 一行显示 --oneline
120.6.5. 格式化
120.6.6. 过滤
120.6.7. all
120.6.8. full-history
120.6.9. reflog
120.7. git rev-parse - Pick out and massage parameters
120.7.1. 获得当前提交ID
120.7.2. --short
120.8. 合并分支
120.8.1. 合并分支
120.8.2. rebase
120.8.3. 合并分支解决冲突
120.8.4. 终止合并
120.8.5. 合并单个文件
120.8.6. Git 合并特定 commits 到另一个分支
120.9. 比较文件
120.9.1. 比较 SHA
120.9.2. 分支比较
120.10. 远程仓库
120.10.1. 查看远程地址
120.10.2. 显示远程地址
120.10.3. 添加远程仓库
120.10.4. 修改 origin
120.10.5. 删除 origin
120.10.6. 仓库共享
120.10.7. git-daemon 服务器
120.11. Submodule 子模块
120.11.1. 添加模块
120.11.2. checkout 子模块
120.11.3. 删除子模块
120.12. Git Large File Storage
120.12.1. 安装 LFS 支持
120.12.2. LFS lock
120.13. git config
120.13.1. git config
120.13.2. 查看配置
120.13.3. 编辑配置
120.13.4. 替换配置项
120.13.5. 配置默认分之
120.13.6. GPG签名
120.13.7. core.sshCommand
120.13.8. fatal: The remote end hung up unexpectedly
120.13.9. 忽略 SSL 检查
120.13.10. 配置忽略合并文件
120.13.11. .gitignore
120.13.12. .gitattributes
120.13.13. 配置模版目录
120.14. archive 代码打包
120.14.1. 查看支持的格式
120.14.2. 导出分支代码
120.14.3. 导出制定版本
120.14.4. 导出目录和文件
120.15. git-svn - Bidirectional operation between a single Subversion branch and git
120.16. Web Tools
120.16.1. viewgit
120.17. gitolite - SSH-based gatekeeper for git repositories
120.17.1. gitolite-admin
120.18. FAQ
120.18.1. 导出最后一次修改过的文件
120.18.2. 导出指定版本区间修改过的文件
120.18.3. 撤销当前修改,恢复到远程最后一次提交
120.18.4. 回撤提交
120.18.5. 撤回单个文件提交
120.18.6. 合并分支中的单个
120.18.7. 每个项目一个证书
120.18.8. fatal: Not possible to fast-forward, aborting.
120.18.9. receive.denyCurrentBranch
120.18.10. 更新所有项目以及分支
120.18.11. 找回丢失的分支
121. Subversion
121.1. Invoking the Server
121.1.1. Installing
121.1.2. standalone “daemon” process
121.1.3. classic Unix-like inetd daemon
121.1.4. hooks
121.1.5. WebDav
121.2. repository 管理
121.2.1. create repository
121.2.2. user admin
121.2.3. authz
121.2.4. dump
121.3. 使用Subversion
121.3.1. Initialized empty subversion repository for project
121.3.2. ignore
121.3.3. 关键字替换
121.3.4. lock 加锁/ unlock 解锁
121.3.5. import
121.3.6. export 指定版本
121.3.7. 修订版本关键字
121.3.8. 恢复旧版本
121.4. branch
121.4.1. create
121.4.2. remove
121.4.3. switch
121.4.4. merge
121.4.5. relocate
121.5. FAQ
121.5.1. 递归添加文件
121.5.2. 清除项目里的所有.svn目录
121.5.3. color diff
121.5.4. cvs2svn
121.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
121.5.6. 指定用户名与密码
122. cvs - Concurrent Versions System
122.1. installation
122.1.1. chroot
122.2. cvs login | logout
122.3. cvs import
122.4. cvs checkout
122.5. cvs update
122.6. cvs add
122.7. cvs status
122.8. cvs commit
122.9. cvs remove
122.10. cvs log
122.11. cvs annotate
122.12. cvs diff
122.13. rename file
122.14. revision
122.15. cvs export
122.16. cvs release
122.17. branch
122.17.1. milestone
122.17.2. patch branch
122.18. keywords
123. 常用命令
123.1. 获取IP地址
123.2. 有趣的 Shell 应用
123.2.1. Ascii 星球大战电影
123.2.2. 天气预报
123.2.3. htop - interactive process viewer
123.2.4. elinks
123.2.5. chat
XIV. Configuration Management(配置管理)
124. Ansible - SSH-based configuration management, deployment, and task execution system
124.1. install
124.2. Getting Started
124.3. ansible - run a command somewhere else
124.3.1. host-pattern
124.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
124.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
124.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
124.3.5. -s, --sudo run operations with sudo (nopasswd)
124.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
124.3.7. 使用实例
124.4. ansible-doc - Show Ansible module documentation
124.5. ansible-playbook - run an ansible playbook
124.5.1. 包含文件用法
125. Capistrano
126. Puppet
126.1. Installing Puppet CentOS 6.3
126.2. Puppet 签名
126.2.1. Agent 节点
126.2.2. Master 服务器
126.3. test
126.3.1. Master
126.3.2. Agent
126.4. 配置文件
126.4.1. /etc/sysconfig/puppet
126.4.2. /etc/puppet/fileserver.conf
126.5. manifests
126.5.1. node
126.5.2. group, user 用户组管理
126.5.3. file
126.5.4. package
126.5.5. service
126.5.6. exec
126.5.7. cron
126.6. modules
126.7. firewall 配置
126.8. debug
126.8.1. master
126.8.2. node
126.9. FAQ
126.9.1. err: Could not request certificate: No route to host - connect(2)
126.9.2. No help available unless you have RDoc::usage installed
127. SaltStack
127.1. 安装 Salt Stack
127.1.1. 服务端安装
127.1.2. 客户端安装
127.1.3. 防火墙配置
127.1.4. key 管理
127.1.5. 测试
127.1.6. Demo
127.2. salt-key - Salt key is used to manage Salt authentication keys
127.3. salt 命令
127.3.1. cmd
127.3.2. pkg.install
127.3.3. network.interfaces
127.3.4. salt example
127.4. /etc/salt/master
127.4.1. File Server settings
127.4.2. Pillar settings
127.4.3. Node Groups
127.4.4. File Server Backend
127.5. sls 脚本
127.5.1. pkg
127.5.2. service
127.6. FAQ
127.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
128. Chef
128.1. 安装 Chef
128.1.1. CentOS
129. Cobbler
130. Cfengine
131. func
132. (R)?ex Deployment & Configuration Management
133. 基于Web的系统管理软件
133.1. Webmin
133.1.1. webalizer
133.2. ajenti
XV. 图形工具(Graphics)
134. Gnuplot
134.1. 安装 Gnuplot
134.1.1. CentOS 环境
134.1.2. Ubuntu 环境
134.1.3. 测试 Gnuplot 是否可用
134.2. terminal
134.3. output
134.4. title/xlabel/ylabel
134.5. xrange/yrange
134.5.1. 时间轴范围
134.5.2. 日期轴范围
134.6. xdata
134.6.1. Date/Time
134.7. plot
134.7.1. using
134.8. PHPlot
134.9. FAQ
134.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
134.9.2. 变量传递
135. Graphviz - Graph Visualization Software
135.1. Installation
135.1.1. Apt-get
135.1.2. Yum
135.2. The DOT Language
135.2.1. dot
135.2.2. twopi
135.2.3. gprof
135.3. Node, Edge and Graph Attributes
135.3.1. Color Names
135.3.2. Node Shapes
135.3.3. 箭头
135.4. Example
135.4.1. E-R
135.4.2. Network
135.4.3. workflow
136. RRDTool
136.1. install
136.2. rrdtool demo example
136.3. title
136.4. start / end
136.5. height / width
136.6. upper-limit / lower-limit
136.7. vertical-label
136.8. Data Source
136.9. Round Robin Archives
136.10. AREA, LINE and STACK
136.10.1. LINE
136.10.2. AREA
136.10.3. STACK
136.10.4. GPRINT
136.11. Example
136.11.1. Memory
136.11.2. example 1
136.11.3. example 1
137. OpenBR
138. OCR - Optical Character Recognition
138.1. Tesseract
138.2. cuneiform - multi-language OCR system
139. Open-Source tool in Java to draw UML Diagram
140. Asymptote: The Vector Graphics Language
140.1. UML
141. MetaPost
142. OpenStreetMap
142.1. OpenLayers
142.2. Leaflet
143. Baidu Map
143.1. BMap.Circle
XVI. 多媒体信息处理(Multimedia)
144. Audio
144.1. lame
145. Video
145.1. FFmpeg
145.1.1. 安装
145.1.2. 视频格式转换
145.1.3. 提取视频中的音频
145.1.4. 添加字幕
145.1.5. 音频格式转换
145.2. WebRTC
145.2.1. Janus
145.3. OpenShot
145.4. cinelerra-cv
146. 图像处理(Graphics)
146.1. GraphicsMagick
146.1.1. 安装
146.1.2. 识别图像信息
146.1.3. mogrify
146.1.4. 图像格式转换
146.1.5. montage
146.1.6. 截屏
146.1.7. 显示图像
146.2. ImageMagick
146.2.1. install
146.2.2. convert
146.2.3. 查看支持字体列表
146.3. Photivo
146.4. F-Spot
146.5. librsvg2 - 转换 SVG 图像为 PNG
146.6. How to add metadata to digital pictures from the command line
147. Music score
147.1. Synthesizer
147.1.1. ZynAddSubFX
147.2. Drums
147.2.1. Hydrogen
147.3. LilyPond
147.3.1. Example
147.4. MuseScore
147.5. ardour
147.6. LMMS
147.7. Qsynth
147.8. Rosegarden
147.9. TerminatorX
147.10. Pulseaudio
148. Stream
148.1. broadcast streaming
148.1.1. gnump3d - A streaming server for MP3 and OGG files
148.1.2. icecast2 - Ogg Vorbis and MP3 streaming media server
148.1.3. shoutcast
148.1.4. PeerCast
148.2. WebRTC
150. 常用命令
150.1. 获取IP地址
150.2. 有趣的 Shell 应用
150.2.1. Ascii 星球大战电影
150.2.2. 天气预报
150.2.3. htop - interactive process viewer
150.2.4. elinks
150.2.5. chat
XVII. 数字证书,编码与解码
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
XVIII. 文字/语音/视频 通信
168. 即时通信
168.1. Matrix
168.1.1. Synapse
168.2. IRC - Internet Relay Chat
168.2.1. IRC Protcol
168.2.2. IRC Commands
168.2.3. ircd-irc2 - The original IRCNet IRC server daemon
168.2.4. ircd-hybrid
168.2.5. IRC Client
168.2.6. Web IRC
168.3. jabber XMPP
168.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
168.3.2. tigase
168.3.3. Openfire
168.3.4. DJabberd
168.3.5. freetalk - A console based Jabber client
168.3.6. library
168.4. News Group (innd)
168.4.1. Ubuntu
168.4.2. CentOS
168.4.3. User Authentication
168.4.4. usenet 管理
168.4.5. 通过SSL连接
168.4.6. src.rpm 安装
168.4.7. 常用新闻组
169. Voice over IP(VoIP)
169.1. FreeSWITCH
169.1.1. 注册用户并创建令牌
169.1.2. Rocky Linux / AlmiLinux 安装
169.1.3. 防火墙端口
169.1.4. 备份 freeswitch 配置文件
169.1.5. 基本配置 /etc/freeswitch/vars.xml
169.1.6. 配置 NAT
169.1.7. 测试号码
169.1.8. switch.conf.xml
169.1.9. 网关配置
169.1.10. 新增号段
169.1.11. logfile.conf.xml
169.1.12. 视频通话
169.1.13. 语音邮箱(voicemail)
169.1.14. 多租户(多领域)配置
169.1.15. 组呼叫配置
169.1.16. 代接电话
169.1.17. MySQL 模块配置
169.1.18. fs_cli
169.1.19. 中文语音包
169.1.20. TLS
169.1.21. fusionPBX
169.1.22. 开发
169.1.23. 备份和恢复
169.2. Kamailio
169.2.1. Docker 安装 Kamailio
169.2.2. RPM 包安装 kamailio
169.2.3. 配置 kamailio
169.2.4. 管理 Kamailio
169.3. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
169.3.1. Yate Server
169.3.2. 配置文件样本
169.3.3. 添加用户
169.3.4. regexroute.conf
169.3.5. 测试
169.3.6. SBC(SIP Session Border Controller) 会话边界控制器
169.3.7. 配置路由
169.3.8. 配置会议室
169.3.9. Yate Client
169.4. Gnu Gatekeeper
169.4.1. Gnu Gatekeeper Install
169.4.2. Gnu Gatekeeper Configure
169.4.3. Gnu Gatekeeper Test
169.5. OpenSIPS
169.5.1. 安装 OpenSIPS
169.5.2. 数据库部署
169.5.3. 测试 opensips
169.6. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
169.6.1. Redhat/CentOS/RockyLinux/AlmiLinux
169.6.2. 源码安装 asterisk-22
169.6.3. Ubuntu
169.6.4. RasPBX – Asterisk for Raspberry Pi
169.6.5. 配置文件
169.6.6. 拨号规则设置
169.6.7. pjsip
169.6.8. 配置例子
169.7. VOCAL (includes a SIP to H.323 translator)
169.8. RTP
169.8.1. RTPProxy
169.8.2. rtpengine
169.9. sngrep - SIP Messages flow viewer
169.9.1. Rocky Linux 安装 sngrep
169.9.2. MacOS
169.9.3. debian 安装sngrep
169.9.4. 命令行参数
169.9.5. UI 快捷鍵
169.10. 电话
169.10.1. Linksys/PAP2T-5.1.6(LS) 登录 freeSWITCH 和 asterisk 失败
169.10.2. Avaya
169.10.3. 电脑软件正常登录,手机APP正常登录,Yealink 电话无法登录
169.10.4. 软电话
169.11. FAQ
169.11.1. SIP ALG
170. WebRTC/Ortc
170.1. coturn - ICE Server
170.1.1. DNF 安装 coturn
170.1.2. TUN 配置例子
170.1.3. Javascript 连接 ICE Server 例子
170.1.4. 测试
170.1.5. FAQ
XIX. SBC - Single-board computers
171. Raspberry Pi
171.1. 配置工具
171.1.1. rpi-update
171.2. WiFi 配置
171.2.1. 网络状态
171.2.2. WIFI 配置
171.2.3. WiFi 热点配置
171.3. Android 9 Pie
XX. Home Assistant
172. Home Assistant
172.1. 安装 Home Assistant
172.1.1. Docker 安装
172.1.2. Debian
172.1.3. Ubuntu
172.1.4. 升级
172.2. 配置文件
172.3. Home Assistant Community Store
172.3.1. 正常安装
172.3.2. 遇到 Github 无法访问的情况怎么处理
172.3.3. 手工安装
172.3.4. Node-Red
172.3.5. Xiaomi Miot Auto
172.4. ha 命令
172.4.1. 检查版本
172.4.2. network
172.4.3. 修改 DNS
172.4.4. supervisor 管理
172.4.5. core
172.4.6. jobs
172.5. FAQ
172.5.1. Media change: please insert the disc labeled
173. Node-Red
173.1. function
173.1.1. 银行方案
173.2. 方案
173.3. 支付接口
174. MQTT
174.1. 免费的 MQTT 测试服务器
174.2. mosquitto: Open Source MQTT v5/v3.1.x Broker
174.2.1. 安装
174.2.2. 配置
174.2.3. Docker 方式安装
174.3. Python 开发接口
174.4. MQTT 主题通配符
174.5. Retain
174.6. QoS
175. ChatGPT 接口
175.1. ChatGPT Web 界面
175.2. ChatGPT 接口
176. GPS
176.1. GPS 模块
176.2. GPS 协议
176.3. 安装 gpsd
176.4. traccar
XXI. X Window
177. install x window
177.1. xinput - utility to configure and test X input devices
178. X Setup
178.1. 取消开机启动画面
178.2. Automatic login
178.3. disable x window
179. Fonts 字体
179.1. fc-list 字体查看命令
179.1.1. 查看所有字体
179.1.2. 查看中文字体
179.2. 查看字体详情
179.3. 安装字体
179.4. Linux 可安装的字体
179.4.1. 文泉驿系列(开源免费)
179.4.2. 文鼎
179.4.3. 思源黑体(Adobe 与 Google 联合开发,开源)
180. X Terminal
180.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
180.1.1. VNC
180.1.2. xdmcp
180.2. vinagre - a remote desktop viewer for the GNOME Desktop
180.3. rdesktop - A Remote Desktop Protocol client
180.3.1. -g: desktop geometry (WxH)
180.3.2. -f: full-screen mode
180.3.3. -A: enable SeamlessRDP mode
180.3.4. -z: enable rdp compression
180.3.5. -r: enable specified device redirection (this flag can be repeated)
180.4. tigervnc
180.5. TightVNC
181. Unity
181.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
182. X Window System
182.1. Fluxbox
182.2. LXDE
182.3. Xfce
182.4. Xming X Server for Windows
183. X Application Software
183.1. ubuntu-restricted-extras
183.2. Keyboard Input Methods(输入法)
183.3. 浏览器
183.3.1. Firefox
183.3.2. Chromium Web Browser
183.4. Download Software
183.5. PAC Manager
183.6. LibreOffice
183.7. VYM (View Your Mind)
183.8. greenshot
183.9. Window Switch
183.10. gparted
184. Office
184.1. Calc
184.1.1. 函数
185. IBM WebSphere
185.1. WebSphere Commerce Engerprise 7.0
185.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
185.2.1. WAS
185.2.2. Plugins
185.2.3. IHS
185.2.4. backup
185.3. UpdateInstaller (CommerceServer70)
185.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
185.5. creating a WebSphere Commerce instance
185.6. enableFeature
185.6.1. foundation
185.6.2. management-center
185.6.3. store-enhancements
185.6.4. checkEnablementStatus
185.6.5. check version
185.7. Start IBMIHS and AppServer
185.7.1. IBMIHS
185.7.2. AppServer
185.7.3. Starting and stopping the WebSphere Commerce Information Center
185.7.4. 管理入口
185.8. Initialization store
186. FAQ
186.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
20.1. 文件目录表达式
20.2. 字符串表达式
20.3. 组合表达式
29.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
20.1. A "Power User" Prompt
20.2. A Prompt the Width of Your Term
20.3. The Elegant Useless Clock Prompt
20.4. Basic conditional example if .. then
20.5. Conditionals with variables
20.6. case
20.7. Functions with parameters sample
20.8. Using select to make simple menus
20.9. Using the command line
20.10. Reading user input with read
20.11. read
20.12. random password
22.1. backup(find + tar)
22.2. example for expect
22.3. example for expect
22.4. example 1
22.5. *.exp
22.6. 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
29.1. /etc/sysconfig/iptables
29.2. connlimit 实例
29.3. CentOS 5.6
32.1. openvpn.conf
32.2. server.conf
32.3. Openvpn 桥接模式服务器配置实例
32.4. 双网卡配置实例
32.5. client.conf
32.6. server.ovpn
32.7. client.ovpn
32.8. office.conf
32.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
43.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
107.1. minikube 操作演示
109.1. Redis Master/Slave
110.1. virsh
111.1. Docker 部署 GitLab 查看登陆密码
111.2. Docker 部署 gitlab-runner 注册演示
111.3. Example - Release Notes
112.1. Shell Docker 示例
113.1. SonarQube pom.xml 配置
121.1. authz
126.1. puppetd
126.2. puppetca
127.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
169.1. /etc/freeswitch/vars.xml
169.2. 拨号规则,配置两个号段 100~199,1000~1999
169.3. 46xxsettings.txt