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

Netkiller Linux 手札

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

Mr. Neo Chan, 陈景峰(BG7NYT)



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


电子书最近一次更新于 2026-09-18 12:08:45

版权声明

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

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. 云计算
2. 阿里云
2.1. ECS
2.1.1. Rocky Linux 镜像
2.1.2. 阿里云 AlmaLinux 9.2 镜像初始化
2.1.3. CentOS 8.4 初始化
2.1.4. 阿里云 Ubuntu 16.04.7 LTS 镜像 cron.daily 不执行 BUG 排除过程
2.1.5. /etc/fstab 优化
2.1.6. 云盘扩容
2.1.7. dnf 安装 python3.11
2.1.8. IPv6
2.2. RDS MySQL
2.2.1. RDS MySQL => 本地 MySQL 数据库
2.2.2. 换表升级
2.2.3. 导出 CSV 文件
2.3. 日志服务
2.3.1. SLB 日志
2.3.2. Kubernetes 日志
2.3.3. Aliyun LOG Java Producer
2.4. 压力测试与瓶颈分析方案
2.4.1. 压力测试方案
2.4.2. 瓶颈分析与优化方案
2.4.3. 常用瓶颈分析和系统指标监控命令
2.4.4. 性能指标
2.5. 堡垒机
2.5.1. 数据库查询需求解决方案
2.5.2. 解决方案
2.5.3. 方案实施
2.6. 阿里云 Kubernetes
2.6.1. pod 反复异常重启怎么排查
3. 从「讯飞」到「阿里」再到「火山」谁是未来人工智能赢家?
4. Huawei Cloud Service
4.1. Flexus 云服务器
4.1.1. AlmaLinux 9 镜像初始化
4.1.2. Flexus 服务器 BUG
4.2. Flexus RDS
4.2.1. 迁移阿里云RDS至华为云RDS
4.3. Huawei Cloud EulerOS
4.3.1. DNS 配置
4.3.2. Python 环境
4.4. Ubuntu
4.4.1. Nvidia 驱动
4.4.2. Python 环境
II. System Administrator
5. 获取系统信息
5.1. 查看版本信息
5.2. System Infomation
5.2.1. Cpu Bit
5.2.2. dmesg - print or control the kernel ring buffer
5.3. Device information 设备信息
5.3.1. 硬件信息
5.3.2. 网络设备
5.3.3. USB 设备
5.3.4. 存储设备
5.3.5. 内存设备
5.3.6. PCI 设备
5.3.7. udev - Linux dynamic device management
6. /etc 配置文件
6.1. /etc/rc.local
6.2. getent 用来察看系统的数据库中的相关记录
6.2.1. 主机名
6.2.2. 用户组
6.2.3. 查看端口
6.2.4. shadow 密码
6.3. /etc/inputrc
6.4. /etc/shells
6.5. shutdown
6.6. Profile
6.6.1. shell
6.7. 环境默认值
6.7.1. 显示所有配置项
6.7.2. 切换版本
6.7.3. 使用 alternatives 管理自己的软件版本
6.7.4. 配置系统默认编辑器
7. Kernel
7.1. 编译安装内核
7.2. sysctl - configure kernel parameters at runtime
7.2.1. sysctl.d
7.2.2. vm.overcommit_memory
7.2.3. TCP 拥塞控制算法
7.2.4. bbr
7.3. /sys
7.3.1. /sys/class/net/
7.3.2. sysfsutils
7.4. /proc
7.4.1. 查看系统版本
7.4.2. /proc/进程ID
7.4.3. /proc/*/fd/ 进程所打开的文件
7.4.4. 进程内存监控
7.4.5. ulimit 状态
7.4.6. /proc/cpuinfo
7.4.7. 内存信息
7.4.8. overcommit_memory
7.5. 资源配置
7.5.1. ulimit - Modify shell resource limits.
7.5.2. prlimit - Show or change the resource limits of a process.
7.6. Kernel modules
7.6.1. modprobe - program to add and remove modules from the Linux Kernel
7.6.2. 查看内核模块信息
8. Package Management
8.1. APT 包管理
8.1.1. 搜索软件包
8.1.2. 显示软件包的详细信息
8.1.3. policy
8.1.4. 软件包的依赖关系
8.1.5. 查看所属镜像
8.1.6. Installation
8.1.7. 重新安装
8.1.8. 列出已安装软件包
8.1.9. Update
8.1.10. Remove
8.1.11. purge
8.1.12. aptitude
8.1.13. Automatic Updates
8.1.14. 更换 api 源镜像
8.1.15. dpkg
8.1.16. Upgrading
8.1.17. 制作.deb安装包
8.2. snap - Tool to interact with snaps
8.2.1. 安装 snap
8.2.2. 列出已经安装的snap包
8.2.3. 搜索要安装的snap包
8.2.4. 安装snap包
8.2.5. 更新snap包
8.2.6. 把一个包还原到以前安装的版本
8.2.7. 删除snap包
8.2.8. 查询最近做的操作日志
8.3. DNF 包管理
8.3.1. 安装 epel-release 包
8.3.2. DNF 软件库管理
8.3.3. 软件库管理
8.3.4. 列出所有 RPM 包
8.3.5. 搜索软件库中的包
8.3.6. 查看软件包详情
8.3.7. 查找某一文件的提供者
8.3.8. 删除软件包
8.4. yum - Yellowdog Updater Modified 包管理
8.4.1. Yum Resource & Yum Mirror
8.4.2. yum - Yellowdog Updater Modified
8.4.3. rpm - RPM Package Manager
8.4.4. rpmbuild - Build RPM Package(s)
8.5. Zerobrew / Homebrew
8.5.1. Zerobrew
8.5.2. Homebrew
8.6. SDKMAN
8.7. 清理安装包
9. 区域/语言/时间
9.1. 时区设置
9.2. 修改服务区吃的日期和时间
9.2.1. 日期写入BIOS
9.3. 早起 Linux 版本
9.3.1. Ubuntu
9.3.2. CentOS 区域设置
10. console / terminal 控制台与终端
10.1. serial console
10.2. console timeout
10.3. TUI (Text User Interface)
10.4. framebuffer
11. Harddisk 磁盘管理
11.1. 查看分区分区 UUID
11.2. 通过 UUID 或 标签 查询设备文件
11.3. Label
11.3.1. Ext2
11.4. swap 交换分区
11.4.1. swapon failed: Invalid argument
11.5. Show partition
11.6. Create partition
11.7. Clone partition
11.8. estimate disk / directory / file space usage
11.9. Convert from ext3 to ext4 File system
11.10. GPT
11.10.1. 设置GTP磁盘
11.10.2. 查看分区
11.10.3. 创建分区
11.10.4. 删除分区
11.10.5. 退出
11.10.6. mount
11.11. loop devices
11.11.1. losetup - set up and control loop devices
11.12. Linux磁盘分区加密
12. Removable Storage
12.1. usb flash
12.2. CD / DVD
12.2.1. Mount an ISO file
12.2.2. create iso file from CD
12.2.3. burner
12.2.4. ISO Mirror
13. File System 文件系统
13.1. /etc/fstab
13.1.1. 绑定目录
13.1.2. 禁止执行
13.1.3. 禁止更新访问时间
13.1.4. /etc/fstab 例子
13.2. Mount partition
13.2.1. Mount
13.2.2. Umount
13.2.3. bind directory
13.3. ext2
13.4. ext3
13.5. EXT4
13.5.1. install
13.5.2. format
13.5.3. label
13.5.4. mount/umount
13.5.5. LVM 卷
13.6. ReiserFS
13.7. LVM
13.8. Btrfs
13.8.1. btrfs 格式化
13.8.2. 子卷 subvolumes
13.8.3. 快照 snapshot
13.8.4. 挂载 btrfs
13.8.5. btrfsctl
13.8.6. btrfs-vol
13.8.7. btrfs-convert
13.8.8. btrfsck
13.8.9. btrfs-debug-tree
13.9. zfs
13.10. iSCSI
13.10.1. GFS
13.11. GFS - Cluster Storage
13.12. glusterfs
13.13. RAM FS
13.14. tmpfs
13.15. ftp fs
13.16. SSHFS (sshfs - filesystem client based on SSH File Transfer Protocol)
13.17. davfs2 - mount a WebDAV resource as a regular file system
13.18. redisfs
13.19. File system test
13.19.1. ext4 vs btrfs
13.19.2. xfs vs jfs vs reiserfs
13.19.3. RAID10 (146G*8) vs EMC VNX 5300 (8G Fibre Channel)
13.19.4. Dell 2950(RAID5 500G SATA * 6) vs MD1200
13.20. 磁盘占用100%删除文件后不是放的解决方法
14. Networking 网络管理
14.1. hosts
14.1.1. /etc/hostname
14.1.2. /etc/host.conf
14.1.3. /etc/hosts
14.1.4. hosts.allow / hosts.deny
14.1.5. /etc/resolv.conf
14.2. Network adapter 网络适配器
14.2.1. 接口名称
14.3. CentOS 8 Stream
14.3.1. hostnamectl - Control the system hostname
14.3.2. nmtui - Text User Interface for controlling NetworkManager
14.3.3. nmcli - command-line tool for controlling NetworkManager
14.4. Ubuntu netplan (Ubuntu 18.04 之后才用 netplan 管理网络)
14.4.1. DHCP
14.4.2. 静态IP地址
14.5. Gateway 设置默认网关
14.6. 配置 DNS
14.6.1. 常规 DNS 配置 /etc/resolv.conf
14.6.2. 安全 DNS 配置
14.7. IP forwarding(IP转发)
14.8. bonding
14.8.1. bonding
14.8.2. Ubuntu
14.9. Wireless - WiFi 配置
14.9.1. rfkill - tool for enabling and disabling wireless devices
14.9.2. iwlist - Get more detailed wireless information from a wireless interface
14.9.3. iwconfig - configure a wireless network interface
14.9.4. /proc/net/wireless
14.10. Linux IP And Router
14.10.1. IP 地址类别
14.10.2. ping
14.10.3. Finding optimal MTU
14.10.4. ss - another utility to investigate sockets
14.10.5. netmask 子网掩码
14.10.6. arp - manipulate the system ARP cache
14.10.7. iproute2
14.10.8. VLAN
14.10.9. 网桥
14.10.10. Zebra
14.11. IPv6
14.11.1. 禁用 IPv6
14.11.2. Ipv6 无法连接
14.12. 早期版本
14.12.1. 早期 Ubuntu
14.12.2. CentOS 6
15. 服务管理
15.1. systemd, init - systemd system and service manager
15.1.1. 什么是 systemd
15.1.2. why-为什么做
15.1.3. systemd 是何时被采用的
15.1.4. 那些系统使用 systemd
15.1.5. system 是谁开发的
15.1.6. 怎样编写systemd脚本
15.1.7. 电源管理
15.1.8. rc.local
15.1.9. 编辑 service 文件
15.1.10. 查看 service 文件
15.1.11. 查看配置项
15.1.12. is-enabled 查看当前服务的启用状态
15.1.13. 重载 systemd
15.1.14. 列出启动失败的服务
15.1.15. list-units
15.1.16. 定时器单元
15.1.17. 环境变量
15.2. Debian/Ubuntu
15.2.1. update-rc.d - install and remove System-V style init script links
15.2.2. invoke-rc.d - executes System-V style init script actions
15.2.3. runlevel
15.2.4. sysv-rc-conf
15.2.5. xinetd - replacement for inetd with many enhancements
15.2.6. Scheduled Tasks
15.2.7. sv - control and manage services monitored by runsv
15.3. CentOS 6
15.3.1. service
15.3.2. xinetd.d
15.3.3. rpcinfo
15.3.4. SELINUX
16. Process 进程管理
16.1. top - display Linux tasks
16.1.1. 查找内存消耗最大的进程
16.2. ps - report a snapshot of the current processes
16.2.1. 完整的显示命令参数
16.2.2. 显示进程之间的关系
16.2.3. ps axef
16.2.4. ps jax
16.2.5. 僵尸进程
16.2.6. 查找内存消耗最大的进程
16.2.7. 格式化输出
16.2.8. 线程
16.3. renice
16.4. kill - terminate a process
16.4.1. 列出信号名称
16.5. mpstat
16.6. pid
16.6.1. 查找进程 ID
16.6.2. pkill
16.6.3. pidof -- find the process ID of a running program.
16.7. jobs
16.7.1. &
16.7.2. Ctrl + Z
16.7.3. jobs
16.7.4. fg / bg
16.7.5. nohup - run a command immune to hangups, with output to a non-tty
16.7.6. wait 等待后台任务运行结束
16.8. ionice - get/set program io scheduling class and priority
16.9. Utilities for managing processes on your system
16.9.1. pstree - display a tree of processes
16.9.2. fuser - identify processes using files or sockets
16.10. pkexec - Execute a command as another user
17. 权限管理
17.1. User 用户管理
17.1.1. 添加用户
17.1.2. 删除用户
17.1.3. 修改用户组
17.1.4. 修改 shell
17.1.5. 修改自己的登陆shell
17.1.6. 账号加锁与解锁
17.2. Group
17.2.1. Add a new group
17.2.2. Add a user to the group
17.2.3. /etc/group
17.2.4. gpasswd - administer /etc/group and /etc/gshadow
17.3. 访问权限
17.3.1. umask
17.3.2. chown - change file owner and group
17.3.3. chgrp - change group ownership
17.3.4. chmod - change file access permissions
17.4. chattr - change file attributes on a Linux second extended file system
17.5. su - run a shell with substitute user and group IDs
17.6. runuser - run a command with substitute user and group ID
17.7. sudo, sudoedit - execute a command as another user
17.7.1. /etc/sudoers
17.7.2. /etc/sudoers
17.7.3. 设置示例
17.7.4. NOPASSWD
17.7.5. 允许或禁止命令
17.7.6. Cmnd_Alias 用法
17.7.7. wheel 组
17.7.8. 注意事项
17.8. ACL - Access Control List
17.8.1. getfacl - get file access control lists
17.8.2. setfacl - set file access control lists
18. crontab 定时任务
18.1. /etc/crontab
19. Logging 日志
19.1. lastlog - reports the most recent login of all users or of a given user
19.2. last, lastb - show a listing of last logged in users
19.3. rsyslog
19.3.1. rsyslog.conf
19.4. logrotate - rotates, compresses, and mails system logs
19.4.1. /etc/logrotate.conf
19.4.2. /etc/logrotate.d/
19.5. syslog-ng
19.6. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
19.6.1. /etc/sysconfig/syslog
19.6.2. /etc/syslog.conf
19.6.3. logger
19.6.4. To Log Messages Over UDP Network
19.7. 挂载日志卷
19.7.1. 子卷挂载
19.7.2. 使用过个子卷
19.7.3. /etc/fstab配置
20. kickstart
20.1. install kickstart
20.2. ks.cfg
20.3. boot 参数
21. System Utilities 配置工具
21.1. CentOS 6
21.1.1. system-config-date
21.1.2. system-config-firewall
21.1.3. system-config-securitylevel
21.1.4. system-config-language
21.1.5. system-config-keyboard
21.1.6. system-config-network
21.1.7. ntsysv
21.1.8. lokkit
21.1.9. system-config-kdump
21.1.10. system-config-services
21.1.11. authconfig-tui
III. Shell
22. Bash Shell
22.1. bash - GNU Bourne-Again SHell
22.1.1. -n 检查脚本是否有语法错误
22.1.2. -x 显示详细运行过程
22.2. 切换身份
22.3. I/O 重定向
22.3.1. stdout
22.3.2. error 重定向
22.3.3. 使用块记录日志
22.3.4. test - 条件判断命令
22.3.5. tee - read from standard input and write to standard output and files
22.3.6. 创建文件
22.3.7. 快速清空一个文件的内容
22.4. pipes (FIFOs)
22.5. mktemp - create a temporary file or directory 临时目录与文件
22.6. History 命令历史记录
22.6.1. .bash_history
22.6.2. 清理历史记录
22.6.3. .mysql_history
22.7. hash - hash database access method
22.8. prompt
22.9. 变量 variable
22.9.1. 系统变量
22.9.2. 表达式
22.9.3. Internal Environment Variables
22.9.4. set 设置变量
22.9.5. unset 变量销毁
22.9.6. 设置变量默认值
22.9.7. export 设置全局变量
22.9.8. declare
22.9.9. Numerical 数值运算
22.9.10. Strings 字符串操作
22.9.11. Array 数组
22.9.12. read 赋值多个变量
22.9.13. eval
22.9.14. typeset
22.9.15. envsubst - substitutes environment variables in shell format strings
22.10. conditions if and case
22.10.1. if
22.10.2. case
22.11. Loops for, while and until
22.11.1. for
22.11.2. while
22.11.3. until
22.12. Functions
22.12.1. Local variables
22.13. User interfaces
22.13.1. input
22.14. subshell
22.15. Help Commands
22.15.1. man - an interface to the on-line reference manuals
22.16. getconf - Query system configuration variables
22.17. 快捷键
22.17.1. 命令行编辑命令
22.17.2. 重新执行命令快捷键
22.17.3. 终端控制快捷键
22.17.4. Bang (!) 命令
22.18. chsh - change login shell
22.19. 执行程序返回值
22.20. Z Shell
22.20.1. installing Z shell
22.20.2. Oh My ZSH!
22.20.3. Starting file
22.20.4. Prompting
22.20.5. Aliases
22.20.6. History
22.20.7. FAQ
22.21. Berkeley UNIX C shell (csh)
22.21.1.
22.22. KornShell
22.22.1.
22.23. fish shell
22.23.1. 安装 fish shell
22.23.2. 配置 fish
22.23.3. 环境变量
22.24. 有趣的 Shell 应用
22.24.1. Ascii 星球大战电影
22.24.2. 天气预报
22.24.3. htop - interactive process viewer
22.24.4. elinks
22.24.5. chat
22.25. Example
22.25.1. 有趣的Shell
22.25.2. backup
22.25.3. CPU 核心数
22.25.4. Password
22.25.5. processes
22.25.6. Shell 技巧
22.25.7. to convert utf-8 from gb2312 code
22.25.8. 使用内存的百分比
22.25.9. 合并apache被cronlog分割的log文件
22.25.10. Linux 交集 差集 并集
23. 目录和文件
23.1. dirname - 提取目录部分
23.2. basename - 提取文件名部分
23.2.1. 排除扩展名
23.2.2. 取扩展名
23.3. file — determine file type
23.4. stat
23.5. file – determine file type
23.6. mkdir - make directories
23.7. rename
23.8. touch
23.9. truncate
23.10. ls - list directory contents
23.10.1. full-time / time-style 定义日期时间格式
23.11. cp - copy files and directories
23.11.1. copy directories recursively
23.11.2. 覆盖已存在的文件
23.11.3. -a, --archive same as -dR --preserve=all
23.12. rm - remove files or directories
23.12.1. -bash: /bin/rm: Argument list too long
23.12.2. zsh: sure you want to delete all the files in /tmp [yn]?
23.13. df - report file system disk space usage
23.14. du - estimate file space usage
23.15. tac - concatenate and print files in reverse
23.16. split - split a file into pieces
23.16.1. 按行分割文件
23.16.2. 按尺寸分割文件
23.17. find - search for files in a directory hierarchy
23.17.1. 多目录匹配
23.17.2. name
23.17.3. regex
23.17.4. user
23.17.5. perm
23.17.6. type
23.17.7. -delete
23.17.8. exec
23.17.9. 排除目录
23.17.10. -ctime / -cmin - 按状态改变时间查找
23.17.11. -mtime / -mmin - 按修改时间查找
23.17.12. --newer
23.17.13. -print / -printf
23.17.14. -size
23.17.15. -path
23.17.16. 目录深度控制
23.17.17. xargs
23.17.18. 查看空文件
24. 包管理 / 压缩 / 解压
24.1. tar — The GNU version of the tar archiving utility
24.1.1. tar examples
24.1.2. gunzip
24.1.3. b2zip
24.1.4. compress
24.1.5. .xz 文件
24.1.6. -t, --list
24.1.7. tar: Removing leading `/’ from member names
24.1.8. -C, --directory=DIR
24.1.9. --exclude
24.1.10. -T
24.1.11. 日期过滤
24.1.12. 保留权限
24.1.13. -r, --append
24.1.14. 远程传输
24.1.15. 分卷压缩
24.2. cpio - copy files to and from archives
24.3. gzip
24.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
24.5. bzip2, bunzip2 - a block-sorting file compressor
24.6. RAR
24.7. 7-Zip
24.7.1. 压缩
24.7.2. 浏览压缩包
24.7.3. 解压
24.7.4. Creates self extracting archive.
24.8. RAR
24.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
25. 日期和时间
25.1. 日期格式
25.1.1. weekday name
25.2. -d --date=
25.2.1. 日期偏移量
25.2.2. 时间偏移
25.3. 时间戳
25.4. RFC 2822
25.5. UTC
25.6. 字符串转日期
26. 数值与运算
26.1. 数值运算
26.2. seq - print a sequence of numbers
26.3. bc - An arbitrary precision calculator language
27. 文本处理
27.1. iconv - Convert encoding of given files from one encoding to another
27.1.1. cconv - A iconv based simplified-traditional chinese conversion tool
27.1.2. uconv - convert data from one encoding to another
27.2. 字符串处理命令expr
27.3. cat - concatenate files and print on the standard output
27.3.1. -s, --squeeze-blank suppress repeated empty output lines
27.3.2. -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
27.3.3. 与管道配合使用
27.4. nl - number lines of files
27.5. tr - translate or delete characters
27.5.1. 替换字符
27.5.2. 英文大小写转换
27.5.3. [CHAR*] 和 [CHAR*REPEAT]
27.5.4. -s, --squeeze-repeats replace each input sequence of a repeated character that is listed in SET1 with a single occurrence of that character
27.5.5. -d, --delete delete characters in SET1, do not translate
27.6. cut - remove sections from each line of files
27.6.1. 字符操作
27.6.2. 列操作
27.7. printf - format and print data
27.8. Free `recode' converts files between various character sets and surfaces.
27.9. /dev/urandom 随机字符串
27.10. col - filter reverse line feeds from input
27.11. apg - generates several random passwords
27.12. head/tail
27.12.1. 彩色输出
27.12.2. 跳过 n 行,输出后面内容
27.12.3. 尾部剪掉 n 行
27.13. 反转字符串或文件内容
27.14. TAB符号与空格处理
27.14.1. expand - convert tabs to spaces
27.14.2. unexpand - convert spaces to tabs
27.15. grep, egrep, fgrep, rgrep - print lines matching a pattern
27.15.1. 删除空行
27.15.2. -v, --invert-match
27.15.3. 输出控制(Output control)
27.15.4. Context control
27.15.5. Regexp selection and interpretation
27.15.6. fgrep
27.15.7. egrep
27.16. sort - sort lines of text files
27.16.1. 对列排序
27.16.2. -s, --stable stabilize sort by disabling last-resort comparison
27.17. uniq
27.18. awk
27.18.1. 处理列
27.18.2. printf
27.18.3. Pattern(字符匹配)
27.18.4. Built-in Variables (NR/NF)
27.18.5. Built-in Functions
27.18.6. 过滤相同的行
27.18.7. 数组演示
27.19. sed
27.19.1. 查找与替换
27.19.2. insert 插入字符
27.19.3. 追加字符
27.19.4. 修改字符
27.19.5. 删除字符
27.19.6. 行操作
27.19.7. 编辑文件
27.19.8. 正则表达式
27.19.9. 管道操作
27.19.10. 字母大小写转换
27.19.11. perl
27.19.12. 案例
27.20. ed, red - text editor
27.21. vim
27.21.1. vim 初始化
27.21.2. 查找与替换
27.21.3. 删除操作
27.21.4. 插入文件
27.21.5. 批处理
27.21.6. line()
27.21.7. set fileformat
27.21.8. 空格与TAB转换
27.22. XML 工具
27.22.1. xmllint - command line XML tool
27.22.2. xmlstarlet - command line XML/XSLT toolkit
27.23. jq - Command-line JSON processor
27.23.1. --raw-output
28. 表格操作/行列转换
28.1. column - columnate lists
28.2. paste - merge lines of files
28.3. join
29. standard input/output
29.1. standard input/output
29.1.1. xargs - build and execute command lines from standard input
29.2. flock - manage locks from shell scripts
30. 进制转换 - 16进制 - 8进制 - 二进制
30.1. od - dump files in octal and other formats
30.1.1. 16进制
30.1.2. 使用 od 随机生成密码
30.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
30.3. xxd - make a hexdump or do the reverse.
30.3.1. 指定每行的列数
30.3.2. 跳过字节
30.4. binutils
30.4.1. strings - print the strings of printable characters in files.
31. 文件比较
31.1. diff
31.2. sdiff
31.3. diff3
32. Wget - The non-interactive network downloader.
32.1. Logging and input file
32.1.1. -i, --input-file=FILE download URLs found in local or external FILE.
32.2. 下载相关参数
32.2.1. -O, --output-document=FILE write documents to FILE 保存到文件
32.3. HTTP options (HTTP 选项)
32.3.1. --post-data=STRING use the POST method; send STRING as the data.
32.3.2. header HTTP头定义
32.4. Recursive download
32.4.1. -r, --recursive specify recursive download.
32.4.2. -m, --mirror shortcut for -N -r -l inf --no-remove-listing.
32.5. --no-passive-ftp disable the "passive" transfer mode.
32.6. 下载一组连续的文件名
33. CURL - transfer a URL
33.1. 基本用法
33.2. 提交表单数据
33.3. 上传文件
33.4. connect-timeout
33.5. max-time
33.6. compressed
33.7. 代理服务器
33.8. -w, --write-out <format> 输出格式定义
33.9. -A/--user-agent <agent string>
33.10. referer
33.11. -v
33.12. -o, --output FILE Write output to <file> instead of stdout
33.13. -L, --location
33.14. -H/--header <line> Custom header to pass to server (H)
33.14.1. Last-Modified / If-Modified-Since
33.14.2. ETag / If-None-Match
33.14.3. Accept-Encoding:gzip,defalte
33.14.4. HOST
33.14.5. HTTP 认证
33.14.6. Accept
33.14.7. Content-Type
33.15. curl-config
33.16. 指定网络接口或者地址
33.17. Cookie 处理
33.18. Restful 应用 JSON 数据处理
33.18.1. Curl Oauth2
33.18.2. Curl + Oauth2 + Jwt
33.19. 访问自签名证书
33.20. HTTP2
33.21. FAQ
34. 信息摘要
34.1. cksum, sum -- display file checksums and block counts
34.2. md5sum - compute and check MD5 message digest
34.3.
35. envsubst - substitutes environment variables in shell format strings
35.1. envsubst - substitutes environment variables in shell format strings
35.2. parallel - build and execute shell command lines from standard input in parallel
35.3. multitail
35.4. Logging
35.4.1. logger - a shell command interface to the syslog(3) system log module
35.5. Password
35.5.1. Shadow password suite configuration.
35.5.2. newusers - update and create new users in batch
35.5.3. chpasswd - update passwords in batch mode
35.5.4. sshpass - noninteractive ssh password provider
36. 常用命令
36.1. 获取IP地址
36.2. 有趣的 Shell 应用
36.2.1. Ascii 星球大战电影
36.2.2. 天气预报
36.2.3. htop - interactive process viewer
36.2.4. elinks
36.2.5. chat
IV. Network Application
37. network tools
37.1. curl / w3m / lynx
37.2. DHCP
37.2.1. DHCP Server
37.2.2. dhclient
37.2.3. release matching connections
37.3. DNS/Bind
37.3.1. 安装 bind9
37.3.2. forwarders
37.3.3. Load Balancing
37.3.4. view
37.3.5. Master / Slave
37.3.6. DNS tools
37.3.7. DNS
37.3.8. NamedManager
37.4. dnsmasq
37.4.1. Install
37.4.2. /etc/dnsmasq.conf
37.4.3. dnsmasq.resolv.conf
37.4.4. dnsmasq.hosts
37.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
37.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
37.4.7. FAQ
37.5. ngrok - tunnel local ports to public URLs and inspect traffic
39. Proxy Server
39.1. Socks/Socks5
39.1.1. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
39.1.2. Socks5
39.1.3. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
39.1.4. SSH Socks5 Tunnel
39.1.5. hpsockd - HP SOCKS server
39.2. frp 反向代理
39.2.1. 安装
39.2.2. 配置 systemd
39.3. Apache Proxy
39.4. Squid - Internet Object Cache (WWW proxy cache)
39.4.1. 源码安装
39.4.2. debian/ubuntu 安装
39.4.3. 配置
39.4.4. Squid 管理
39.4.5. 禁止页面被Cache
39.4.6. Squid 实用案例
39.4.7. squid+icap+clamav
39.5. Web page proxy
39.5.1. Surrogafier
39.5.2. CGIproxy
39.5.3. PHPProxy
39.5.4. BBlocked
39.5.5. Glype
39.5.6. Zelune
39.6. rinetd — internet “redirection server”
39.6.1. rinetd install
39.6.2. rinetd.conf
39.6.3. 防御脚本
39.6.4. rinetd.log
40. Firewall
40.1. TCP/IP 相关内核配置项
40.1.1. net.ipv4.ip_forward
40.1.2. net.ipv4.icmp_echo_ignore_all
40.2. iptables - administration tools for packet filtering and NAT
40.2.1. Getting Started
40.2.2. 用户自定义规则连
40.2.3. Protocols 协议
40.2.4. Interfaces 网络适配器接口
40.2.5. 源IP地址
40.2.6. Ports 端口
40.2.7. NAT
40.2.8. Module(模块)
40.2.9. IPV6
40.2.10. iptables-xml - Convert iptables-save format to XML
40.2.11. access.log IP封锁脚本
40.2.12. Example
40.3. ulogd - The Netfilter Userspace Logging Daemon
40.4. ufw - program for managing a netfilter firewall
40.4.1. /etc/default/ufw
40.4.2. ip_forward
40.4.3. DHCP
40.4.4. Samba
40.5. CentOS 7/8 Firewalld
40.5.1. 如果你不习惯使用firewalld想用回Iptables
40.5.2. 安装 firewalld
40.5.3. firewalld 配置文件
40.5.4. firewall-cmd
40.5.5. 区域
40.5.6. 端口操作
40.5.7. 服务
40.5.8. IP 伪装
40.5.9. 端口转发
40.5.10. 富规则
40.6. Shorewall
40.6.1. Installation Instructions
40.6.2. Configuring Shorewall
40.7. Firewall GUI Tools
40.8. Endian Firewall
40.9. Smooth Firewall
40.10. Sphirewall
41. Stunnel - universal SSL tunnel
42. OpenSSH
42.1. 安装 OpenSSH
42.2. /etc/ssh/
42.2.1. IP地址限制
42.2.2. sshd_config
42.2.3. ssh_config
42.2.4. ~/.ssh/config
42.3. ssh client
42.3.1. -o option 参数详解
42.3.2. 调试模式,显示连接过程
42.3.3. 远程执行 Shell 支持彩色终端输出
42.4. OpenSSH Tunnel
42.4.1. SOCKS v5 Tunnel
42.4.2. 从公网穿透局域网
42.5. ssh-keygen — authentication key generation, management and conversion
42.5.1. .ssh/known_hosts
42.6. ssh-keyscan
42.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
42.8. ssh-agent
42.8.1. ssh-add
42.8.2. Lock / Unlock agent
42.8.3. Set lifetime (in seconds) when adding identities.
42.9. OpenSSH for Windows
42.9.1. Putty Client
42.10. Google Authenticator - Android Apps on Google Play
42.11. 禁止SSH密码穷举
42.12. FAQ
42.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
42.12.2. 去掉 passphrase
42.12.3. 打印调试信息
42.12.4. 远程执行 sudo 提示密码
42.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
43. VPN (Virtual Private Network)
43.1. WireGuard
43.1.1. 安装 WireGuard
43.1.2. 创建证书
43.1.3. 服务端
43.1.4. 客户端
43.1.5. 路由配置
43.1.6. wireguard-tools 命令
43.1.7. 案例:Server - Peer 互通,同时 Peer - Peer 也互通
43.1.8. MacOS wireguard
43.1.9. Ubuntu
43.2. OpenVPN (openvpn - Virtual Private Network daemon)
43.2.1. 安装 OpenVPN Server
43.2.2. Easy-RSA 3
43.2.3. Openvpn Client
43.2.4. OpenVPN GUI for Windows
43.2.5. point-to-point VPNs
43.2.6. VPN 案例
43.2.7. OpenVPN安全
43.3. pptpd
43.3.1. Server 服务端
43.3.2. Client 客户端
43.3.3. FAQ
43.4. l2tpd - dummy package for l2tpd to xl2tpd transition
43.4.1. Docker 安装 L2TP
43.4.2. Ubuntu
43.4.3. CentOS 8 Stream
43.4.4. Ipsec VPN
43.4.5. FAQ
43.5. IKEv2 VPN Server
43.5.1. OpenVPN Ikev2
43.5.2. IKEv2 VPN Server on Docker
43.5.3. strongswan - IPSec utilities for strongSwan
43.6. openswan - IPSEC utilities for Openswan
43.7. N2N VPN
43.8. Hypersocket VPN
43.9. Tailscale
44. Point to Point
44.1. download
44.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
44.1.2. mldonkey-server - Door to the 'donkey' network
44.1.3. amule - client for the eD2k and Kad networks, like eMule
V. Web Application
45. Let's Encrypt's 免费SSL证书
45.1. 安装 certbot 工具
45.1.1. CentOS/Rocky Linux
45.1.2. Ubuntu
45.2. 生成证书,HTTP 文件认证
45.3. 手工生成证书,基于 DNS 认证
45.4. 证书更新
45.5. acme.sh
46. Nginx
46.1. Installing
46.1.1. Netkiller OSCM 一键安装 (CentOS 7)
46.1.2. Installing by apt-get under the debain/ubuntu
46.1.3. CentOS
46.1.4. installing by source
46.1.5. CentOS 7
46.1.6. Mac
46.1.7. rotate log
46.2. Nginx 命令
46.2.1. -V show version and configure options then exit
46.2.2. -t : test configuration and exit
46.2.3. test configuration, dump it and exit
46.3. nginx.conf 配置文件
46.3.1. 处理器配置
46.3.2. events 配置
46.3.3. Nginx 变量
46.4. http 配置
46.4.1. 缓冲区相关设置
46.4.2. 超时设置
46.4.3. server_tokens 隐藏 nginx 版本号
46.4.4. zstd 压缩
46.4.5. gzip
46.4.6. ssi
46.4.7. DNS 解析
46.4.8. rewrite
46.5. server
46.5.1. listen
46.5.2. server_name 配置
46.5.3. location
46.5.4. root 通过$host智能匹配目录
46.5.5. alias
46.5.6. try_files
46.5.7. SSL 虚拟主机
46.5.8. HTTP2 配置 SSL证书
46.5.9. expires
46.5.10. access
46.5.11. autoindex
46.5.12. return
46.5.13. add_header
46.5.14. client_max_body_size 上传文件尺寸限制
46.6. upstream 负载均衡
46.6.1. weight 权重配置
46.6.2. backup 实现热备
46.7. Proxy
46.7.1. proxy_cache
46.7.2. rewrite + proxy_pass
46.7.3. request_filename + proxy_pass
46.7.4. $request_uri 与 proxy_pass 联合使用
46.7.5. try_files 与 proxy_pass 共用
46.7.6. Proxy 与 SSI
46.7.7. Host
46.7.8. expires
46.7.9. X-Forwarded-For
46.7.10. X-Sendfile
46.7.11. proxy_http_version
46.7.12. proxy_set_header
46.7.13. 隐藏头部信息
46.7.14. 忽略头
46.7.15. proxy_pass_request_headers 透传 Header
46.7.16. timeout 超时时间
46.7.17. sub_filter 文本替换
46.7.18. 站外代理
46.7.19. Proxy SSE(Server-Sent Events)
46.7.20. example
46.7.21. HTTP Auth 认证冲突
46.8. fastcgi
46.8.1. spawn-fcgi
46.8.2. php-fpm
46.9. Nginx module
46.9.1. stub_status 服务器状态采集模块
46.9.2. sub_filter 页面中查找和替换
46.9.3. auth_basic HTTP 认证模块
46.9.4. valid_referers
46.9.5. ngx_http_flv_module
46.9.6. ngx_http_mp4_module
46.9.7. limit_zone
46.9.8. image_filter
46.9.9. ngx_stream_proxy_module
46.9.10. ngx_http_mirror_module
46.9.11. limit_except
46.9.12. geoip_country_code
46.10. Example
46.10.1. Nginx + Tomcat
46.10.2. 拦截index.html
46.10.3. Session 的 Cookie 域处理
46.11. FAQ
46.11.1. 405 Not Allowed?
46.11.2. 413 Request Entity Too Large
46.11.3. 499 Client Closed Request
46.11.4. 502 Bad Gateway?
46.11.5. 504 Gateway Time-out
46.11.6. proxy_pass
46.11.7. proxy_pass SESSION 丢失问题
46.11.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
46.11.9. server_name 与 SSI 注意事项
46.11.10. location 跨 document_root 引用,引用 document_root 之外的资源
46.11.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
46.11.12. 127.0.0.1:8080 failed
46.11.13. failed (13: Permission denied) while connecting to upstream
46.11.14. upstream sent too big header while reading response header from upstream
46.11.15. 很目录 index.html 正常访问,其他文件都是 404
46.11.16. nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
47. Openresty
47.1. 安装 Openresty
47.1.1. 源码安装
47.2. Openresty 开发
47.2.1. Hello world!!!
47.2.2. 日期和时间
47.2.3. 数据结构
47.2.4. echo 输出
47.2.5. 参数处理
47.2.6. Nginx 变量
47.2.7. Json
47.2.8. Redis
47.2.9. Nginx 缓存
47.2.10. logs
47.3. 实现灰度发布
47.4. Redis
48. Caddy
48.1. 安装 Caddy
48.1.1. CentOS/Rocky Linux/AlmiLinux
48.2. 命令行
48.2.1. 启动 Caddy
48.2.2. 文件服务器
48.3. /etc/caddy/Caddyfile
48.3.1. 导入配置文件 Caddyfile.d
48.3.2. 监听地址
48.3.3. 日志
48.3.4. 反向代理
48.3.5. Let's Encrypt 免费 SSL 证书
48.3.6. 返回内容
48.3.7.
48.3.8. 绑定域名
49. Apache Tomcat
49.1. Tomcat 安装与配置
49.1.1. Tomcat 6
49.1.2. Tomcat 7
49.1.3. Java 8 + Tomcat 8
49.1.4. Tomcat 9/10
49.1.5. 防火墙配置
49.1.6. 同时运行多实例
49.1.7. Testing file
49.1.8. mod_jk
49.1.9. mod_proxy_ajp
49.1.10. RewriteEngine 连接 Tomcat
49.1.11. SSL 双向认证
49.2. 配置 Tomcat 服务器
49.2.1. server.xml
49.2.2. tomcat-users.xml
49.2.3. context.xml
49.2.4. logging.properties
49.2.5. catalina.properties
49.3. 虚拟主机配置
49.3.1. 方案一
49.3.2. 方案二
49.3.3. Alias 别名
49.3.4. access_log
49.3.5. Context 配置
49.3.6. 主机绑定IP地址
49.4. SSI
49.5. Logging 日志
49.5.1. 开启 debug 模式
49.5.2. 切割 catalina.out 日志
49.6. Init.d Script
49.6.1. Script 1
49.6.2. Shell Script 2
50. Apache httpd
50.1. Install
50.1.1. Quick install apache with aptitude
50.1.2. CentOS 6
50.1.3. Compile and then install Apache
50.1.4. XAMPP
50.2. Module
50.2.1. Output a list of modules compiled into the server.
50.2.2. Core
50.2.3. mpm
50.2.4. Apache Log
50.2.5. mod_access
50.2.6. VirtualHost
50.2.7. Alias / AliasMatch
50.2.8. Redirect / RedirectMatch
50.2.9. Rewrite
50.2.10. Proxy
50.2.11. Deflate
50.2.12. Expires
50.2.13. Cache
50.2.14. usertrack
50.2.15. Charset
50.2.16. Dir
50.2.17. Includes
50.2.18. Apache Status
50.2.19. Mod Perl
50.2.20. mod_pagespeed -
50.2.21. Module FAQ
50.2.22. mod_setenvif
50.2.23. PHP 程序安全问题 php_admin_value
50.2.24. mod_spdy
50.3. 设置Apache实现防盗连
50.4. .htaccess
50.5. Error Prompt
50.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
50.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
51. Lighttpd
51.1. 安装Lighttpd
51.1.1. quick install with aptitude
51.1.2. yum install
51.1.3. to compile and then install lighttpd
51.2. /etc/lighttpd/lighttpd.conf
51.2.1. max-worker / max-fds
51.2.2. accesslog.filename
51.2.3. ETags
51.2.4. server.tag
51.3. Module
51.3.1. simple_vhost
51.3.2. ssl
51.3.3. redirect
51.3.4. rewrite
51.3.5. alias
51.3.6. auth
51.3.7. compress
51.3.8. expire
51.3.9. status
51.3.10. setenv
51.3.11. fastcgi
51.3.12. user-agent
51.3.13. spdy
51.4. 其他模块
51.4.1. mod_secdownload 防盗链
51.5. Example
51.5.1. s-maxage
52. Resin
52.1. 安装Resin
52.1.1. 直接使用
52.1.2. Debian/Ubuntu
52.1.3. 源码安装Resin
52.2. Compiling mod_caucho.so
52.3. resin.conf
52.3.1. Maximum number of threads
52.3.2. Configures the keepalive
52.3.3. ssl
52.4. virtual hosts
52.4.1. explicit host
52.4.2. regexp host
52.4.3. host-alias
52.4.4. configures a deployment directory for virtual hosts
52.4.5. Resources
52.5. FAQ
52.5.1. java.lang.OutOfMemoryError: PermGen space
53. Application Server
53.1. Zope
53.2. JBoss - JBoss Enterprise Middleware
54. varnish - a state-of-the-art, high-performance HTTP accelerator
54.1. Varnish Install
54.2. varnish utility
54.2.1. status
54.2.2. varnishadm
54.2.3. varnishtop
54.2.4. varnishhist
54.2.5. varnishsizes
54.3. log file
54.4. Varnish Configuration Language - VCL
54.4.1. unset / set
54.5. example
55. Apache Traffic Server
55.1. Install
55.2. Configure
56. Cherokee
56.1. Installing Cherokee
57. Jetty
58. Web Analysis
58.1. 综合测试
58.2. Web Logs
58.2.1. awstats
58.2.2. webalizer
59. Other Web Server
59.1. Python SimpleHTTPServer
60. web 服务器排名
60.1. HTTP状态码
61. Web Server Optimization
61.1. Chrome
61.2. ulimit
61.2.1. open files
61.3. khttpd
61.4. php.ini
61.4.1. Resource Limits
61.4.2. File Uploads
61.4.3. Session Shared
61.4.4. PATHINFO
61.5. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
61.6. Zend Optimizer
61.7. eaccelerator
VI. Mail Server
62. Mail server constituent
63. mail user agent (MUA)
63.1. mail
63.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
63.2.1. 发送邮件
63.2.2. 设置自定义 From
63.3. alpine - Text-based email client, friendly for novices but powerful
63.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
63.5. GPG4WIN
63.6. Evolution
64. exim - meta-package to ease Exim MTA (v4) installation
64.1. install
64.1.1. ubuntu/debian
64.1.2. CentOS/Redhat
64.2. exim 命令
64.2.1. 帮助信息
64.2.2. 测试发送邮件
64.2.3. 刷新邮件队列
64.3. 配置exim
64.3.1. /etc/aliases 别名配置
64.4. FAQ
64.4.1. Mailing to remote domains not supported
65. postfix - High-performance mail transport agent
65.1. install
65.1.1. Ubuntu
65.1.2. CentOS
65.1.3. OSCM 通过配置管理脚本安装
65.2. 配置 Postfix
65.2.1. 转发配置
65.2.2. 拒收垃圾邮件
65.2.3. 收件箱配置
65.2.4. 邮件投递
65.2.5. 队列配置
65.2.6. 客户端
65.2.7. SMTP 发送权限相关配置
65.3. aliases
65.4. dkim
65.4.1. 增加域名
65.4.2. 测试
65.5. Rspamd
65.6. /var/log/maillog
65.6.1. 计算每分钟发送数量日志统计
65.6.2. 虚假地址统计
65.7. Post 命令
65.7.1. postconf - Postfix configuration utility
65.7.2. postsuper
65.7.3. postqueue - Postfix queue control
65.7.4. postmulti - Postfix multi-instance manager
65.8. Example
65.8.1. 站内电邮发送
65.8.2. EDM 服务器
65.8.3. SMTP 邮件发送服务器
65.9. FAQ
65.9.1. SMTP ERROR: RCPT TO command failed: 501 5.1.3 Bad recipient address syntax
65.9.2. connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Network is unreachable
65.9.3. opendkim[5762]: 3012A802C1DD: [49.213.11.18] [49.213.11.18] not internal
65.9.4. opendkim[12578]: 4CC5C802C382: no signature data
65.9.5. /etc/opendkim/keys/default.private: open(): No such file or directory
65.9.6. fatal: parameter inet_interfaces: no local interface found for ::1
65.9.7. NOQUEUE: reject: MAIL from unknown[192.168.3.31]: 552 5.3.4 Message size exceeds fixed limit;
65.9.8. 452 4.3.1 Insufficient system storage
65.9.9. 454 Relay access denied
66. 邮件原文
66.1. Subject Unicode
66.2. TO/CC/BCC
66.3. 正文
66.4. POP Sniffer
66.5. PHP mail()
67. 反垃圾邮件相关
67.1. Sender Policy Framework
67.1.1. 分析 SPF 记录
67.2. DKIM
67.3. 邮件被拒收处理方法
67.3.1. NetEase
67.3.2. Sohu
67.3.3. Tom
67.3.4. QQ
67.3.5. 21CN
68. Fax
68.1. HylaFAX
69. FAQ
69.1. 通过SSH与控制台不能登录
VII. Backup, Recovery, and Archiving Solutions
70. Logical Volume Manager (LVM)
70.1. 物理卷管理(physical volume)
70.1.1. pvcreate
70.1.2. pvdisplay
70.1.3. pvs
70.2. 卷组管理(Volume Group)
70.2.1. vgcreate
70.2.2. vgdisplay
70.2.3. vgs
70.2.4. vgchange
70.2.5. vgextend
70.2.6. vgreduce
70.3. 逻辑卷管理(logical volume)
70.3.1. lvcreate
70.3.2. lvdisplay
70.3.3. lvremove
70.4. Format
70.5. mount
70.5.1. lv
70.5.2. snapshot
70.6. snapshot backup
71. 文件传输
71.1. 跨服务器文件传输
71.1.1. scp - secure copy (remote file copy program)
71.1.2. nc - TCP/IP swiss army knife
71.2. wget - retrieves files from the web
71.2.1. 下载所有图片
71.2.2. mirror
71.2.3. reject
71.2.4. ftp 下载
71.3. axel - A light download accelerator - Console version
72. FTP (File Transfer Protocol)
72.1. lftp
72.1.1. pget
72.1.2. lftp 批处理
72.2. ncftp
72.2.1. batch command
72.2.2. ncftpget
72.2.3. ncftpput
72.3. FileZilla
72.4. vsftpd - The Very Secure FTP Daemon
72.4.1. 安装 vsftpd
72.4.2. ftp 帐号的shell权限
72.4.3. vsftpd 认证模块
72.4.4. chroot
72.4.5. FAT
72.5. ProFTPD + MySQL / OpenLDAP 用户认证
72.5.1. Proftpd + MySQL
72.5.2. Proftpd + OpenLDAP
72.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
73. File Synchronize
73.1. rsync - fast remote file copy program (like rcp)
73.1.1. 安装Rsync与配置守护进程
73.1.2. rsyncd.conf
73.1.3. rsync 参数说明
73.1.4. step by step to learn rsync
73.1.5. rsync examples
73.1.6. rsync for windows
73.1.7. 多进程 rsync 脚本
73.2. tsync
73.3. lsyncd
73.3.1. 安装
73.3.2. 配置 lsyncd.conf
73.3.3. 配置演示
73.4. Unison File Synchronizer
73.4.1. local
73.4.2. remote
73.4.3. config
73.5. csync2 - cluster synchronization tool
73.5.1. server
73.5.2. node
73.5.3. test
73.5.4. Advanced Configuration
73.5.5. 编译安装
73.6. synctool
74. File Share
74.1. NFSv4
74.1.1. Ubuntu
74.1.2. CentOS
74.1.3. exports
74.1.4. NFS For Windows
74.1.5. exportfs - maintain table of exported NFS file systems
74.1.6. macOS
74.1.7. Parallel NFS(pNFS)
74.2. Samba
74.2.1. install
74.2.2. smb.conf
74.2.3. Samba 相关命令
74.2.4. FAQ
75. Distributed File Systems
75.1. DRBD (Distributed Replicated Block Device)
75.1.1. disk and partition
75.1.2. Installation
75.1.3. configure
75.1.4. Starting
75.1.5. Using
75.2. Network Block Device protocol
75.2.1. nbd-server - Network Block Device protocol - server
75.2.2. nbd-client - Network Block Device protocol - client
75.3. GridFS
75.3.1. nginx-gridfs
75.3.2. lighttpd-gridfs
75.4. Moose File System
75.4.1. Master server installation
75.4.2. Backup server (metalogger) installation
75.4.3. Chunk servers installation
75.4.4. Users’ computers installation
75.4.5. Testing MFS
75.5. LizardFS
75.6. Ceph
75.6.1. Installation on Ubuntu
75.6.2. Installation on CentOS
75.6.3. Block Devices
75.7. GlusterFS
75.7.1. glusterfs-server
75.7.2. glusterfs-client
75.7.3. Testing
75.7.4. RAID
75.7.5. Filesystem Administration
75.7.6. CentOS 6.3
75.8. Lustre
75.9. MogileFS
75.10. Kosmos distributed file system (KFS)
75.11. Hadoop - HDFS
75.12. BeeGFS - The Parallel Cluster File System
75.13. Coda
75.14. OpenAFS
76. Shared Storage
76.1. Oracle OCFS2
76.1.1. 安装
76.2. GFS2
76.3. fam & imon
77. Network Attached Storage(NAS 网络附加存储)
77.1. Network Storage - Openfiler
77.1.1. Accounts
77.1.2. Volumes
77.1.3. Quota
77.1.4. Shares
77.2. OpenMediaVault
77.3. FreeNAS
78. Backup / Restore
78.1. 备份策略
78.1.1. Incremental backup
78.1.2. Differential backup
78.2. btrbk.noarch : Tool for creating snapshots and remote backups of btrfs sub-volumes
78.3. dump / restore
78.4. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
78.4.1. Install Backup Server
78.4.2. Install Backup Client
78.5. Amanda: Open Source Backup
78.6. Attic - 拥有重复数据删除技术的备份软件
78.6.1. 安装 Attic
78.6.2. 快速开始
78.7. SafeKeep
78.8. Opendedup
79. inotify
79.1. inotify-tools
79.2. Incron - cron-like daemon which handles filesystem events
79.2.1. incrontab - inotify cron table manipulator
79.2.2. 使用说明
79.3. inotify-tools + rsync
79.4. pyinotify
VIII. Monitoring
80. Prometheus
80.1. 安装 Prometheus
80.1.1. Docker 安装
80.1.2. docker swarm
80.1.3. docker-compose
80.1.4. 防火墙设置
80.2. Prometheus 配置
80.2.1. Prometheus 命令行工具
80.2.2. rules 规则配置
80.2.3. SpringBoot
80.2.4. PromQL 自定义查询语言
80.3. Prometheus Exporter
80.3.1. 监控 Docker
80.3.2. node-exporter
80.3.3. cadvisor
80.3.4. Nginx Prometheus Exporter
80.3.5. Redis
80.3.6. MongoDB
80.3.7. MySQL
80.3.8. Blackbox Exporter(blackbox-exporter)
80.3.9. SNMP Exporter
80.4. Alertmanager
80.4.1. Docker 安装
80.4.2. alertmanager.yml 配置文件
80.4.3. 触发测试
80.4.4. 警报状态
80.5. Grafana
80.5.1. cadvisor
80.5.2. Docker - container summary (Prometheus)
81. Zabbix
81.1. Installing and Configuring Zabbix
81.1.1. Ubuntu
81.1.2. CentOS Zabbix 2.4
81.1.3. Zabbix 3.x CentOS 7
81.2. web ui
81.2.1. 警告脚本
81.3. zabbix-java-gateway - Zabbix java gateway
81.4. zabbix-agent
81.4.1. Ubuntu
81.4.2. CentOS 7
81.4.3. zabbix_agentd 命令
81.4.4. Nginx status 监控
81.4.5. redis
81.4.6. MongoDB
81.4.7. PHP-FPM
81.4.8. Elasticsearch
81.4.9. Postfix
81.4.10. TCP stats
81.4.11. 应用依赖检查
81.4.12. Oracle
82. 日志收集和分析
82.1. 系统日志
82.1.1. logwatch
82.1.2. logcheck : Analyzes log files and sends noticeable events as email
82.1.3. nulog
82.1.4. Web
82.1.5. Tomcat
82.1.6. Mail
82.1.7. OpenSSH 日志 /var/log/secure
82.1.8. rinetd.log
82.2. ElasticSearch + Logstash + Kibana
82.2.1. 安装
82.2.2. logstash 命令简单应用
82.2.3. 配置 logstash
82.2.4. Example
82.2.5. Beats
82.2.6. FAQ
82.3. Grafana + Loki + Promtail
82.3.1. Docker Compose
82.3.2. Helm
82.3.3. promtail
82.4. fluentd
82.4.1. Docker 安装
82.4.2. fluent-bit
82.4.3. temporarily failed to flush the buffer
82.5. Apache Flume
82.5.1. 安装 Apache flume
82.5.2. 基本配置
82.5.3. 配置 MySQL 存储日志
82.5.4. 配置 HDFS 存储日志
82.6. php-syslog-ng
82.7. Log Analyzer
82.8. Splunk
82.9. Octopussy
82.10. eventlog-to-syslog
82.11. graylog - Enterprise Log Management for All
83. 分布式链路追踪
83.1. Apache SkyWalking
83.2. Zipkin
84. 上一代监控系统
84.1. SMS
84.1.1. gnokii
84.1.2. AT Commands
84.2. IPMI (Intelligent Platform Management Interface)
84.2.1. OpenIPMI
84.2.2. freeipmi
84.2.3. ipmitool - utility for controlling IPMI-enabled devices
84.3. Cacti
84.3.1. Install Cacti for Ubuntu
84.3.2. Yum 安装
84.3.3. Source Install
84.3.4. Web 安装
84.3.5. Cacti plugins
84.3.6. Template
84.4. Nagios
84.4.1. Install
84.4.2. nagios
84.4.3. nrpe node
84.4.4. 配置 Nagios
84.4.5. 配置监控设备
84.4.6. Nagios Plugins
84.4.7. FAQ
84.5. Munin
84.5.1. Ubuntu
84.5.2. CentOS
84.5.3. 用户认证
84.5.4. munin-node and plugins
84.5.5. munin.conf
84.5.6. munin-node
84.6. Observium
84.6.1. Installation
84.7. Ganglia
84.7.1. Server
84.7.2. Client
84.7.3. Plugin
84.7.4. Installing Ganglia on Centos
84.8. Varnish Dashboard
84.9. icinga
84.10. Graphite
84.10.1. Graphite - Scalable Realtime Graphing
84.11. BIG BROTHER
84.12. Big Sister
84.13. OpenNMS
84.14. Performance Co-Pilot
84.15. Clumon Performance Monitor
84.16. Zenoss
84.17. 商业软件
84.18. Hyperic HQ
84.19. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
84.20. HawtIO
84.21. moloch
86. 网络监控
86.1. NET SNMP (Simple Network Management Protocol)
86.1.1. 安装SNMP
86.1.2. 配置SNMP
86.1.3. SNMP 命令
86.1.4. Cisco MBI
86.2. Bandwidth
86.2.1. apt-get install
86.2.2. CentOS rpm/yum
86.2.3. source code
86.2.4. /etc/bandwidthd.conf
86.3. NetFlow
86.3.1. flow-tools - collects and processes NetFlow data
86.3.2. netams - Network Traffic Accounting and Monitoring Software
86.4. Ntop
86.4.1. Installation
86.4.2. Web UI
86.4.3. Plugins
86.5. MRTG
86.5.1. CentOS 8 Stream
86.5.2. Ubuntu 安装
86.5.3. CentOS 安装
86.5.4. 监控多个设备
86.5.5. 批量生成监控配置文件
86.5.6. 图片尺寸
86.6. lvs-rrd
IX. Server Load Balancing
87. heartbeat
87.1. heartbeat+ldirectord
87.1.1. heartbeat
87.1.2. ldirectord
87.1.3. test
87.2. Pacemaker
88. Linux Virtual Server
88.1. 环境配置
88.2. VS/NAT
88.3. VS/TUN
88.4. VS/DR
88.4.1. 配置文件
88.5. ipvsadm script
88.6. Timeout
88.7. debug
88.8. ipvsadm monitor
89. keepalived
89.1. 安装
89.2. test
89.3. HAProxy and Keepalived (Virtual IP)
90. Piranha - Cluster administation tools
90.1. install
90.2. configure
90.3. real server
90.4. Example
90.4.1. Master
90.4.2. Slave
90.4.3. MySQL
91. HAProxy - fast and reliable load balancing reverse proxy
91.1. Installing
91.1.1. Ubuntu
91.1.2. CentOS
91.2. haproxy.cfg
91.2.1. stats
91.2.2. listen 方式
91.2.3. frontend/backend 方式
91.2.4. option
91.2.5. balance
91.2.6. server
91.3. Example 配置实例
91.3.1. HTTP 配置实例
91.3.2. Squid
91.3.3. haproxy + mysql 配置实例
91.3.4. HTTPS SSL证书卸载配置实例
91.3.5. 使用TCP模式实现SSL穿透
91.3.6. SMTP
92. balance - Load balancing solution and generic tcp proxy
92.1. balance
92.1.1. 编译安装
92.1.2. Ubuntu 安装
92.1.3. 测试安装是否正确
92.1.4. 用法
92.2. BalanceNG
92.3. RBridge
93. Perlbal
93.1. install
94. Pacemaker
95. Example
95.1. 双负载均衡的用法
95.2. 单台负载均衡的用法
95.3. 广域网负载均衡的用法
96. FAQ
96.1. Haproxy 与 Nginx
X. Distributed Computing
97. Open Source Distributed Computing
97.1. Boinc (berkeley 分布式计算平台)
97.1.1. rc.local
97.2. ubuntu apt-get 安装
97.3. CentOS 安装
97.4. boinccmd
97.4.1. attach_project
97.4.2. nomorework | allowmorework 禁止下载任务 / 允许下载任务
98. High performance Computing
98.1. Distributed Computing
98.1.1. OpenMosix
98.1.2. OpenSSI
98.2. Parallel Computing
98.2.1. EnFusion
98.2.2. SCore
98.2.3. Beowulf
100. Tachyon
101. Apache ZooKeeper
101.1. 安装配置
101.1.1. 单节点安装
101.1.2. 多节点安装
101.2. 管理 ZooKeeper
101.2.1. help
101.2.2. ls
101.2.3. create
101.2.4. get
101.2.5. set
101.2.6. delete
102. Message Queuing & RPC
102.1. RabbitMQ
102.1.1. 安装 RabbitMQ
102.1.2. 配置 RabbitMQ
102.1.3. rabbitmqctl - command line tool for managing a RabbitMQ broker
102.1.4. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
102.1.5. Python - Pika
102.1.6. Ruby amqp
102.2. ZeroMQ
102.2.1. python-zeromq
102.2.2. ruby zmq
102.3. nanomsg
102.4. Gearman
102.4.1. Getting Started with Gearman
102.4.2. gearman
102.4.3. Gearman PHP Extension
102.5. Apache Kafka is a distributed publish-subscribe messaging system
102.5.1. 安装 Kafka
102.5.2. 测试 Kafka
102.5.3. 配置 Kafka
102.5.4. 管理 Kafka
102.5.5. FAQ
102.6. RocketMQ
102.6.1. 安装 RocketMQ
102.7. Celery
102.8. ActiveMQ
102.9. http://kr.github.io/beanstalkd/
102.10. gRPC
XI. Security
104. Authentication
104.1. /etc/login.defs
104.2. PAM 插件认证
104.2.1. pam_tally2.so
104.2.2. pam_listfile.so
104.2.3. pam_access.so
104.2.4. pam_wheel.so
104.3. Network Authentication
104.3.1. Network Information Service (NIS)
104.3.2. OpenLDAP
104.3.3. Kerberos
104.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
104.3.5. SASL (Simple Authentication and Security Layer)
104.3.6. GSSAPI (Generic Security Services Application Program Interface)
105. SELinux
105.1. getsebool - get SELinux boolean value
105.1.1. HTTP 相关配置
105.2. sestatus - SELinux status tool
105.3. setsebool - set SELinux boolean value
105.4. chcon - change file SELinux security context
105.5. rsync
105.6. 查找被SELINUX禁用服务
105.6.1. Nginx
106. Sniffer
106.1. nmap - Network exploration tool and security / port scanner
106.1.1. 安装 nmap
106.1.2. HOST DISCOVERY
106.1.3. SCAN TECHNIQUES
106.1.4. PORT SPECIFICATION AND SCAN ORDER
106.1.5. SCRIPT SCAN
106.1.6. OS DETECTION
106.1.7. OUTPUT
106.1.8. 排除指定的主机
106.1.9. 查看本地路由与接口
106.1.10. MISC
106.1.11. ncat - Concatenate and redirect sockets
106.1.12. nmap 应用案例
106.2. tcpdump - A powerful tool for network monitoring and data acquisition
106.2.1. 监控网络适配器接口
106.2.2. 监控主机
106.2.3. 监控TCP端口
106.2.4. 监控协议
106.2.5. 输出到文件
106.2.6. src / dst
106.2.7. 保存结果
106.2.8. Cisco Discovery Protocol (CDP)
106.2.9. Flags
106.2.10. 案例
106.3. cdpr - Cisco Discovery Protocol Reporter
106.4. ngrep - Network layer grep tool
106.4.1. 匹配关键字
106.4.2. 指定网络接口
106.4.3. SIP 抓包
106.5. Unicornscan,Zenmap,nast
106.6. netstat-nat - Show the natted connections on a linux iptable firewall
106.7. Tcpreplay
106.8. Wireshark
106.9. conntrack-tools : Manipulate netfilter connection tracking table and run High Availability
106.9.1. 帮助信息
106.9.2. 协议跟踪
107. sqlmap - automatic SQL injection and database takeover tool
107.1. Installation
107.2. 开始入住实验
107.2.1. 测试脚本
107.2.2. sqlmap.ini
107.3. Request参数
107.3.1. --method, --data
107.3.2. --cookie
107.3.3. --referer
107.3.4. --user-agent
107.3.5. --headers
107.3.6. --referer
107.3.7. auth
107.3.8. --proxy
107.3.9. --threads
107.3.10. --delay
107.3.11. --timeout
107.4. Injection
107.4.1. --dbms
107.4.2. --prefix
107.4.3. --postfix
107.4.4. --string
107.4.5. --regexp
107.4.6. --excl-str
107.4.7. --excl-reg
107.5. Techniques
107.5.1. --stacked-test
107.5.2. --time-test
107.5.3. --union-test
107.5.4. --union-tech
107.5.5. --union-use
107.6. Enumeration
107.6.1. dbs
107.6.2. --count
107.6.3. --dump/--dump-all
107.6.4. --sql-query
107.6.5. --sql-shell
107.7. Miscellaneous
107.7.1. --update
107.7.2. --save
108. Vulnerability Scanner
108.1. Nessus
108.2. OpenVAS
109. Injection & Penetration
109.1. Backtrack Linux
110. Lynis Linux 安全性扫描工具
110.1. 安装
110.1.1.
110.2. 开始审计
111. Suricata Engine
112. psad
113. fwknop
114. fwsnort
115. nftables
116. Haka
117. Docker
117.1. 安装 Docker
117.1.1. Rocky Linux / AlmiLinux / CentOS 8 Stream
117.1.2. Ubuntu docker-ce
117.1.3. 测试 Docker
117.1.4. 国内镜像
117.1.5. 重置 Docker
117.1.6. 早期版本
117.2. Portainer - Docker 图形管理界面
117.2.1. 安装
117.2.2. 配置 Portainer
117.2.3. 添加代理出错
117.3. 配置 Docker /etc/docker/daemon.json
117.3.1. 日志切割
117.3.2. 开启远程访问
117.3.3. 镜像配置
117.3.4. DNS
117.3.5. ulimit 资源
117.3.6. 配置SSL证书
117.4. docker 命令
117.4.1. docker - A self-sufficient runtime for containers
117.4.2. docker-compose - Define and run multi-container applications with Docker.
117.4.3. Docker Scan
117.5. 镜像管理
117.5.1. 搜索镜像
117.5.2. 获取镜像
117.5.3. 列出本地镜像
117.5.4. tag
117.5.5. 保存和载入镜像
117.5.6. 删除本地镜像
117.5.7. history 镜像历史纪录
117.5.8. format 用法
117.5.9. inspect
117.5.10. 查看镜像内容
117.6. 容器管理
117.6.1. 查看容器
117.6.2. 启动与终止容器
117.6.3. 进入容器
117.6.4. 运行容器内的命令
117.6.5. 导出和导入容器
117.6.6. 停止所有容器
117.6.7. 删除容器
117.6.8. 容器日志
117.6.9. 操作系统
117.6.10. 查看容器内运行的进程
117.6.11. 更新容器资源配置
117.6.12. 查看容器的退出状态
117.6.13. 暂停与恢复容器
117.6.14. 对比容器的变化
117.6.15. 查看容器状态
117.6.16. 重启容器
117.6.17. DNS
117.7. 卷管理
117.7.1. 列出卷
117.7.2. 创建卷
117.7.3. 挂在镜像
117.7.4. 检查卷
117.7.5. 删除卷
117.7.6. 销毁所有未使用的卷
117.7.7. 在多个容器间共享卷
117.7.8. 容器绑定本地文件系统
117.7.9. 只读权限
117.8. Docker 网络管理
117.8.1. docker0 IP地址
117.8.2. 容器指定固定IP地址
117.8.3. 创建子网
117.8.4. 创建 overlay 网络
117.8.5. 网络命令空间
117.8.6. flannel 网络配置
117.9. 日志管理
117.9.1. 日志选项
117.9.2. 查看日志位置
117.9.3. Fluentd 配置
117.9.4. 将日志输出到 /dev/stdout 和 /dev/stderr
117.10. Dockerfile
117.10.1. 基于 Dockerfile 创建镜像
117.10.2. 基于 Alpine 制作镜像
117.10.3. Dockerfile 缺失的工具
117.10.4. Dockerfile 语法
117.11. 仓库
117.11.1. Docker 官方仓库
117.11.2. 私有仓库
117.11.3. Harbor
117.12. Swarms
117.12.1. 管理 Swarms
117.12.2. Stack
117.12.3. 服务
117.12.4. swarm 卷管理
117.13. docker-compose.yml 容器编排
117.13.1. 版本号
117.13.2. 镜像
117.13.3. 容器名称
117.13.4. 启动策略
117.13.5. 容器用户
117.13.6. 挂在卷
117.13.7. 映射端口的标签
117.13.8. 添加 hosts 文件
117.13.9. 网络配置
117.13.10. links 主机别名
117.13.11. 链接外部容器
117.13.12. 服务依赖
117.13.13. working_dir
117.13.14. 设置环境变量
117.13.15. 临时文件系统
117.13.16. 编译 Dockerfile
117.13.17. resources 硬件资源分配
117.14. Docker Example
117.14.1. registry
117.14.2. Example Java - Spring boot with Docker
117.14.3. Redis
117.14.4. Nginx
117.14.5. MySQL
117.14.6. MongoDB
117.14.7. Node
117.15. Docker FAQ
117.15.1. 通过 IP 找容器
117.15.2. 常用工具
117.15.3. 检查 Docker 是否可用
117.15.4. no space left on device
117.15.5. 从现有镜像提取 Dockerfile
117.15.6. Nginx 配吹 autoindex on 出现 403 Forbidden
117.15.7. 删除所有容器
117.15.8. 删除所有镜像
118. Podman
118.1. 安装 Podman
118.1.1. RockyLinux 安装 Podman
118.1.2. Almalinux 9.0
118.1.3. MacOS 安装 Podman
118.1.4. 初始化 Podman
118.1.5. 兼容 Docker
118.1.6. 安装 podman-compose
118.1.7. 配置 Podman
118.2. podman 管理
118.2.1. 虚拟机管理
118.2.2. 镜像管理
118.2.3. 运行命令
118.3. 按例
118.3.1. podman run 用法
118.3.2. mysql
118.3.3. 制作镜像
119. Kubernetes
119.1. Minikube
119.1.1. CentOS 8 安装 minikube
119.1.2. Quickstart
119.1.3. minikube 命令
119.1.4. Minikube 案例演示
119.1.5. FAQ
119.2. microk8s
119.2.1. 安装 microk8s
119.2.2. 组件管理
119.2.3. kubectl
119.2.4. Kubernetes Addons
119.3. Kubernetes 集群管理
119.3.1. 配置
119.3.2. 如何从 docker 过渡到 kubectl 命令
119.3.3. namespace 命名空间
119.3.4. label 标签
119.3.5. 服务管理
119.3.6. serviceaccount
119.3.7. Pod 管理
119.3.8. 部署管理
119.3.9. secret 密钥管理
119.3.10. ConfigMap
119.3.11. Job/CronJob
119.3.12. clusterrolebinding
119.3.13. Volume
119.3.14. Ingress
119.4. kubectl example
119.4.1. 私有 registry
119.4.2. mongodb
119.4.3. tomcat
119.5. istio
119.5.1. 启动 istio
119.5.2. 禁用 istio
119.6. Kubeapps
119.7. Helm - The package manager for Kubernetes
119.7.1. 安装 Helm
119.7.2. 快速开始
119.7.3. Helm 命令
119.7.4. ingress-nginx
119.7.5. elastic
119.7.6. Helm The package manager for Kubernetes
119.7.7. Helm Faq
119.8. 常见问题
119.8.1. 从局域网访问POD
120. Rancher - Multi-Cluster Kubernetes Management
120.1. 安装 Rancher
120.1.1. Rancher Server
120.1.2. Rancher Kubernetes Engine (RKE) 2
120.1.3. Rancher Kubernetes Engine (RKE) 1
120.1.4. Rancher CLI
120.1.5. rancher-compose
120.2. 快速入门
120.2.1. API
120.3. Rancher Compose
120.3.1. Rancher Compose 命令
120.3.2. 操作演示
120.4. Rancher CLI
120.4.1. 登陆 Rancher
120.4.2. 查看集群
120.4.3. 查看节点
120.4.4. catalog
120.4.5. 查看设置
120.4.6. rancher kubectl
120.5. K3s
120.5.1. AutoK3s
120.5.2. 安装 K3s(Docker 模式)
120.5.3. 安装 K3s(VM 模式)
120.5.4. k3d
120.5.5. TLS 证书
120.5.6. 创建 Token
120.5.7. FAQ
120.6. Rancher Demo
120.6.1. Rancher 部署 Nginx
120.6.2. local-path-provisioner
120.7. Longhorn
120.7.1. 安装 Longhorn
120.7.2. 选择磁盘类型
120.7.3. 节点选择
120.7.4. FAQ
120.8. FAQ
120.8.1. 调试 Rancher 查看日志
120.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
120.8.3. cgroups v2
121. netkiller 容器编排工具
121.1. 安装 netkiller-devops
121.2. 使用 python 优雅地编排 Docker 容器
121.2.1. 安装依赖库
121.2.2. 创建一个 Services
121.2.3. 创建 Composes
121.2.4. 容器管理
121.2.5. 演示例子
121.2.6. 使用 Python 编排 Dockerfile
121.2.7.
121.2.8. logstash
121.3. 使用 Python 优雅地编排 Kubernetes
121.3.1. 快速演示编排Nginx
121.3.2. 创建命名空间
121.3.3. ConfigMap/Secret 编排演示
121.3.4. Pod 挂载 ConfigMap 编排演示
121.3.5. Pod 挂载 ConfigMap 设置环境变量
121.3.6. Ingress 挂载 SSL 证书
121.3.7. StatefulSet 部署 Redis
121.3.8. StorageClass
121.3.9. 部署 MySQL 到 kubernetes
121.3.10. MongoDB
121.3.11. Nacos
121.3.12. Redis
121.3.13. Kubernetes 部署 kube-explorer 图形化界面
121.3.14. ELK
121.3.15. sonarqube
XII. Virtualization
122. Virtual Machine(虚拟机)
122.1. Kernel-based Virtual Machine(KVM)
122.1.1. kvm install usage yum
122.1.2. Ubuntu
122.1.3. CentOS 6.2
122.1.4. Scientific Linux Virtualization
122.1.5. libvirt
122.1.6. FAQ
122.2. Xen
122.2.1. install
122.2.2. Manager
122.3. OpenVZ
122.3.1. 安装OpenVZ
122.3.2. 使用OpenVZ & 建立VPS
122.3.3. 设置VPS参数
122.4. vagrant - Tool for building and distributing virtualized development environments
122.4.1. vagrant for windows
122.5. 虚拟机管理
122.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
122.5.2. OpenStack
122.5.3. CloudStack
122.5.4. OpenNode
122.5.5. OpenNEbula
XIII. 项目管理工具
123. Gitlab 项目管理
123.1. GitLab 安装与配置
123.1.1. Almalinux 9.0
123.1.2. CentOS 8 Stream 安装 Gitlab
123.1.3. Docker 方式安装 Gitlab
123.1.4. Yum 安装 GitLab
123.1.5. 绑定SSL证书
123.1.6. Gitlab 管理
123.2. 初始化 Gitlab
123.2.1. 操作系统初始化
123.2.2. 创建用户
123.2.3. 初始化组
123.2.4. 初始化标签
123.2.5. 初始化分支
123.2.6. 部署环境
123.3. 项目管理
123.3.1. 组织架构
123.3.2. 项目计划
123.3.3. 工作流
123.3.4. 议题
123.3.5. 并行开发
123.3.6. 升级与发布相关
123.3.7. 代码审查
123.4. 通过GPG签名提交代码
123.4.1. 创建证书
123.4.2. 配置 Gitlab GPG
123.4.3. 配置 Git
123.4.4. FAQ
123.5. CI / CD
123.5.1. 远程服务器配置
123.5.2. 配置 CI / CD
123.5.3. Shell 执行器
123.5.4. tags 的使用方法
123.5.5. Docker 执行器
123.5.6. Kubernetes executor
123.5.7. Java 持续集成相关
123.5.8. 数据库结构监控
123.5.9. 持续部署 Nacos
123.6. Pipeline 流水线
123.6.1. cache
123.6.2. stages
123.6.3. variables
123.6.4. script /before_script / after_script
123.6.5. only and except
123.6.6. 构建物
123.6.7. 允许失败
123.6.8. 定义何时开始job
123.6.9. services
123.6.10. tags
123.6.11. rules 规则
123.6.12. include 包含
123.6.13. 模版
123.6.14. release
123.6.15. 应用案例
123.7. 软件包与镜像库
123.7.1. Maven 仓库
123.7.2. Python Pypi 仓库
123.7.3. Node JS
123.7.4. Docker registry
123.8. 服务器端 hooks
123.8.1. 创建全局 Server hooks
123.8.2. 给单个仓库配置 Server hooks
123.9. 客户端 hooks
123.9.1. 集成禅道
123.10. WebHook
123.11. FAQ
123.11.1. 查看日志
123.11.2. debug runner
123.11.3. gitolite 向 gitlab 迁移
123.11.4. 修改主机名
123.11.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
123.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
123.11.7. 磁盘 100% 怎样清理
124. Jenkins
124.1. 安装 Jenkins
124.1.1. OSCM 一键安装
124.1.2. Mac
124.1.3. CentOS
124.1.4. Ubuntu
124.1.5. Docker
124.1.6. Minikube
124.2. 配置 Jenkins
124.3. Jenkinsfile
124.3.1. Jenkinsfile - Declarative Pipeline
124.3.2. Jenkinsfile - Scripted Pipeline
124.3.3. 设置环境变量
124.3.4. agent
124.3.5. Steps
124.3.6. 版本控制
124.3.7. 节点与过程
124.3.8. 工作区
124.4. Jenkins Job DSL / Plugin
124.5. Jenkins Plugin
124.5.1. Blue Ocean
124.5.2. Locale Plugin (国际化插件)
124.5.3. github-plugin 插件
124.5.4. Docker
124.5.5. JaCoCo
124.5.6. SSH Pipeline Steps
124.5.7. Rancher
124.5.8. Kubernetes 插件
124.5.9. HTTP Request Plugin
124.5.10. Skip Certificate Check plugin
124.5.11. Android Sign Plugin
124.6. Jenkinsfile Pipeline Example
124.6.1. Maven 子模块范例
124.6.2. 使用指定镜像构建
124.6.3. 命令行制作 Docker 镜像
124.6.4. Yarn
124.6.5. Android
125. SonarQube
125.1. 安装
125.1.1. Kubernetes 安装 SonarQube
125.1.2. Docker
125.1.3. netkiller-devops 安装
125.1.4. SonarScanner
125.2. 配置
125.2.1. 登陆 SonarQube
125.2.2. 本地 maven 执行 SonarQube
125.2.3. 集成 Gitlab
125.2.4. SonarScanner
125.3. FAQ
125.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]
125.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
125.3.3. [ERROR] An unknown compilation problem occurred
125.3.4. can't have 2 modules with the following key
125.3.5. Kubernetes 运行 sonar-scanner
126. Dagger
127. 持续集成工具
127.1. Code Review
127.1.1. Phabricator - an open source, software engineering platform
127.1.2. Gerrit
127.1.3. TeamCity
127.2. Nexus Repository OSS
127.2.1. 安装 Nexus
127.2.2. Nexus UI
127.2.3. maven 设置
127.2.4. Node.js
127.2.5. Ruby
129. TRAC
129.1. Ubuntu 安装
129.1.1. source code
129.1.2. easy_install
129.1.3. Apache httpd
129.2. CentOS 安装
129.2.1. trac.ini
129.2.2. standalone
129.2.3. Using Authentication
129.2.4. trac-admin
129.3. Project Environment
129.3.1. Sqlite
129.3.2. MySQL
129.3.3. Plugin
129.4. trac.ini
129.4.1. repository
129.4.2. attachment 附件配置
129.5. trac-admin
129.5.1. adduser script
129.6. Trac 项目管理
129.6.1. Administration
129.6.2. Wiki
129.6.3. Timeline
129.6.4. Roadmap
129.6.5. Ticket
129.7. FAQ
129.7.1. TracError: Cannot load Python bindings for MySQL
129.8. Apache Bloodhound
130. Redmine
130.1. CentOS 安装
130.2. Redmine 运行
130.3. 插件
130.3.1. workflow
131. 项目管理工具
131.1. 禅道
131.2. TUTOS
XIV. 软件版本控制
132. Git - Fast Version Control System
132.1. 指定目录
132.2. Repositories 仓库管理
132.2.1. 仓库初始化
132.2.2. 克隆代码
132.2.3. 切换分支
132.2.4. 添加文件
132.2.5. 提交文件
132.2.6. 查看仓库状态
132.2.7. 比较文件
132.2.8. 推送
132.2.9. 拉去代码
132.2.10. 同步数据
132.2.11. Creating a Patch
132.2.12. 重置/回滚到指定版本
132.3. 分支管理
132.3.1. 查看本地分支
132.3.2. 创建分支
132.3.3. 删除分支
132.3.4. 切换分支
132.3.5. 重命名分支
132.3.6. git-show-branch - Show branches and their commits
132.4. 标签管理
132.4.1. 创建标签
132.4.2. 查看标签
132.4.3. 推送标签
132.4.4. 删除标签
132.5. git show - Show various types of objects
132.5.1. 查看指定版本的文件内容
132.6. git log 日志
132.6.1. hash-object
132.6.2. 查看文件历史记录
132.6.3. 目录历史记录
132.6.4. 一行显示 --oneline
132.6.5. 格式化
132.6.6. 过滤
132.6.7. all
132.6.8. full-history
132.6.9. reflog
132.7. git rev-parse - Pick out and massage parameters
132.7.1. 获得当前提交ID
132.7.2. --short
132.8. 合并分支
132.8.1. 合并分支
132.8.2. rebase
132.8.3. 合并分支解决冲突
132.8.4. 终止合并
132.8.5. 合并单个文件
132.8.6. Git 合并特定 commits 到另一个分支
132.9. 比较文件
132.9.1. 比较 SHA
132.9.2. 分支比较
132.10. 远程仓库
132.10.1. 查看远程地址
132.10.2. 显示远程地址
132.10.3. 添加远程仓库
132.10.4. 修改 origin
132.10.5. 删除 origin
132.10.6. 仓库共享
132.10.7. git-daemon 服务器
132.11. Submodule 子模块
132.11.1. 添加模块
132.11.2. checkout 子模块
132.11.3. 删除子模块
132.12. Git Large File Storage
132.12.1. 安装 LFS 支持
132.12.2. LFS lock
132.13. git config
132.13.1. git config
132.13.2. 查看配置
132.13.3. 编辑配置
132.13.4. 替换配置项
132.13.5. 配置默认分之
132.13.6. GPG签名
132.13.7. core.sshCommand
132.13.8. fatal: The remote end hung up unexpectedly
132.13.9. 忽略 SSL 检查
132.13.10. 配置忽略合并文件
132.13.11. .gitignore
132.13.12. .gitattributes
132.13.13. 配置模版目录
132.14. archive 代码打包
132.14.1. 查看支持的格式
132.14.2. 导出分支代码
132.14.3. 导出制定版本
132.14.4. 导出目录和文件
132.15. git-svn - Bidirectional operation between a single Subversion branch and git
132.16. Web Tools
132.16.1. viewgit
132.17. gitolite - SSH-based gatekeeper for git repositories
132.17.1. gitolite-admin
132.18. FAQ
132.18.1. 导出最后一次修改过的文件
132.18.2. 导出指定版本区间修改过的文件
132.18.3. 撤销当前修改,恢复到远程最后一次提交
132.18.4. 回撤提交
132.18.5. 撤回单个文件提交
132.18.6. 合并分支中的单个
132.18.7. 每个项目一个证书
132.18.8. fatal: Not possible to fast-forward, aborting.
132.18.9. receive.denyCurrentBranch
132.18.10. 更新所有项目以及分支
132.18.11. 找回丢失的分支
133. Subversion
133.1. Invoking the Server
133.1.1. Installing
133.1.2. standalone “daemon” process
133.1.3. classic Unix-like inetd daemon
133.1.4. hooks
133.1.5. WebDav
133.2. repository 管理
133.2.1. create repository
133.2.2. user admin
133.2.3. authz
133.2.4. dump
133.3. 使用Subversion
133.3.1. Initialized empty subversion repository for project
133.3.2. ignore
133.3.3. 关键字替换
133.3.4. lock 加锁/ unlock 解锁
133.3.5. import
133.3.6. export 指定版本
133.3.7. 修订版本关键字
133.3.8. 恢复旧版本
133.4. branch
133.4.1. create
133.4.2. remove
133.4.3. switch
133.4.4. merge
133.4.5. relocate
133.5. FAQ
133.5.1. 递归添加文件
133.5.2. 清除项目里的所有.svn目录
133.5.3. color diff
133.5.4. cvs2svn
133.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
133.5.6. 指定用户名与密码
134. cvs - Concurrent Versions System
134.1. installation
134.1.1. chroot
134.2. cvs login | logout
134.3. cvs import
134.4. cvs checkout
134.5. cvs update
134.6. cvs add
134.7. cvs status
134.8. cvs commit
134.9. cvs remove
134.10. cvs log
134.11. cvs annotate
134.12. cvs diff
134.13. rename file
134.14. revision
134.15. cvs export
134.16. cvs release
134.17. branch
134.17.1. milestone
134.17.2. patch branch
134.18. keywords
135. 常用命令
135.1. 获取IP地址
135.2. 有趣的 Shell 应用
135.2.1. Ascii 星球大战电影
135.2.2. 天气预报
135.2.3. htop - interactive process viewer
135.2.4. elinks
135.2.5. chat
XV. Configuration Management(配置管理)
136. Ansible - SSH-based configuration management, deployment, and task execution system
136.1. install
136.2. Getting Started
136.3. ansible - run a command somewhere else
136.3.1. host-pattern
136.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
136.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
136.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
136.3.5. -s, --sudo run operations with sudo (nopasswd)
136.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
136.3.7. 使用实例
136.4. ansible-doc - Show Ansible module documentation
136.5. ansible-playbook - run an ansible playbook
136.5.1. 包含文件用法
137. Capistrano
138. Puppet
138.1. Installing Puppet CentOS 6.3
138.2. Puppet 签名
138.2.1. Agent 节点
138.2.2. Master 服务器
138.3. test
138.3.1. Master
138.3.2. Agent
138.4. 配置文件
138.4.1. /etc/sysconfig/puppet
138.4.2. /etc/puppet/fileserver.conf
138.5. manifests
138.5.1. node
138.5.2. group, user 用户组管理
138.5.3. file
138.5.4. package
138.5.5. service
138.5.6. exec
138.5.7. cron
138.6. modules
138.7. firewall 配置
138.8. debug
138.8.1. master
138.8.2. node
138.9. FAQ
138.9.1. err: Could not request certificate: No route to host - connect(2)
138.9.2. No help available unless you have RDoc::usage installed
139. SaltStack
139.1. 安装 Salt Stack
139.1.1. 服务端安装
139.1.2. 客户端安装
139.1.3. 防火墙配置
139.1.4. key 管理
139.1.5. 测试
139.1.6. Demo
139.2. salt-key - Salt key is used to manage Salt authentication keys
139.3. salt 命令
139.3.1. cmd
139.3.2. pkg.install
139.3.3. network.interfaces
139.3.4. salt example
139.4. /etc/salt/master
139.4.1. File Server settings
139.4.2. Pillar settings
139.4.3. Node Groups
139.4.4. File Server Backend
139.5. sls 脚本
139.5.1. pkg
139.5.2. service
139.6. FAQ
139.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
140. Chef
140.1. 安装 Chef
140.1.1. CentOS
141. Cobbler
142. Cfengine
143. func
144. (R)?ex Deployment & Configuration Management
145. 基于Web的系统管理软件
145.1. Webmin
145.1.1. webalizer
145.2. ajenti
XVI. 图形工具(Graphics)
146. Gnuplot
146.1. 安装 Gnuplot
146.1.1. CentOS 环境
146.1.2. Ubuntu 环境
146.1.3. 测试 Gnuplot 是否可用
146.2. terminal
146.3. output
146.4. title/xlabel/ylabel
146.5. xrange/yrange
146.5.1. 时间轴范围
146.5.2. 日期轴范围
146.6. xdata
146.6.1. Date/Time
146.7. plot
146.7.1. using
146.8. PHPlot
146.9. FAQ
146.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
146.9.2. 变量传递
147. Graphviz - Graph Visualization Software
147.1. Installation
147.1.1. Apt-get
147.1.2. Yum
147.2. The DOT Language
147.2.1. dot
147.2.2. twopi
147.2.3. gprof
147.3. Node, Edge and Graph Attributes
147.3.1. Color Names
147.3.2. Node Shapes
147.3.3. 箭头
147.4. Example
147.4.1. E-R
147.4.2. Network
147.4.3. workflow
148. RRDTool
148.1. install
148.2. rrdtool demo example
148.3. title
148.4. start / end
148.5. height / width
148.6. upper-limit / lower-limit
148.7. vertical-label
148.8. Data Source
148.9. Round Robin Archives
148.10. AREA, LINE and STACK
148.10.1. LINE
148.10.2. AREA
148.10.3. STACK
148.10.4. GPRINT
148.11. Example
148.11.1. Memory
148.11.2. example 1
148.11.3. example 1
149. OpenBR
150. OCR - Optical Character Recognition
150.1. Tesseract
150.2. cuneiform - multi-language OCR system
151. Open-Source tool in Java to draw UML Diagram
152. Asymptote: The Vector Graphics Language
152.1. UML
153. MetaPost
154. OpenStreetMap
154.1. OpenLayers
154.2. Leaflet
155. Baidu Map
155.1. BMap.Circle
XVII. 多媒体信息处理(Multimedia)
156. Audio
156.1. lame
157. Video
157.1. FFmpeg
157.1.1. 安装
157.1.2. 视频格式转换
157.1.3. 提取视频中的音频
157.1.4. 添加字幕
157.1.5. 音频格式转换
157.2. OpenShot
157.3. cinelerra-cv
158. 图像处理(Graphics)
158.1. GraphicsMagick
158.1.1. 安装
158.1.2. 识别图像信息
158.1.3. mogrify
158.1.4. 图像格式转换
158.1.5. montage
158.1.6. 截屏
158.1.7. 显示图像
158.2. ImageMagick
158.2.1. install
158.2.2. convert
158.2.3. 查看支持字体列表
158.3. Photivo
158.4. F-Spot
158.5. librsvg2 - 转换 SVG 图像为 PNG
158.6. How to add metadata to digital pictures from the command line
159. Music score
159.1. Synthesizer
159.1.1. ZynAddSubFX
159.2. Drums
159.2.1. Hydrogen
159.3. LilyPond
159.3.1. Example
159.4. MuseScore
159.5. ardour
159.6. LMMS
159.7. Qsynth
159.8. Rosegarden
159.9. TerminatorX
159.10. Pulseaudio
160. 流媒体(Stream)
160.1. 检查是否支持流媒体
160.2. broadcast streaming
160.2.1. gnump3d - A streaming server for MP3 and OGG files
160.2.2. icecast2 - Ogg Vorbis and MP3 streaming media server
160.2.3. shoutcast
160.2.4. PeerCast
160.3. WebRTC
160.3.1. WebRTC
160.3.2. mediasoup
162. 常用命令
162.1. 获取IP地址
162.2. 有趣的 Shell 应用
162.2.1. Ascii 星球大战电影
162.2.2. 天气预报
162.2.3. htop - interactive process viewer
162.2.4. elinks
162.2.5. chat
XVIII. 数字证书,编码与解码
163. UUID (Universally Unique Identifier)
163.1. GUID
163.2. Subversion
163.3. PHP UUID
163.4. JAVA UUID
163.5. PERL UUID
163.6. Python UUID
163.7. MySQL uuid()
163.8. linux command uuid
164. Encode & Decode
164.1. MIME (BASE64) 专题
164.1.1. Linux Command base64
164.1.2. PHP Base64
164.1.3. Python Base64
164.1.4. perl base64
164.1.5. Java Base64
164.1.6. C/C++ Base64
164.2. Uuencode
164.2.1. PHP uuencode
164.3. Quoted-Printable
164.3.1. C Quoted-Printable
164.3.2. Java Quoted-Printable
164.3.3. Python Quoted-Printable
164.4. Base58
164.4.1. php
164.4.2. Java Base58
165. Message Digest (数字摘要)
165.1. MD5专题
165.1.1. md5sum
165.1.2. PHP md5()
165.1.3. MySQL md5()
165.1.4. Java MD5
165.1.5. perl md5
165.2. SHA 专题
165.2.1. sha1sum
165.2.2. PHP sha1()
165.2.3. Java SHA
165.2.4. Perl
165.3. CRC32
165.3.1. PHP CRC32
165.3.2. Java CRC32
165.4. 第三方工具
165.4.1. htpasswd
165.4.2. htdigest
165.4.3. md5sum
165.4.4. sha1sum
166. DES crypt() 专题
166.1. C crypt()
166.2. PHP crypt()
166.3. perl crypt
166.4. mysql crypt
166.5. Java crypt
166.5.1. Java 8 DES
166.6. grub-md5-crypt - Encrypt a password in MD5 format.
167. AES
167.1. Java
167.1.1. AES/ECB/PKCS5Padding
167.1.2. AES/CBC/PKCS5PADDING
167.2. PHP
167.2.1. AES/ECB/PKCS5Padding
168. GnuPG
168.1. 安装 GnuPG
168.1.1. CentOS 8 Stream
168.1.2. Ubuntu
168.1.3. macOS
168.2. 创建密钥
168.2.1. 创建密钥并指定过期时间
168.2.2. 快速创建密钥对
168.3. 查看密钥
168.4. 吊销密钥
168.5. 删除密钥
168.6. 密钥倒入/导出
168.6.1. 导出密钥
168.6.2. 导入密钥
168.6.3. 导入所有密钥
168.6.4. 密钥迁移
168.7. 签名
168.8. 加密/解密文件
168.8.1. 加密文件
168.8.2. 解密
168.8.3. 指定用户ID
168.8.4. 签名+加密
168.9. 修改密钥
168.9.1. 显示帮助信息
168.9.2. 签名
168.9.3. 公钥信任配置
168.10. 加密备份 MySQL
168.10.1. 创建密钥对
168.10.2. 数据库备份
168.10.3. 数据库还原
168.11. FAQ
168.11.1. 指定 passphrase
168.11.2. 旧版本 1.4.11
168.12. GnuPG For Windows
168.12.1. 生成密钥对
168.12.2. 列出密钥
168.12.3. 验证签字
168.12.4. EMail-Security
168.13. Smart Card
168.14. PGP
168.15. OpenPGP
169. OpenSSL
169.1. openssl 命令参数
169.1.1. version
169.1.2. 测试加密算法的速度
169.1.3. req
169.1.4. x509
169.1.5. ca
169.1.6. crl
169.1.7. pkcs12
169.1.8. passwd
169.1.9. digest
169.1.10. enc
169.1.11. rsa
169.1.12. dsa
169.1.13. rc4
169.1.14. -config 指定配置文件
169.1.15. -subj 指定参数
169.1.16. rand
169.1.17. 去除私钥的密码
169.1.18. ciphers
169.2. web 服务器 ssl 证书
169.2.1. Nginx
169.3. s_server / s_client
169.3.1. SSL POP3 / SMTP / IMAP
169.3.2. server / client 文件传输
169.3.3. 检查证书是否支持指定的 cipher
169.3.4. HTTP SSL 证书
169.4. smime
169.5. Outlook smime x509 证书
169.5.1. 快速创建自签名证书
169.5.2. 企业或集团方案
169.6. 证书转换
169.6.1. CA证书
169.6.2. 创建CA证书有效期为一年
169.6.3. x509转换为pfx
169.6.4. PEM格式的ca.key转换为Microsoft可以识别的pvk格式
169.6.5. PKCS#12 到 PEM 的转换
169.6.6. 从 PFX 格式文件中提取私钥格式文件 (.key)
169.6.7. 转换 pem 到到 spc
169.6.8. PEM 到 PKCS#12 的转换
169.6.9. How to Convert PFX Certificate to PEM Format for SOAP
169.6.10. DER文件(.crt .cer .der)转为PEM格式文件
169.6.11. JKS 转 X509
169.6.12. jks to pem
169.7. 其他证书工具
169.8. OpenSSL 开发库
169.8.1. DES encryption with OpenSSL
170. 数据库与加密
170.1. MySQL 加密函数
170.1.1. AES_ENCRYPT / AES_DECRYPT
170.1.2. 通过PHP mcrypt 函数加密解密MySQL数据库
171. Java - keytool
171.1. 创建证书
171.2. Private key generation
171.3. Public Key Certificate (optional)
171.4. import your signed certificate
171.5. Import the certificate and attach it to your server key pair
171.6. Key pair verification
172. .Net makecert
172.1. 访问X.509证书
173. Secure Tunnel
173.1. OpenSSH Tunnel
173.1.1. SOCKS v5 Tunnel
173.2. SSL Tunnel
173.2.1. 通过SSL访问POP、IMAP、SMTP
173.3. DeleGate
174. 硬盘分区与文件系统加密
174.1. Microsoft 文件系统加密
174.1.1. Microsoft Encrypting File System (EFS)
174.1.2. BitLocker
175. Office
175.1. Calc
175.1.1. 函数
176. OpenStego - 图像文件水印加密
177. 邮件原文
177.1. Subject Unicode
177.2. TO/CC/BCC
177.3. 正文
177.4. POP Sniffer
177.5. PHP mail()
178. Smart card(智能卡)
178.1. OpenSC - tools and libraries for smart cards
178.1.1. 安装 OpenSC
178.2. openct-tool - OpenCT smart card utility
178.3. ccid - Generic USB CCID smart card reader driver
178.4. usbutils: Linux USB utilities
178.5. USB Token
178.5.1. Open[F]irst
178.5.2. [S]oPin 验证管理员
178.5.3. LED 灯控制
178.5.4. [L]ist
178.5.5. File[M]enu 文件菜单
178.5.6. Set[u]pMenu 设置菜单
178.5.7. Linux ePass
179. Credentials Organization
179.1. VeriSign
179.1.1. iTrusChina
179.1.2. Thawte
179.1.3. Geotrust
179.2. UserTrust
179.3. 境内其他CA机构
179.3.1. WoSign®、I'm Verified®、WoTrust®、沃通®
179.4. SSL FOR FREE
179.5. Let’s Encrypt
XIX. 文字/语音/视频 通信
180. 即时通信
180.1. Matrix
180.1.1. Synapse
180.2. IRC - Internet Relay Chat
180.2.1. IRC Protcol
180.2.2. IRC Commands
180.2.3. ircd-irc2 - The original IRCNet IRC server daemon
180.2.4. ircd-hybrid
180.2.5. IRC Client
180.2.6. Web IRC
180.3. jabber XMPP
180.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
180.3.2. tigase
180.3.3. Openfire
180.3.4. DJabberd
180.3.5. freetalk - A console based Jabber client
180.3.6. library
180.4. News Group (innd)
180.4.1. Ubuntu
180.4.2. CentOS
180.4.3. User Authentication
180.4.4. usenet 管理
180.4.5. 通过SSL连接
180.4.6. src.rpm 安装
180.4.7. 常用新闻组
181. FreeSWITCH
181.1. Docker 安装
181.1.1. 配置 freeswitch
181.1.2. 管理 freeswitch
181.2. Rocky Linux / AlmiLinux 安装
181.3. 防火墙端口
181.4. 备份 freeswitch 配置文件
181.5. 基本配置 /etc/freeswitch/vars.xml
181.5.1. 默认密码
181.5.2. 领域
181.5.3. 公网IP地址
181.5.4. NAT 配置
181.5.5. 编码
181.5.6. 控制台日志级别
181.5.7.
181.6. 配置 NAT
181.6.1. 旁路模式
181.6.2. 启用 100rel
181.7. 测试号码
181.7.1. 测试分机号
181.8. switch.conf.xml
181.9. 网关配置
181.10. 新增号段
181.11. logfile.conf.xml
181.11.1. 控制台日志配置
181.11.2. 日志文件配置
181.11.3. sofia.conf.xml 日志级别配置
181.11.4. switch.conf.xml 日志配置
181.12. 视频通话
181.13. 语音邮箱(voicemail)
181.14. 多租户(多领域)配置
181.15. 组呼叫配置
181.16. 代接电话
181.17. MySQL 模块配置
181.17.1. 安装 mariadb
181.17.2. 安装模块
181.17.3. 启用 mysql 支持
181.17.4. db.conf.xml
181.17.5. switch.conf.xml
181.17.6. 修改 sip_profile 配置文件
181.17.7. 检查配置
181.18. fs_cli
181.18.1. fs_cli Socket Client 配置
181.18.2. 退出 fs_cli
181.18.3. 日志
181.18.4. profile
181.18.5. sofia status
181.18.6. sip 抓包
181.18.7. internal 状态查看
181.18.8. external 状态
181.18.9. 注册状态查看
181.18.10. 呼叫
181.18.11. 呼叫
181.18.12. 呼叫测试
181.18.13. 正则测试
181.18.14. 变量求值
181.19. 中文语音包
181.20. TLS
181.20.1. 创建 CA 根证书
181.20.2. 创建服务器证书
181.20.3. 开启TLS,监听 5061 端口
181.21. fusionPBX
181.22. 开发
181.22.1. FreeSWITCH 用户管理
181.22.2. Java 开发包
181.23. 备份和恢复
182. Kamailio
182.1. Docker 安装 Kamailio
182.1.1. Alpine 镜像
182.2. RPM 包安装 kamailio
182.3. 配置 kamailio
182.3.1. 配置外网IP地址
182.3.2. MySQL 数据库
182.3.3. DBTEXT 配置
182.3.4. Berkeley DB 配置
182.3.5. sqlite
182.3.6. 日志文件
182.4. RTP
182.4.1. RTPProxy
182.4.2. rtpengine
182.5. 管理 Kamailio
182.5.1. 进程管理
182.5.2. 用户管理
182.5.3. 监控模式
182.6. kamcmd
182.6.1. tm.stats
182.6.2.
183. 其他 Voice over IP(VoIP)
183.1. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
183.1.1. Yate Server
183.1.2. 配置文件样本
183.1.3. 添加用户
183.1.4. regexroute.conf
183.1.5. 测试
183.1.6. SBC(SIP Session Border Controller) 会话边界控制器
183.1.7. 配置路由
183.1.8. 配置会议室
183.1.9. Yate Client
183.2. Gnu Gatekeeper
183.2.1. Gnu Gatekeeper Install
183.2.2. Gnu Gatekeeper Configure
183.2.3. Gnu Gatekeeper Test
183.3. OpenSIPS
183.3.1. 安装 OpenSIPS
183.3.2. 数据库部署
183.3.3. 测试 opensips
183.4. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
183.4.1. Redhat/CentOS/RockyLinux/AlmiLinux
183.4.2. 源码安装 asterisk-22
183.4.3. Ubuntu
183.4.4. RasPBX – Asterisk for Raspberry Pi
183.4.5. 配置文件
183.4.6. 拨号规则设置
183.4.7. pjsip
183.4.8. 配置例子
183.5. VOCAL (includes a SIP to H.323 translator)
183.6. sngrep - SIP Messages flow viewer
183.6.1. Rocky Linux 安装 sngrep
183.6.2. MacOS
183.6.3. debian 安装sngrep
183.6.4. 命令行参数
183.6.5. UI 快捷鍵
183.7. 电话
183.7.1. Linksys/PAP2T-5.1.6(LS) 登录 freeSWITCH 和 asterisk 失败
183.7.2. Avaya
183.7.3. 电脑软件正常登录,手机APP正常登录,Yealink 电话无法登录
183.7.4. 软电话
183.8. FAQ
183.8.1. SIP ALG
184. WebRTC/Ortc
184.1. coturn - ICE Server
184.1.1. DNF 安装 coturn
184.1.2. TUN 配置例子
184.1.3. Javascript 连接 ICE Server 例子
184.1.4. 测试
184.1.5. FAQ
XX. SBC - Single-board computers
185. Raspberry Pi
185.1. 配置工具
185.1.1. rpi-update
185.2. WiFi 配置
185.2.1. 网络状态
185.2.2. WIFI 配置
185.2.3. WiFi 热点配置
185.3. Android 9 Pie
XXI. Home Assistant
186. Home Assistant
186.1. 安装 Home Assistant
186.1.1. Docker 安装
186.1.2. Debian
186.1.3. Ubuntu
186.1.4. 升级
186.2. 配置文件
186.3. Home Assistant Community Store
186.3.1. 正常安装
186.3.2. 遇到 Github 无法访问的情况怎么处理
186.3.3. 手工安装
186.3.4. Node-Red
186.3.5. Xiaomi Miot Auto
186.4. ha 命令
186.4.1. 检查版本
186.4.2. network
186.4.3. 修改 DNS
186.4.4. supervisor 管理
186.4.5. core
186.4.6. jobs
186.5. FAQ
186.5.1. Media change: please insert the disc labeled
187. Node-Red
187.1. function
187.1.1. 银行方案
187.2. 方案
187.3. 支付接口
188. ChatGPT 接口
188.1. ChatGPT Web 界面
188.2. ChatGPT 接口
189. GPS
189.1. GPS 模块
189.2. GPS 协议
189.3. 安装 gpsd
189.4. traccar
XXII. X Window
190. install x window
190.1. xinput - utility to configure and test X input devices
191. X Setup
191.1. 取消开机启动画面
191.2. Automatic login
191.3. disable x window
192. Fonts 字体
192.1. fc-list 字体查看命令
192.1.1. 查看所有字体
192.1.2. 查看中文字体
192.2. 查看字体详情
192.3. 安装字体
192.4. Linux 可安装的字体
192.4.1. 文泉驿系列(开源免费)
192.4.2. 文鼎
192.4.3. 思源黑体(Adobe 与 Google 联合开发,开源)
193. X Terminal
193.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
193.1.1. VNC
193.1.2. xdmcp
193.2. vinagre - a remote desktop viewer for the GNOME Desktop
193.3. rdesktop - A Remote Desktop Protocol client
193.3.1. -g: desktop geometry (WxH)
193.3.2. -f: full-screen mode
193.3.3. -A: enable SeamlessRDP mode
193.3.4. -z: enable rdp compression
193.3.5. -r: enable specified device redirection (this flag can be repeated)
193.4. tigervnc
193.5. TightVNC
194. Unity
194.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
195. X Window System
195.1. Fluxbox
195.2. LXDE
195.3. Xfce
195.4. Xming X Server for Windows
196. X Application Software
196.1. ubuntu-restricted-extras
196.2. Keyboard Input Methods(输入法)
196.3. 浏览器
196.3.1. Firefox
196.3.2. Chromium Web Browser
196.4. Download Software
196.5. PAC Manager
196.6. LibreOffice
196.7. VYM (View Your Mind)
196.8. greenshot
196.9. Window Switch
196.10. gparted
197. Office
197.1. Calc
197.1.1. 函数
198. IBM WebSphere
198.1. WebSphere Commerce Engerprise 7.0
198.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
198.2.1. WAS
198.2.2. Plugins
198.2.3. IHS
198.2.4. backup
198.3. UpdateInstaller (CommerceServer70)
198.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
198.5. creating a WebSphere Commerce instance
198.6. enableFeature
198.6.1. foundation
198.6.2. management-center
198.6.3. store-enhancements
198.6.4. checkEnablementStatus
198.6.5. check version
198.7. Start IBMIHS and AppServer
198.7.1. IBMIHS
198.7.2. AppServer
198.7.3. Starting and stopping the WebSphere Commerce Information Center
198.7.4. 管理入口
198.8. Initialization store
199. FAQ
199.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. Netkiller 系列免费电子书
1.1. 服务器怎样分区才合理
1.2. Linux desktop partition
22.1. 文件目录表达式
22.2. 字符串表达式
22.3. 组合表达式
40.1. net.ipv4.ip_forward
77.1. Volume Group Management
9. 表格标题

范例清单

2.1. 开启交换分区
2.2. nmon
11.1. 增加交换分区
11.2. GPT Example
11.3. 创建扩展分区
14.1. netplan dhcp 例子
14.2. bonding example
14.3. 命令行建立WiFi链接步骤
15.1. /usr/lib/systemd/system/tomcat.service
22.1. A "Power User" Prompt
22.2. A Prompt the Width of Your Term
22.3. The Elegant Useless Clock Prompt
22.4. Basic conditional example if .. then
22.5. Conditionals with variables
22.6. case
22.7. Functions with parameters sample
22.8. Using select to make simple menus
22.9. Using the command line
22.10. Reading user input with read
22.11. read
22.12. random password
23.1. 增量备份(find + tar)
23.2. 清理过期日志
23.3. 查找并移动旧文件
23.4. 按时间和大小组合查找
35.1. parallel - build and execute shell command lines from standard input in parallel
40.1. /etc/sysconfig/iptables
40.2. connlimit 实例
40.3. CentOS 5.6
43.1. openvpn.conf
43.2. server.conf
43.3. Openvpn 桥接模式服务器配置实例
43.4. 双网卡配置实例
43.5. client.conf
43.6. server.ovpn
43.7. client.ovpn
43.8. office.conf
43.9. home.ovpn
46.1. Nginx SSL 双向认证,证书生成过程
46.2. Expires Examples
46.3. nginx expires
46.4. Example: valid_referers
46.5. Nginx + Tomcat
49.1. /etc/profile.d/java.sh
49.2. /etc/init.d/tomcat
49.3. Example /srv/apache-tomcat/conf
49.4. tomcat firewall
49.5. /etc/rc.d/init.d/www
50.1. index.php
50.2. autolamp.sh
50.3. R=301
50.4. mod_perl.conf
51.1. /etc/init.d/lighttpd
51.2. lighttpd compress
51.3. lighttpd expire
51.4. fastcgi.conf
51.5. Cache
52.1. explicit host in resin.conf
52.2. regexp host in resin.conf
52.3. host-alias in the resin.conf
52.4. host-alias in a /var/www/hosts/foo/host.xml
52.5. host-alias-regexp in the resin.conf
52.6. shared database in host
52.7. rewrite-dispatch
54.1. default.vcl
65.1. SMTP 服务器配置实例
66.1. Subject Unicode
73.1. examples
73.2. backup to a central backup server with 7 day incremental
73.3. backup to a spare disk
73.4. mirroring vger CVS tree
73.5. automated backup at home
73.6. Fancy footwork with remote file lists
73.7. /etc/csync2.cfg
75.1. nginx-gridfs
75.2. Mirror
75.3. Strip
81.1. zabbix-agent 配置实例
82.1. config.php
82.2. spring boot logback
82.3. Elasticsearch 索引切割示例
84.1. cacti config.php
84.2.
86.1. mrtg
89.1. keepalived.conf
89.2. /etc/keepalived/keepalived.conf
90.1. piranha master
90.2. piranha slave
91.1. haproxy + mysql 配置实例
91.2. Haproxy MySQL (Master + Master)
102.1. Ruby on RabbitMQ
102.2. server.py
102.3. client.py
104.1. /etc/pam.d/sshd - pam_tally2.so
104.2. /etc/pam.d/sshd - pam_listfile.so
119.1. minikube 操作演示
121.1. Redis Master/Slave
122.1. virsh
123.1. Docker 部署 GitLab 查看登陆密码
123.2. Docker 部署 gitlab-runner 注册演示
123.3. Example - Release Notes
124.1. Shell Docker 示例
125.1. SonarQube pom.xml 配置
133.1. authz
138.1. puppetd
138.2. puppetca
139.1. salt command
169.1. dsaparam & gendsa
169.2. 加密传输文件
169.3. 快速创建自签名证书
169.4. 创建CA根证书
169.5. 创建自签名的证书
169.6. DES encryption example in C
173.1. stunnel.conf
177.1. Subject Unicode
181.1. /etc/freeswitch/vars.xml
181.2. 拨号规则,配置两个号段 100~199,1000~1999
183.1. 46xxsettings.txt