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

Netkiller Linux 手札

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

Mr. Neo Chan, 陈景峰(BG7NYT)



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


电子书最近一次更新于 2026-09-04 12:04:36

版权声明

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

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. Zerobrew / Homebrew
5.5.1. Zerobrew
5.5.2. Homebrew
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. Bash Shell
19.1. bash - GNU Bourne-Again SHell
19.1.1. -n 检查脚本是否有语法错误
19.1.2. -x 显示详细运行过程
19.2. 切换身份
19.3. I/O 重定向
19.3.1. stdout
19.3.2. error 重定向
19.3.3. 使用块记录日志
19.3.4. test - 条件判断命令
19.3.5. tee - read from standard input and write to standard output and files
19.3.6. 创建文件
19.3.7. 快速清空一个文件的内容
19.4. pipes (FIFOs)
19.5. mktemp - create a temporary file or directory 临时目录与文件
19.6. History 命令历史记录
19.6.1. .bash_history
19.6.2. 清理历史记录
19.6.3. .mysql_history
19.7. hash - hash database access method
19.8. prompt
19.9. 变量 variable
19.9.1. 系统变量
19.9.2. 表达式
19.9.3. Internal Environment Variables
19.9.4. set 设置变量
19.9.5. unset 变量销毁
19.9.6. 设置变量默认值
19.9.7. export 设置全局变量
19.9.8. declare
19.9.9. Numerical 数值运算
19.9.10. Strings 字符串操作
19.9.11. Array 数组
19.9.12. read 赋值多个变量
19.9.13. eval
19.9.14. typeset
19.9.15. envsubst - substitutes environment variables in shell format strings
19.10. conditions if and case
19.10.1. if
19.10.2. case
19.11. Loops for, while and until
19.11.1. for
19.11.2. while
19.11.3. until
19.12. Functions
19.12.1. Local variables
19.13. User interfaces
19.13.1. input
19.14. subshell
19.15. Help Commands
19.15.1. man - an interface to the on-line reference manuals
19.16. getconf - Query system configuration variables
19.17. 快捷键
19.17.1. 命令行编辑命令
19.17.2. 重新执行命令快捷键
19.17.3. 终端控制快捷键
19.17.4. Bang (!) 命令
19.18. chsh - change login shell
19.19. 执行程序返回值
19.20. Z Shell
19.20.1. installing Z shell
19.20.2. Oh My ZSH!
19.20.3. Starting file
19.20.4. Prompting
19.20.5. Aliases
19.20.6. History
19.20.7. FAQ
19.21. Berkeley UNIX C shell (csh)
19.21.1.
19.22. KornShell
19.22.1.
19.23. fish shell
19.23.1. 安装 fish shell
19.23.2. 配置 fish
19.23.3. 环境变量
19.24. 有趣的 Shell 应用
19.24.1. Ascii 星球大战电影
19.24.2. 天气预报
19.24.3. htop - interactive process viewer
19.24.4. elinks
19.24.5. chat
19.25. Example
19.25.1. 有趣的Shell
19.25.2. backup
19.25.3. CPU 核心数
19.25.4. Password
19.25.5. processes
19.25.6. Shell 技巧
19.25.7. to convert utf-8 from gb2312 code
19.25.8. 使用内存的百分比
19.25.9. 合并apache被cronlog分割的log文件
19.25.10. Linux 交集 差集 并集
20. 目录和文件
20.1. dirname - 提取目录部分
20.2. basename - 提取文件名部分
20.2.1. 排除扩展名
20.2.2. 取扩展名
20.3. file — determine file type
20.4. stat
20.5. file – determine file type
20.6. mkdir - make directories
20.7. rename
20.8. touch
20.9. truncate
20.10. ls - list directory contents
20.10.1. full-time / time-style 定义日期时间格式
20.11. cp - copy files and directories
20.11.1. copy directories recursively
20.11.2. 覆盖已存在的文件
20.11.3. -a, --archive same as -dR --preserve=all
20.12. rm - remove files or directories
20.12.1. -bash: /bin/rm: Argument list too long
20.12.2. zsh: sure you want to delete all the files in /tmp [yn]?
20.13. df - report file system disk space usage
20.14. du - estimate file space usage
20.15. tac - concatenate and print files in reverse
20.16. split - split a file into pieces
20.16.1. 按行分割文件
20.16.2. 按尺寸分割文件
20.17. find - search for files in a directory hierarchy
20.17.1. 多目录匹配
20.17.2. name
20.17.3. regex
20.17.4. user
20.17.5. perm
20.17.6. type
20.17.7. -delete
20.17.8. exec
20.17.9. 排除目录
20.17.10. -ctime / -cmin - 按状态改变时间查找
20.17.11. -mtime / -mmin - 按修改时间查找
20.17.12. --newer
20.17.13. -print / -printf
20.17.14. -size
20.17.15. -path
20.17.16. 目录深度控制
20.17.17. xargs
20.17.18. 查看空文件
21. 包管理 / 压缩 / 解压
21.1. tar — The GNU version of the tar archiving utility
21.1.1. tar examples
21.1.2. gunzip
21.1.3. b2zip
21.1.4. compress
21.1.5. .xz 文件
21.1.6. -t, --list
21.1.7. tar: Removing leading `/’ from member names
21.1.8. -C, --directory=DIR
21.1.9. --exclude
21.1.10. -T
21.1.11. 日期过滤
21.1.12. 保留权限
21.1.13. -r, --append
21.1.14. 远程传输
21.1.15. 分卷压缩
21.2. cpio - copy files to and from archives
21.3. gzip
21.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
21.5. bzip2, bunzip2 - a block-sorting file compressor
21.6. RAR
21.7. 7-Zip
21.7.1. 压缩
21.7.2. 浏览压缩包
21.7.3. 解压
21.7.4. Creates self extracting archive.
21.8. RAR
21.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
22. 日期和时间
22.1. 日期格式
22.1.1. weekday name
22.2. -d --date=
22.2.1. 日期偏移量
22.2.2. 时间偏移
22.3. 时间戳
22.4. RFC 2822
22.5. UTC
22.6. 字符串转日期
23. 数值与运算
23.1. 数值运算
23.2. seq - print a sequence of numbers
23.3. bc - An arbitrary precision calculator language
24. 文本处理
24.1. iconv - Convert encoding of given files from one encoding to another
24.1.1. cconv - A iconv based simplified-traditional chinese conversion tool
24.1.2. uconv - convert data from one encoding to another
24.2. 字符串处理命令expr
24.3. cat - concatenate files and print on the standard output
24.3.1. -s, --squeeze-blank suppress repeated empty output lines
24.3.2. -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
24.3.3. 与管道配合使用
24.4. nl - number lines of files
24.5. tr - translate or delete characters
24.5.1. 替换字符
24.5.2. 英文大小写转换
24.5.3. [CHAR*] 和 [CHAR*REPEAT]
24.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
24.5.5. -d, --delete delete characters in SET1, do not translate
24.6. cut - remove sections from each line of files
24.6.1. 字符操作
24.6.2. 列操作
24.7. printf - format and print data
24.8. Free `recode' converts files between various character sets and surfaces.
24.9. /dev/urandom 随机字符串
24.10. col - filter reverse line feeds from input
24.11. apg - generates several random passwords
24.12. head/tail
24.12.1. 彩色输出
24.12.2. 跳过 n 行,输出后面内容
24.12.3. 尾部剪掉 n 行
24.13. 反转字符串或文件内容
24.14. TAB符号与空格处理
24.14.1. expand - convert tabs to spaces
24.14.2. unexpand - convert spaces to tabs
24.15. grep, egrep, fgrep, rgrep - print lines matching a pattern
24.15.1. 删除空行
24.15.2. -v, --invert-match
24.15.3. 输出控制(Output control)
24.15.4. Context control
24.15.5. Regexp selection and interpretation
24.15.6. fgrep
24.15.7. egrep
24.16. sort - sort lines of text files
24.16.1. 对列排序
24.16.2. -s, --stable stabilize sort by disabling last-resort comparison
24.17. uniq
24.18. awk
24.18.1. 处理列
24.18.2. printf
24.18.3. Pattern(字符匹配)
24.18.4. Built-in Variables (NR/NF)
24.18.5. Built-in Functions
24.18.6. 过滤相同的行
24.18.7. 数组演示
24.19. sed
24.19.1. 查找与替换
24.19.2. insert 插入字符
24.19.3. 追加字符
24.19.4. 修改字符
24.19.5. 删除字符
24.19.6. 行操作
24.19.7. 编辑文件
24.19.8. 正则表达式
24.19.9. 管道操作
24.19.10. 字母大小写转换
24.19.11. perl
24.19.12. 案例
24.20. ed, red - text editor
24.21. vim
24.21.1. vim 初始化
24.21.2. 查找与替换
24.21.3. 删除操作
24.21.4. 插入文件
24.21.5. 批处理
24.21.6. line()
24.21.7. set fileformat
24.21.8. 空格与TAB转换
24.22. XML 工具
24.22.1. xmllint - command line XML tool
24.22.2. xmlstarlet - command line XML/XSLT toolkit
24.23. jq - Command-line JSON processor
24.23.1. --raw-output
25. 表格操作/行列转换
25.1. column - columnate lists
25.2. paste - merge lines of files
25.3. join
26. standard input/output
26.1. standard input/output
26.1.1. xargs - build and execute command lines from standard input
26.2. flock - manage locks from shell scripts
27. 进制转换 - 16进制 - 8进制 - 二进制
27.1. od - dump files in octal and other formats
27.1.1. 16进制
27.1.2. 使用 od 随机生成密码
27.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
27.3. xxd - make a hexdump or do the reverse.
27.3.1. 指定每行的列数
27.3.2. 跳过字节
27.4. binutils
27.4.1. strings - print the strings of printable characters in files.
28. 文件比较
28.1. diff
28.2. sdiff
28.3. diff3
29. Wget - The non-interactive network downloader.
29.1. Logging and input file
29.1.1. -i, --input-file=FILE download URLs found in local or external FILE.
29.2. 下载相关参数
29.2.1. -O, --output-document=FILE write documents to FILE 保存到文件
29.3. HTTP options (HTTP 选项)
29.3.1. --post-data=STRING use the POST method; send STRING as the data.
29.3.2. header HTTP头定义
29.4. Recursive download
29.4.1. -r, --recursive specify recursive download.
29.4.2. -m, --mirror shortcut for -N -r -l inf --no-remove-listing.
29.5. --no-passive-ftp disable the "passive" transfer mode.
29.6. 下载一组连续的文件名
30. CURL - transfer a URL
30.1. 基本用法
30.2. 提交表单数据
30.3. 上传文件
30.4. connect-timeout
30.5. max-time
30.6. compressed
30.7. 代理服务器
30.8. -w, --write-out <format> 输出格式定义
30.9. -A/--user-agent <agent string>
30.10. referer
30.11. -v
30.12. -o, --output FILE Write output to <file> instead of stdout
30.13. -L, --location
30.14. -H/--header <line> Custom header to pass to server (H)
30.14.1. Last-Modified / If-Modified-Since
30.14.2. ETag / If-None-Match
30.14.3. Accept-Encoding:gzip,defalte
30.14.4. HOST
30.14.5. HTTP 认证
30.14.6. Accept
30.14.7. Content-Type
30.15. curl-config
30.16. 指定网络接口或者地址
30.17. Cookie 处理
30.18. Restful 应用 JSON 数据处理
30.18.1. Curl Oauth2
30.18.2. Curl + Oauth2 + Jwt
30.19. 访问自签名证书
30.20. HTTP2
30.21. FAQ
31. 信息摘要
31.1. cksum, sum -- display file checksums and block counts
31.2. md5sum - compute and check MD5 message digest
31.3.
32. envsubst - substitutes environment variables in shell format strings
32.1. envsubst - substitutes environment variables in shell format strings
32.2. parallel - build and execute shell command lines from standard input in parallel
32.3. multitail
32.4. Logging
32.4.1. logger - a shell command interface to the syslog(3) system log module
32.5. Password
32.5.1. Shadow password suite configuration.
32.5.2. newusers - update and create new users in batch
32.5.3. chpasswd - update passwords in batch mode
32.5.4. sshpass - noninteractive ssh password provider
33. 常用命令
33.1. 获取IP地址
33.2. 有趣的 Shell 应用
33.2.1. Ascii 星球大战电影
33.2.2. 天气预报
33.2.3. htop - interactive process viewer
33.2.4. elinks
33.2.5. chat
III. Network Application
34. network tools
34.1. curl / w3m / lynx
34.2. DHCP
34.2.1. DHCP Server
34.2.2. dhclient
34.2.3. release matching connections
34.3. DNS/Bind
34.3.1. 安装 bind9
34.3.2. forwarders
34.3.3. Load Balancing
34.3.4. view
34.3.5. Master / Slave
34.3.6. DNS tools
34.3.7. DNS
34.3.8. NamedManager
34.4. dnsmasq
34.4.1. Install
34.4.2. /etc/dnsmasq.conf
34.4.3. dnsmasq.resolv.conf
34.4.4. dnsmasq.hosts
34.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
34.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
34.4.7. FAQ
34.5. ngrok - tunnel local ports to public URLs and inspect traffic
36. Proxy Server
36.1. Socks/Socks5
36.1.1. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
36.1.2. Socks5
36.1.3. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
36.1.4. SSH Socks5 Tunnel
36.1.5. hpsockd - HP SOCKS server
36.2. frp 反向代理
36.2.1. 安装
36.2.2. 配置 systemd
36.3. Apache Proxy
36.4. Squid - Internet Object Cache (WWW proxy cache)
36.4.1. 源码安装
36.4.2. debian/ubuntu 安装
36.4.3. 配置
36.4.4. Squid 管理
36.4.5. 禁止页面被Cache
36.4.6. Squid 实用案例
36.4.7. squid+icap+clamav
36.5. Web page proxy
36.5.1. Surrogafier
36.5.2. CGIproxy
36.5.3. PHPProxy
36.5.4. BBlocked
36.5.5. Glype
36.5.6. Zelune
36.6. rinetd — internet “redirection server”
36.6.1. rinetd install
36.6.2. rinetd.conf
36.6.3. 防御脚本
36.6.4. rinetd.log
37. Firewall
37.1. TCP/IP 相关内核配置项
37.1.1. net.ipv4.ip_forward
37.1.2. net.ipv4.icmp_echo_ignore_all
37.2. iptables - administration tools for packet filtering and NAT
37.2.1. Getting Started
37.2.2. 用户自定义规则连
37.2.3. Protocols 协议
37.2.4. Interfaces 网络适配器接口
37.2.5. 源IP地址
37.2.6. Ports 端口
37.2.7. NAT
37.2.8. Module(模块)
37.2.9. IPV6
37.2.10. iptables-xml - Convert iptables-save format to XML
37.2.11. access.log IP封锁脚本
37.2.12. Example
37.3. ulogd - The Netfilter Userspace Logging Daemon
37.4. ufw - program for managing a netfilter firewall
37.4.1. /etc/default/ufw
37.4.2. ip_forward
37.4.3. DHCP
37.4.4. Samba
37.5. CentOS 7/8 Firewalld
37.5.1. 如果你不习惯使用firewalld想用回Iptables
37.5.2. 安装 firewalld
37.5.3. firewalld 配置文件
37.5.4. firewall-cmd
37.5.5. 区域
37.5.6. 端口操作
37.5.7. 服务
37.5.8. IP 伪装
37.5.9. 端口转发
37.5.10. 富规则
37.6. Shorewall
37.6.1. Installation Instructions
37.6.2. Configuring Shorewall
37.7. Firewall GUI Tools
37.8. Endian Firewall
37.9. Smooth Firewall
37.10. Sphirewall
38. Stunnel - universal SSL tunnel
39. OpenSSH
39.1. 安装 OpenSSH
39.2. /etc/ssh/
39.2.1. IP地址限制
39.2.2. sshd_config
39.2.3. ssh_config
39.2.4. ~/.ssh/config
39.3. ssh client
39.3.1. -o option 参数详解
39.3.2. 调试模式,显示连接过程
39.3.3. 远程执行 Shell 支持彩色终端输出
39.4. OpenSSH Tunnel
39.4.1. SOCKS v5 Tunnel
39.4.2. 从公网穿透局域网
39.5. ssh-keygen — authentication key generation, management and conversion
39.5.1. .ssh/known_hosts
39.6. ssh-keyscan
39.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
39.8. ssh-agent
39.8.1. ssh-add
39.8.2. Lock / Unlock agent
39.8.3. Set lifetime (in seconds) when adding identities.
39.9. OpenSSH for Windows
39.9.1. Putty Client
39.10. Google Authenticator - Android Apps on Google Play
39.11. 禁止SSH密码穷举
39.12. FAQ
39.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
39.12.2. 去掉 passphrase
39.12.3. 打印调试信息
39.12.4. 远程执行 sudo 提示密码
39.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
40. VPN (Virtual Private Network)
40.1. WireGuard
40.1.1. 安装 WireGuard
40.1.2. 创建证书
40.1.3. 服务端
40.1.4. 客户端
40.1.5. 路由配置
40.1.6. wireguard-tools 命令
40.1.7. 案例:Server - Peer 互通,同时 Peer - Peer 也互通
40.1.8. MacOS wireguard
40.1.9. Ubuntu
40.2. OpenVPN (openvpn - Virtual Private Network daemon)
40.2.1. 安装 OpenVPN Server
40.2.2. Easy-RSA 3
40.2.3. Openvpn Client
40.2.4. OpenVPN GUI for Windows
40.2.5. point-to-point VPNs
40.2.6. VPN 案例
40.2.7. OpenVPN安全
40.3. pptpd
40.3.1. Server 服务端
40.3.2. Client 客户端
40.3.3. FAQ
40.4. l2tpd - dummy package for l2tpd to xl2tpd transition
40.4.1. Docker 安装 L2TP
40.4.2. Ubuntu
40.4.3. CentOS 8 Stream
40.4.4. Ipsec VPN
40.4.5. FAQ
40.5. IKEv2 VPN Server
40.5.1. OpenVPN Ikev2
40.5.2. IKEv2 VPN Server on Docker
40.5.3. strongswan - IPSec utilities for strongSwan
40.6. openswan - IPSEC utilities for Openswan
40.7. N2N VPN
40.8. Hypersocket VPN
40.9. Tailscale
41. Point to Point
41.1. download
41.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
41.1.2. mldonkey-server - Door to the 'donkey' network
41.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
42. Let's Encrypt's 免费SSL证书
42.1. 安装 certbot 工具
42.1.1. CentOS/Rocky Linux
42.1.2. Ubuntu
42.2. 生成证书,HTTP 文件认证
42.3. 手工生成证书,基于 DNS 认证
42.4. 证书更新
42.5. acme.sh
43. Nginx
43.1. Installing
43.1.1. Netkiller OSCM 一键安装 (CentOS 7)
43.1.2. Installing by apt-get under the debain/ubuntu
43.1.3. CentOS
43.1.4. installing by source
43.1.5. CentOS 7
43.1.6. Mac
43.1.7. rotate log
43.2. Nginx 命令
43.2.1. -V show version and configure options then exit
43.2.2. -t : test configuration and exit
43.2.3. test configuration, dump it and exit
43.3. nginx.conf 配置文件
43.3.1. 处理器配置
43.3.2. events 配置
43.3.3. Nginx 变量
43.4. http 配置
43.4.1. 缓冲区相关设置
43.4.2. 超时设置
43.4.3. server_tokens 隐藏 nginx 版本号
43.4.4. zstd 压缩
43.4.5. gzip
43.4.6. ssi
43.4.7. DNS 解析
43.4.8. rewrite
43.5. server
43.5.1. listen
43.5.2. server_name 配置
43.5.3. location
43.5.4. root 通过$host智能匹配目录
43.5.5. alias
43.5.6. try_files
43.5.7. SSL 虚拟主机
43.5.8. HTTP2 配置 SSL证书
43.5.9. expires
43.5.10. access
43.5.11. autoindex
43.5.12. return
43.5.13. add_header
43.5.14. client_max_body_size 上传文件尺寸限制
43.6. upstream 负载均衡
43.6.1. weight 权重配置
43.6.2. backup 实现热备
43.7. Proxy
43.7.1. proxy_cache
43.7.2. rewrite + proxy_pass
43.7.3. request_filename + proxy_pass
43.7.4. $request_uri 与 proxy_pass 联合使用
43.7.5. try_files 与 proxy_pass 共用
43.7.6. Proxy 与 SSI
43.7.7. Host
43.7.8. expires
43.7.9. X-Forwarded-For
43.7.10. X-Sendfile
43.7.11. proxy_http_version
43.7.12. proxy_set_header
43.7.13. 隐藏头部信息
43.7.14. 忽略头
43.7.15. proxy_pass_request_headers 透传 Header
43.7.16. timeout 超时时间
43.7.17. sub_filter 文本替换
43.7.18. 站外代理
43.7.19. Proxy SSE(Server-Sent Events)
43.7.20. example
43.7.21. HTTP Auth 认证冲突
43.8. fastcgi
43.8.1. spawn-fcgi
43.8.2. php-fpm
43.9. Nginx module
43.9.1. stub_status 服务器状态采集模块
43.9.2. sub_filter 页面中查找和替换
43.9.3. auth_basic HTTP 认证模块
43.9.4. valid_referers
43.9.5. ngx_http_flv_module
43.9.6. ngx_http_mp4_module
43.9.7. limit_zone
43.9.8. image_filter
43.9.9. ngx_stream_proxy_module
43.9.10. ngx_http_mirror_module
43.9.11. limit_except
43.9.12. geoip_country_code
43.10. Example
43.10.1. Nginx + Tomcat
43.10.2. 拦截index.html
43.10.3. Session 的 Cookie 域处理
43.11. FAQ
43.11.1. 405 Not Allowed?
43.11.2. 413 Request Entity Too Large
43.11.3. 499 Client Closed Request
43.11.4. 502 Bad Gateway?
43.11.5. 504 Gateway Time-out
43.11.6. proxy_pass
43.11.7. proxy_pass SESSION 丢失问题
43.11.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
43.11.9. server_name 与 SSI 注意事项
43.11.10. location 跨 document_root 引用,引用 document_root 之外的资源
43.11.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
43.11.12. 127.0.0.1:8080 failed
43.11.13. failed (13: Permission denied) while connecting to upstream
43.11.14. upstream sent too big header while reading response header from upstream
43.11.15. 很目录 index.html 正常访问,其他文件都是 404
43.11.16. nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
44. Openresty
44.1. 安装 Openresty
44.1.1. 源码安装
44.2. Openresty 开发
44.2.1. Hello world!!!
44.2.2. 日期和时间
44.2.3. 数据结构
44.2.4. echo 输出
44.2.5. 参数处理
44.2.6. Nginx 变量
44.2.7. Json
44.2.8. Redis
44.2.9. Nginx 缓存
44.2.10. logs
44.3. 实现灰度发布
44.4. Redis
45. Caddy
45.1. 安装 Caddy
45.1.1. CentOS/Rocky Linux/AlmiLinux
45.2. 命令行
45.2.1. 启动 Caddy
45.2.2. 文件服务器
45.3. /etc/caddy/Caddyfile
45.3.1. 导入配置文件 Caddyfile.d
45.3.2. 监听地址
45.3.3. 日志
45.3.4. 反向代理
45.3.5. Let's Encrypt 免费 SSL 证书
45.3.6. 返回内容
45.3.7.
45.3.8. 绑定域名
46. Apache Tomcat
46.1. Tomcat 安装与配置
46.1.1. Tomcat 6
46.1.2. Tomcat 7
46.1.3. Java 8 + Tomcat 8
46.1.4. Tomcat 9/10
46.1.5. 防火墙配置
46.1.6. 同时运行多实例
46.1.7. Testing file
46.1.8. mod_jk
46.1.9. mod_proxy_ajp
46.1.10. RewriteEngine 连接 Tomcat
46.1.11. SSL 双向认证
46.2. 配置 Tomcat 服务器
46.2.1. server.xml
46.2.2. tomcat-users.xml
46.2.3. context.xml
46.2.4. logging.properties
46.2.5. catalina.properties
46.3. 虚拟主机配置
46.3.1. 方案一
46.3.2. 方案二
46.3.3. Alias 别名
46.3.4. access_log
46.3.5. Context 配置
46.3.6. 主机绑定IP地址
46.4. SSI
46.5. Logging 日志
46.5.1. 开启 debug 模式
46.5.2. 切割 catalina.out 日志
46.6. Init.d Script
46.6.1. Script 1
46.6.2. Shell Script 2
47. Apache httpd
47.1. Install
47.1.1. Quick install apache with aptitude
47.1.2. CentOS 6
47.1.3. Compile and then install Apache
47.1.4. XAMPP
47.2. Module
47.2.1. Output a list of modules compiled into the server.
47.2.2. Core
47.2.3. mpm
47.2.4. Apache Log
47.2.5. mod_access
47.2.6. VirtualHost
47.2.7. Alias / AliasMatch
47.2.8. Redirect / RedirectMatch
47.2.9. Rewrite
47.2.10. Proxy
47.2.11. Deflate
47.2.12. Expires
47.2.13. Cache
47.2.14. usertrack
47.2.15. Charset
47.2.16. Dir
47.2.17. Includes
47.2.18. Apache Status
47.2.19. Mod Perl
47.2.20. mod_pagespeed -
47.2.21. Module FAQ
47.2.22. mod_setenvif
47.2.23. PHP 程序安全问题 php_admin_value
47.2.24. mod_spdy
47.3. 设置Apache实现防盗连
47.4. .htaccess
47.5. Error Prompt
47.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
47.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
48. Lighttpd
48.1. 安装Lighttpd
48.1.1. quick install with aptitude
48.1.2. yum install
48.1.3. to compile and then install lighttpd
48.2. /etc/lighttpd/lighttpd.conf
48.2.1. max-worker / max-fds
48.2.2. accesslog.filename
48.2.3. ETags
48.2.4. server.tag
48.3. Module
48.3.1. simple_vhost
48.3.2. ssl
48.3.3. redirect
48.3.4. rewrite
48.3.5. alias
48.3.6. auth
48.3.7. compress
48.3.8. expire
48.3.9. status
48.3.10. setenv
48.3.11. fastcgi
48.3.12. user-agent
48.3.13. spdy
48.4. 其他模块
48.4.1. mod_secdownload 防盗链
48.5. Example
48.5.1. s-maxage
49. Resin
49.1. 安装Resin
49.1.1. 直接使用
49.1.2. Debian/Ubuntu
49.1.3. 源码安装Resin
49.2. Compiling mod_caucho.so
49.3. resin.conf
49.3.1. Maximum number of threads
49.3.2. Configures the keepalive
49.3.3. ssl
49.4. virtual hosts
49.4.1. explicit host
49.4.2. regexp host
49.4.3. host-alias
49.4.4. configures a deployment directory for virtual hosts
49.4.5. Resources
49.5. FAQ
49.5.1. java.lang.OutOfMemoryError: PermGen space
50. Application Server
50.1. Zope
50.2. JBoss - JBoss Enterprise Middleware
51. varnish - a state-of-the-art, high-performance HTTP accelerator
51.1. Varnish Install
51.2. varnish utility
51.2.1. status
51.2.2. varnishadm
51.2.3. varnishtop
51.2.4. varnishhist
51.2.5. varnishsizes
51.3. log file
51.4. Varnish Configuration Language - VCL
51.4.1. unset / set
51.5. example
52. Apache Traffic Server
52.1. Install
52.2. Configure
53. Cherokee
53.1. Installing Cherokee
54. Jetty
55. Web Analysis
55.1. 综合测试
55.2. Web Logs
55.2.1. awstats
55.2.2. webalizer
56. Other Web Server
56.1. Python SimpleHTTPServer
57. web 服务器排名
57.1. HTTP状态码
58. Web Server Optimization
58.1. Chrome
58.2. ulimit
58.2.1. open files
58.3. khttpd
58.4. php.ini
58.4.1. Resource Limits
58.4.2. File Uploads
58.4.3. Session Shared
58.4.4. PATHINFO
58.5. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
58.6. Zend Optimizer
58.7. eaccelerator
V. Mail Server
59. Mail server constituent
60. mail user agent (MUA)
60.1. mail
60.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
60.2.1. 发送邮件
60.2.2. 设置自定义 From
60.3. alpine - Text-based email client, friendly for novices but powerful
60.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
60.5. GPG4WIN
60.6. Evolution
61. exim - meta-package to ease Exim MTA (v4) installation
61.1. install
61.1.1. ubuntu/debian
61.1.2. CentOS/Redhat
61.2. exim 命令
61.2.1. 帮助信息
61.2.2. 测试发送邮件
61.2.3. 刷新邮件队列
61.3. 配置exim
61.3.1. /etc/aliases 别名配置
61.4. FAQ
61.4.1. Mailing to remote domains not supported
62. postfix - High-performance mail transport agent
62.1. install
62.1.1. Ubuntu
62.1.2. CentOS
62.1.3. OSCM 通过配置管理脚本安装
62.2. 配置 Postfix
62.2.1. 转发配置
62.2.2. 拒收垃圾邮件
62.2.3. 收件箱配置
62.2.4. 邮件投递
62.2.5. 队列配置
62.2.6. 客户端
62.2.7. SMTP 发送权限相关配置
62.3. aliases
62.4. dkim
62.4.1. 增加域名
62.4.2. 测试
62.5. Rspamd
62.6. /var/log/maillog
62.6.1. 计算每分钟发送数量日志统计
62.6.2. 虚假地址统计
62.7. Post 命令
62.7.1. postconf - Postfix configuration utility
62.7.2. postsuper
62.7.3. postqueue - Postfix queue control
62.7.4. postmulti - Postfix multi-instance manager
62.8. Example
62.8.1. 站内电邮发送
62.8.2. EDM 服务器
62.8.3. SMTP 邮件发送服务器
62.9. FAQ
62.9.1. SMTP ERROR: RCPT TO command failed: 501 5.1.3 Bad recipient address syntax
62.9.2. connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Network is unreachable
62.9.3. opendkim[5762]: 3012A802C1DD: [49.213.11.18] [49.213.11.18] not internal
62.9.4. opendkim[12578]: 4CC5C802C382: no signature data
62.9.5. /etc/opendkim/keys/default.private: open(): No such file or directory
62.9.6. fatal: parameter inet_interfaces: no local interface found for ::1
62.9.7. NOQUEUE: reject: MAIL from unknown[192.168.3.31]: 552 5.3.4 Message size exceeds fixed limit;
62.9.8. 452 4.3.1 Insufficient system storage
62.9.9. 454 Relay access denied
63. 邮件原文
63.1. Subject Unicode
63.2. TO/CC/BCC
63.3. 正文
63.4. POP Sniffer
63.5. PHP mail()
64. 反垃圾邮件相关
64.1. Sender Policy Framework
64.1.1. 分析 SPF 记录
64.2. DKIM
64.3. 邮件被拒收处理方法
64.3.1. NetEase
64.3.2. Sohu
64.3.3. Tom
64.3.4. QQ
64.3.5. 21CN
65. Fax
65.1. HylaFAX
66. FAQ
66.1. 通过SSH与控制台不能登录
VI. Backup, Recovery, and Archiving Solutions
67. Logical Volume Manager (LVM)
67.1. 物理卷管理(physical volume)
67.1.1. pvcreate
67.1.2. pvdisplay
67.1.3. pvs
67.2. 卷组管理(Volume Group)
67.2.1. vgcreate
67.2.2. vgdisplay
67.2.3. vgs
67.2.4. vgchange
67.2.5. vgextend
67.2.6. vgreduce
67.3. 逻辑卷管理(logical volume)
67.3.1. lvcreate
67.3.2. lvdisplay
67.3.3. lvremove
67.4. Format
67.5. mount
67.5.1. lv
67.5.2. snapshot
67.6. snapshot backup
68. 文件传输
68.1. 跨服务器文件传输
68.1.1. scp - secure copy (remote file copy program)
68.1.2. nc - TCP/IP swiss army knife
68.2. wget - retrieves files from the web
68.2.1. 下载所有图片
68.2.2. mirror
68.2.3. reject
68.2.4. ftp 下载
68.3. axel - A light download accelerator - Console version
69. FTP (File Transfer Protocol)
69.1. lftp
69.1.1. pget
69.1.2. lftp 批处理
69.2. ncftp
69.2.1. batch command
69.2.2. ncftpget
69.2.3. ncftpput
69.3. FileZilla
69.4. vsftpd - The Very Secure FTP Daemon
69.4.1. 安装 vsftpd
69.4.2. ftp 帐号的shell权限
69.4.3. vsftpd 认证模块
69.4.4. chroot
69.4.5. FAT
69.5. ProFTPD + MySQL / OpenLDAP 用户认证
69.5.1. Proftpd + MySQL
69.5.2. Proftpd + OpenLDAP
69.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
70. File Synchronize
70.1. rsync - fast remote file copy program (like rcp)
70.1.1. 安装Rsync与配置守护进程
70.1.2. rsyncd.conf
70.1.3. rsync 参数说明
70.1.4. step by step to learn rsync
70.1.5. rsync examples
70.1.6. rsync for windows
70.1.7. 多进程 rsync 脚本
70.2. tsync
70.3. lsyncd
70.3.1. 安装
70.3.2. 配置 lsyncd.conf
70.3.3. 配置演示
70.4. Unison File Synchronizer
70.4.1. local
70.4.2. remote
70.4.3. config
70.5. csync2 - cluster synchronization tool
70.5.1. server
70.5.2. node
70.5.3. test
70.5.4. Advanced Configuration
70.5.5. 编译安装
70.6. synctool
71. File Share
71.1. NFSv4
71.1.1. Ubuntu
71.1.2. CentOS
71.1.3. exports
71.1.4. NFS For Windows
71.1.5. exportfs - maintain table of exported NFS file systems
71.1.6. macOS
71.1.7. Parallel NFS(pNFS)
71.2. Samba
71.2.1. install
71.2.2. smb.conf
71.2.3. Samba 相关命令
71.2.4. FAQ
72. Distributed File Systems
72.1. DRBD (Distributed Replicated Block Device)
72.1.1. disk and partition
72.1.2. Installation
72.1.3. configure
72.1.4. Starting
72.1.5. Using
72.2. Network Block Device protocol
72.2.1. nbd-server - Network Block Device protocol - server
72.2.2. nbd-client - Network Block Device protocol - client
72.3. GridFS
72.3.1. nginx-gridfs
72.3.2. lighttpd-gridfs
72.4. Moose File System
72.4.1. Master server installation
72.4.2. Backup server (metalogger) installation
72.4.3. Chunk servers installation
72.4.4. Users’ computers installation
72.4.5. Testing MFS
72.5. LizardFS
72.6. Ceph
72.6.1. Installation on Ubuntu
72.6.2. Installation on CentOS
72.6.3. Block Devices
72.7. GlusterFS
72.7.1. glusterfs-server
72.7.2. glusterfs-client
72.7.3. Testing
72.7.4. RAID
72.7.5. Filesystem Administration
72.7.6. CentOS 6.3
72.8. Lustre
72.9. MogileFS
72.10. Kosmos distributed file system (KFS)
72.11. Hadoop - HDFS
72.12. BeeGFS - The Parallel Cluster File System
72.13. Coda
72.14. OpenAFS
73. Shared Storage
73.1. Oracle OCFS2
73.1.1. 安装
73.2. GFS2
73.3. fam & imon
74. Network Attached Storage(NAS 网络附加存储)
74.1. Network Storage - Openfiler
74.1.1. Accounts
74.1.2. Volumes
74.1.3. Quota
74.1.4. Shares
74.2. OpenMediaVault
74.3. FreeNAS
75. Backup / Restore
75.1. 备份策略
75.1.1. Incremental backup
75.1.2. Differential backup
75.2. btrbk.noarch : Tool for creating snapshots and remote backups of btrfs sub-volumes
75.3. dump / restore
75.4. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
75.4.1. Install Backup Server
75.4.2. Install Backup Client
75.5. Amanda: Open Source Backup
75.6. Attic - 拥有重复数据删除技术的备份软件
75.6.1. 安装 Attic
75.6.2. 快速开始
75.7. SafeKeep
75.8. Opendedup
76. inotify
76.1. inotify-tools
76.2. Incron - cron-like daemon which handles filesystem events
76.2.1. incrontab - inotify cron table manipulator
76.2.2. 使用说明
76.3. inotify-tools + rsync
76.4. pyinotify
VII. Monitoring
77. Prometheus
77.1. 安装 Prometheus
77.1.1. Docker 安装
77.1.2. docker swarm
77.1.3. docker-compose
77.1.4. 防火墙设置
77.2. Prometheus 配置
77.2.1. Prometheus 命令行工具
77.2.2. rules 规则配置
77.2.3. SpringBoot
77.2.4. PromQL 自定义查询语言
77.3. Prometheus Exporter
77.3.1. 监控 Docker
77.3.2. node-exporter
77.3.3. cadvisor
77.3.4. Nginx Prometheus Exporter
77.3.5. Redis
77.3.6. MongoDB
77.3.7. MySQL
77.3.8. Blackbox Exporter(blackbox-exporter)
77.3.9. SNMP Exporter
77.4. Alertmanager
77.4.1. Docker 安装
77.4.2. alertmanager.yml 配置文件
77.4.3. 触发测试
77.4.4. 警报状态
77.5. Grafana
77.5.1. cadvisor
77.5.2. Docker - container summary (Prometheus)
78. Zabbix
78.1. Installing and Configuring Zabbix
78.1.1. Ubuntu
78.1.2. CentOS Zabbix 2.4
78.1.3. Zabbix 3.x CentOS 7
78.2. web ui
78.2.1. 警告脚本
78.3. zabbix-java-gateway - Zabbix java gateway
78.4. zabbix-agent
78.4.1. Ubuntu
78.4.2. CentOS 7
78.4.3. zabbix_agentd 命令
78.4.4. Nginx status 监控
78.4.5. redis
78.4.6. MongoDB
78.4.7. PHP-FPM
78.4.8. Elasticsearch
78.4.9. Postfix
78.4.10. TCP stats
78.4.11. 应用依赖检查
78.4.12. Oracle
79. 日志收集和分析
79.1. 系统日志
79.1.1. logwatch
79.1.2. logcheck : Analyzes log files and sends noticeable events as email
79.1.3. nulog
79.1.4. Web
79.1.5. Tomcat
79.1.6. Mail
79.1.7. OpenSSH 日志 /var/log/secure
79.1.8. rinetd.log
79.2. ElasticSearch + Logstash + Kibana
79.2.1. 安装
79.2.2. logstash 命令简单应用
79.2.3. 配置 logstash
79.2.4. Example
79.2.5. Beats
79.2.6. FAQ
79.3. Grafana + Loki + Promtail
79.3.1. Docker Compose
79.3.2. Helm
79.3.3. promtail
79.4. fluentd
79.4.1. Docker 安装
79.4.2. fluent-bit
79.4.3. temporarily failed to flush the buffer
79.5. Apache Flume
79.5.1. 安装 Apache flume
79.5.2. 基本配置
79.5.3. 配置 MySQL 存储日志
79.5.4. 配置 HDFS 存储日志
79.6. php-syslog-ng
79.7. Log Analyzer
79.8. Splunk
79.9. Octopussy
79.10. eventlog-to-syslog
79.11. graylog - Enterprise Log Management for All
80. 分布式链路追踪
80.1. Apache SkyWalking
80.2. Zipkin
81. 上一代监控系统
81.1. SMS
81.1.1. gnokii
81.1.2. AT Commands
81.2. IPMI (Intelligent Platform Management Interface)
81.2.1. OpenIPMI
81.2.2. freeipmi
81.2.3. ipmitool - utility for controlling IPMI-enabled devices
81.3. Cacti
81.3.1. Install Cacti for Ubuntu
81.3.2. Yum 安装
81.3.3. Source Install
81.3.4. Web 安装
81.3.5. Cacti plugins
81.3.6. Template
81.4. Nagios
81.4.1. Install
81.4.2. nagios
81.4.3. nrpe node
81.4.4. 配置 Nagios
81.4.5. 配置监控设备
81.4.6. Nagios Plugins
81.4.7. FAQ
81.5. Munin
81.5.1. Ubuntu
81.5.2. CentOS
81.5.3. 用户认证
81.5.4. munin-node and plugins
81.5.5. munin.conf
81.5.6. munin-node
81.6. Observium
81.6.1. Installation
81.7. Ganglia
81.7.1. Server
81.7.2. Client
81.7.3. Plugin
81.7.4. Installing Ganglia on Centos
81.8. Varnish Dashboard
81.9. icinga
81.10. Graphite
81.10.1. Graphite - Scalable Realtime Graphing
81.11. BIG BROTHER
81.12. Big Sister
81.13. OpenNMS
81.14. Performance Co-Pilot
81.15. Clumon Performance Monitor
81.16. Zenoss
81.17. 商业软件
81.18. Hyperic HQ
81.19. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
81.20. HawtIO
81.21. moloch
83. 网络监控
83.1. NET SNMP (Simple Network Management Protocol)
83.1.1. 安装SNMP
83.1.2. 配置SNMP
83.1.3. SNMP 命令
83.1.4. Cisco MBI
83.2. Bandwidth
83.2.1. apt-get install
83.2.2. CentOS rpm/yum
83.2.3. source code
83.2.4. /etc/bandwidthd.conf
83.3. NetFlow
83.3.1. flow-tools - collects and processes NetFlow data
83.3.2. netams - Network Traffic Accounting and Monitoring Software
83.4. Ntop
83.4.1. Installation
83.4.2. Web UI
83.4.3. Plugins
83.5. MRTG
83.5.1. CentOS 8 Stream
83.5.2. Ubuntu 安装
83.5.3. CentOS 安装
83.5.4. 监控多个设备
83.5.5. 批量生成监控配置文件
83.5.6. 图片尺寸
83.6. lvs-rrd
VIII. Server Load Balancing
84. heartbeat
84.1. heartbeat+ldirectord
84.1.1. heartbeat
84.1.2. ldirectord
84.1.3. test
84.2. Pacemaker
85. Linux Virtual Server
85.1. 环境配置
85.2. VS/NAT
85.3. VS/TUN
85.4. VS/DR
85.4.1. 配置文件
85.5. ipvsadm script
85.6. Timeout
85.7. debug
85.8. ipvsadm monitor
86. keepalived
86.1. 安装
86.2. test
86.3. HAProxy and Keepalived (Virtual IP)
87. Piranha - Cluster administation tools
87.1. install
87.2. configure
87.3. real server
87.4. Example
87.4.1. Master
87.4.2. Slave
87.4.3. MySQL
88. HAProxy - fast and reliable load balancing reverse proxy
88.1. Installing
88.1.1. Ubuntu
88.1.2. CentOS
88.2. haproxy.cfg
88.2.1. stats
88.2.2. listen 方式
88.2.3. frontend/backend 方式
88.2.4. option
88.2.5. balance
88.2.6. server
88.3. Example 配置实例
88.3.1. HTTP 配置实例
88.3.2. Squid
88.3.3. haproxy + mysql 配置实例
88.3.4. HTTPS SSL证书卸载配置实例
88.3.5. 使用TCP模式实现SSL穿透
88.3.6. SMTP
89. balance - Load balancing solution and generic tcp proxy
89.1. balance
89.1.1. 编译安装
89.1.2. Ubuntu 安装
89.1.3. 测试安装是否正确
89.1.4. 用法
89.2. BalanceNG
89.3. RBridge
90. Perlbal
90.1. install
91. Pacemaker
92. Example
92.1. 双负载均衡的用法
92.2. 单台负载均衡的用法
92.3. 广域网负载均衡的用法
93. FAQ
93.1. Haproxy 与 Nginx
IX. Distributed Computing
94. Open Source Distributed Computing
94.1. Boinc (berkeley 分布式计算平台)
94.1.1. rc.local
94.2. ubuntu apt-get 安装
94.3. CentOS 安装
94.4. boinccmd
94.4.1. attach_project
94.4.2. nomorework | allowmorework 禁止下载任务 / 允许下载任务
95. High performance Computing
95.1. Distributed Computing
95.1.1. OpenMosix
95.1.2. OpenSSI
95.2. Parallel Computing
95.2.1. EnFusion
95.2.2. SCore
95.2.3. Beowulf
97. Tachyon
98. Apache ZooKeeper
98.1. 安装配置
98.1.1. 单节点安装
98.1.2. 多节点安装
98.2. 管理 ZooKeeper
98.2.1. help
98.2.2. ls
98.2.3. create
98.2.4. get
98.2.5. set
98.2.6. delete
99. Message Queuing & RPC
99.1. RabbitMQ
99.1.1. 安装 RabbitMQ
99.1.2. 配置 RabbitMQ
99.1.3. rabbitmqctl - command line tool for managing a RabbitMQ broker
99.1.4. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
99.1.5. Python - Pika
99.1.6. Ruby amqp
99.2. ZeroMQ
99.2.1. python-zeromq
99.2.2. ruby zmq
99.3. nanomsg
99.4. Gearman
99.4.1. Getting Started with Gearman
99.4.2. gearman
99.4.3. Gearman PHP Extension
99.5. Apache Kafka is a distributed publish-subscribe messaging system
99.5.1. 安装 Kafka
99.5.2. 测试 Kafka
99.5.3. 配置 Kafka
99.5.4. 管理 Kafka
99.5.5. FAQ
99.6. RocketMQ
99.6.1. 安装 RocketMQ
99.7. Celery
99.8. ActiveMQ
99.9. http://kr.github.io/beanstalkd/
99.10. gRPC
X. Security
101. Authentication
101.1. /etc/login.defs
101.2. PAM 插件认证
101.2.1. pam_tally2.so
101.2.2. pam_listfile.so
101.2.3. pam_access.so
101.2.4. pam_wheel.so
101.3. Network Authentication
101.3.1. Network Information Service (NIS)
101.3.2. OpenLDAP
101.3.3. Kerberos
101.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
101.3.5. SASL (Simple Authentication and Security Layer)
101.3.6. GSSAPI (Generic Security Services Application Program Interface)
102. SELinux
102.1. getsebool - get SELinux boolean value
102.1.1. HTTP 相关配置
102.2. sestatus - SELinux status tool
102.3. setsebool - set SELinux boolean value
102.4. chcon - change file SELinux security context
102.5. rsync
102.6. 查找被SELINUX禁用服务
102.6.1. Nginx
103. Sniffer
103.1. nmap - Network exploration tool and security / port scanner
103.1.1. 安装 nmap
103.1.2. HOST DISCOVERY
103.1.3. SCAN TECHNIQUES
103.1.4. PORT SPECIFICATION AND SCAN ORDER
103.1.5. SCRIPT SCAN
103.1.6. OS DETECTION
103.1.7. OUTPUT
103.1.8. 排除指定的主机
103.1.9. 查看本地路由与接口
103.1.10. MISC
103.1.11. ncat - Concatenate and redirect sockets
103.1.12. nmap 应用案例
103.2. tcpdump - A powerful tool for network monitoring and data acquisition
103.2.1. 监控网络适配器接口
103.2.2. 监控主机
103.2.3. 监控TCP端口
103.2.4. 监控协议
103.2.5. 输出到文件
103.2.6. src / dst
103.2.7. 保存结果
103.2.8. Cisco Discovery Protocol (CDP)
103.2.9. Flags
103.2.10. 案例
103.3. cdpr - Cisco Discovery Protocol Reporter
103.4. ngrep - Network layer grep tool
103.4.1. 匹配关键字
103.4.2. 指定网络接口
103.4.3. SIP 抓包
103.5. Unicornscan,Zenmap,nast
103.6. netstat-nat - Show the natted connections on a linux iptable firewall
103.7. Tcpreplay
103.8. Wireshark
103.9. conntrack-tools : Manipulate netfilter connection tracking table and run High Availability
103.9.1. 帮助信息
103.9.2. 协议跟踪
104. sqlmap - automatic SQL injection and database takeover tool
104.1. Installation
104.2. 开始入住实验
104.2.1. 测试脚本
104.2.2. sqlmap.ini
104.3. Request参数
104.3.1. --method, --data
104.3.2. --cookie
104.3.3. --referer
104.3.4. --user-agent
104.3.5. --headers
104.3.6. --referer
104.3.7. auth
104.3.8. --proxy
104.3.9. --threads
104.3.10. --delay
104.3.11. --timeout
104.4. Injection
104.4.1. --dbms
104.4.2. --prefix
104.4.3. --postfix
104.4.4. --string
104.4.5. --regexp
104.4.6. --excl-str
104.4.7. --excl-reg
104.5. Techniques
104.5.1. --stacked-test
104.5.2. --time-test
104.5.3. --union-test
104.5.4. --union-tech
104.5.5. --union-use
104.6. Enumeration
104.6.1. dbs
104.6.2. --count
104.6.3. --dump/--dump-all
104.6.4. --sql-query
104.6.5. --sql-shell
104.7. Miscellaneous
104.7.1. --update
104.7.2. --save
105. Vulnerability Scanner
105.1. Nessus
105.2. OpenVAS
106. Injection & Penetration
106.1. Backtrack Linux
107. Lynis Linux 安全性扫描工具
107.1. 安装
107.1.1.
107.2. 开始审计
108. Suricata Engine
109. psad
110. fwknop
111. fwsnort
112. nftables
113. Haka
114. Docker
114.1. 安装 Docker
114.1.1. Rocky Linux / AlmiLinux / CentOS 8 Stream
114.1.2. Ubuntu docker-ce
114.1.3. 测试 Docker
114.1.4. 国内镜像
114.1.5. 重置 Docker
114.1.6. 早期版本
114.2. Portainer - Docker 图形管理界面
114.2.1. 安装
114.2.2. 配置 Portainer
114.2.3. 添加代理出错
114.3. 配置 Docker
114.3.1. 开启远程访问
114.3.2. 镜像配置
114.3.3. DNS
114.3.4. ulimit 资源
114.3.5. 配置SSL证书
114.4. docker 命令
114.4.1. docker - A self-sufficient runtime for containers
114.4.2. docker-compose - Define and run multi-container applications with Docker.
114.4.3. Docker Scan
114.5. 镜像管理
114.5.1. 搜索镜像
114.5.2. 获取镜像
114.5.3. 列出本地镜像
114.5.4. tag
114.5.5. 保存和载入镜像
114.5.6. 删除本地镜像
114.5.7. history 镜像历史纪录
114.5.8. format 用法
114.5.9. inspect
114.5.10. 查看镜像内容
114.6. 容器管理
114.6.1. 查看容器
114.6.2. 启动与终止容器
114.6.3. 进入容器
114.6.4. 运行容器内的命令
114.6.5. 导出和导入容器
114.6.6. 停止所有容器
114.6.7. 删除容器
114.6.8. 容器日志
114.6.9. 操作系统
114.6.10. 查看容器内运行的进程
114.6.11. 更新容器资源配置
114.6.12. 查看容器的退出状态
114.6.13. 暂停与恢复容器
114.6.14. 对比容器的变化
114.6.15. 查看容器状态
114.6.16. 重启容器
114.6.17. DNS
114.7. 卷管理
114.7.1. 列出卷
114.7.2. 创建卷
114.7.3. 挂在镜像
114.7.4. 检查卷
114.7.5. 删除卷
114.7.6. 销毁所有未使用的卷
114.7.7. 在多个容器间共享卷
114.7.8. 容器绑定本地文件系统
114.7.9. 只读权限
114.8. Docker 网络管理
114.8.1. docker0 IP地址
114.8.2. 容器指定固定IP地址
114.8.3. 创建子网
114.8.4. 创建 overlay 网络
114.8.5. 网络命令空间
114.8.6. flannel 网络配置
114.9. 日志管理
114.9.1. 日志选项
114.9.2. 查看日志位置
114.9.3. 查看默认驱动
114.9.4. Fluentd 配置
114.9.5. Docker 配置
114.9.6. docker-compose 编排
114.9.7. 将日志输出到 /dev/stdout 和 /dev/stderr
114.10. Dockerfile
114.10.1. 基于 Dockerfile 创建镜像
114.10.2. 基于 Alpine 制作镜像
114.10.3. Dockerfile 缺失的工具
114.10.4. Dockerfile 语法
114.11. 仓库
114.11.1. Docker 官方仓库
114.11.2. 私有仓库
114.11.3. Harbor
114.12. Swarms
114.12.1. 管理 Swarms
114.12.2. Stack
114.12.3. 服务
114.12.4. swarm 卷管理
114.13. docker-compose.yml 容器编排
114.13.1. 版本号
114.13.2. 镜像
114.13.3. 容器名称
114.13.4. 启动策略
114.13.5. 容器用户
114.13.6. 挂在卷
114.13.7. 映射端口的标签
114.13.8. 添加 hosts 文件
114.13.9. 网络配置
114.13.10. links 主机别名
114.13.11. 链接外部容器
114.13.12. 服务依赖
114.13.13. working_dir
114.13.14. 设置环境变量
114.13.15. 临时文件系统
114.13.16. 编译 Dockerfile
114.13.17. resources 硬件资源分配
114.14. Docker Example
114.14.1. registry
114.14.2. Example Java - Spring boot with Docker
114.14.3. Redis
114.14.4. Nginx
114.14.5. MySQL
114.14.6. MongoDB
114.14.7. Node
114.15. Docker FAQ
114.15.1. 通过 IP 找容器
114.15.2. 常用工具
114.15.3. 检查 Docker 是否可用
114.15.4. no space left on device
114.15.5. 从现有镜像提取 Dockerfile
114.15.6. Nginx 配吹 autoindex on 出现 403 Forbidden
114.15.7. 删除所有容器
114.15.8. 删除所有镜像
115. Podman
115.1. 安装 Podman
115.1.1. RockyLinux 安装 Podman
115.1.2. Almalinux 9.0
115.1.3. MacOS 安装 Podman
115.1.4. 初始化 Podman
115.1.5. 兼容 Docker
115.1.6. 安装 podman-compose
115.1.7. 配置 Podman
115.2. podman 管理
115.2.1. 虚拟机管理
115.2.2. 镜像管理
115.2.3. 运行命令
115.3. 按例
115.3.1. podman run 用法
115.3.2. mysql
115.3.3. 制作镜像
116. Kubernetes
116.1. Minikube
116.1.1. CentOS 8 安装 minikube
116.1.2. Quickstart
116.1.3. minikube 命令
116.1.4. Minikube 案例演示
116.1.5. FAQ
116.2. microk8s
116.2.1. 安装 microk8s
116.2.2. 组件管理
116.2.3. kubectl
116.2.4. Kubernetes Addons
116.3. Kubernetes 集群管理
116.3.1. 配置
116.3.2. 如何从 docker 过渡到 kubectl 命令
116.3.3. namespace 命名空间
116.3.4. label 标签
116.3.5. 服务管理
116.3.6. serviceaccount
116.3.7. Pod 管理
116.3.8. 部署管理
116.3.9. secret 密钥管理
116.3.10. ConfigMap
116.3.11. Job/CronJob
116.3.12. clusterrolebinding
116.3.13. Volume
116.3.14. Ingress
116.4. kubectl example
116.4.1. 私有 registry
116.4.2. mongodb
116.4.3. tomcat
116.5. istio
116.5.1. 启动 istio
116.5.2. 禁用 istio
116.6. Kubeapps
116.7. Helm - The package manager for Kubernetes
116.7.1. 安装 Helm
116.7.2. 快速开始
116.7.3. Helm 命令
116.7.4. ingress-nginx
116.7.5. elastic
116.7.6. Helm The package manager for Kubernetes
116.7.7. Helm Faq
116.8. 常见问题
116.8.1. 从局域网访问POD
117. Rancher - Multi-Cluster Kubernetes Management
117.1. 安装 Rancher
117.1.1. Rancher Server
117.1.2. Rancher Kubernetes Engine (RKE) 2
117.1.3. Rancher Kubernetes Engine (RKE) 1
117.1.4. Rancher CLI
117.1.5. rancher-compose
117.2. 快速入门
117.2.1. API
117.3. Rancher Compose
117.3.1. Rancher Compose 命令
117.3.2. 操作演示
117.4. Rancher CLI
117.4.1. 登陆 Rancher
117.4.2. 查看集群
117.4.3. 查看节点
117.4.4. catalog
117.4.5. 查看设置
117.4.6. rancher kubectl
117.5. K3s
117.5.1. AutoK3s
117.5.2. 安装 K3s(Docker 模式)
117.5.3. 安装 K3s(VM 模式)
117.5.4. k3d
117.5.5. TLS 证书
117.5.6. 创建 Token
117.5.7. FAQ
117.6. Rancher Demo
117.6.1. Rancher 部署 Nginx
117.6.2. local-path-provisioner
117.7. Longhorn
117.7.1. 安装 Longhorn
117.7.2. 选择磁盘类型
117.7.3. 节点选择
117.7.4. FAQ
117.8. FAQ
117.8.1. 调试 Rancher 查看日志
117.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
117.8.3. cgroups v2
118. netkiller 容器编排工具
118.1. 安装 netkiller-devops
118.2. 使用 python 优雅地编排 Docker 容器
118.2.1. 安装依赖库
118.2.2. 创建一个 Services
118.2.3. 创建 Composes
118.2.4. 容器管理
118.2.5. 演示例子
118.2.6. 使用 Python 编排 Dockerfile
118.2.7.
118.2.8. logstash
118.3. 使用 Python 优雅地编排 Kubernetes
118.3.1. 快速演示编排Nginx
118.3.2. 创建命名空间
118.3.3. ConfigMap/Secret 编排演示
118.3.4. Pod 挂载 ConfigMap 编排演示
118.3.5. Pod 挂载 ConfigMap 设置环境变量
118.3.6. Ingress 挂载 SSL 证书
118.3.7. StatefulSet 部署 Redis
118.3.8. StorageClass
118.3.9. 部署 MySQL 到 kubernetes
118.3.10. MongoDB
118.3.11. Nacos
118.3.12. Redis
118.3.13. Kubernetes 部署 kube-explorer 图形化界面
118.3.14. ELK
118.3.15. sonarqube
XI. Virtualization
119. Virtual Machine(虚拟机)
119.1. Kernel-based Virtual Machine(KVM)
119.1.1. kvm install usage yum
119.1.2. Ubuntu
119.1.3. CentOS 6.2
119.1.4. Scientific Linux Virtualization
119.1.5. libvirt
119.1.6. FAQ
119.2. Xen
119.2.1. install
119.2.2. Manager
119.3. OpenVZ
119.3.1. 安装OpenVZ
119.3.2. 使用OpenVZ & 建立VPS
119.3.3. 设置VPS参数
119.4. vagrant - Tool for building and distributing virtualized development environments
119.4.1. vagrant for windows
119.5. 虚拟机管理
119.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
119.5.2. OpenStack
119.5.3. CloudStack
119.5.4. OpenNode
119.5.5. OpenNEbula
XII. 项目管理工具
120. Gitlab 项目管理
120.1. GitLab 安装与配置
120.1.1. Almalinux 9.0
120.1.2. CentOS 8 Stream 安装 Gitlab
120.1.3. Docker 方式安装 Gitlab
120.1.4. Yum 安装 GitLab
120.1.5. 绑定SSL证书
120.1.6. Gitlab 管理
120.2. 初始化 Gitlab
120.2.1. 操作系统初始化
120.2.2. 创建用户
120.2.3. 初始化组
120.2.4. 初始化标签
120.2.5. 初始化分支
120.2.6. 部署环境
120.3. 项目管理
120.3.1. 组织架构
120.3.2. 项目计划
120.3.3. 工作流
120.3.4. 议题
120.3.5. 并行开发
120.3.6. 升级与发布相关
120.3.7. 代码审查
120.4. 通过GPG签名提交代码
120.4.1. 创建证书
120.4.2. 配置 Gitlab GPG
120.4.3. 配置 Git
120.4.4. FAQ
120.5. CI / CD
120.5.1. 远程服务器配置
120.5.2. 配置 CI / CD
120.5.3. Shell 执行器
120.5.4. tags 的使用方法
120.5.5. Docker 执行器
120.5.6. Kubernetes executor
120.5.7. Java 持续集成相关
120.5.8. 数据库结构监控
120.5.9. 持续部署 Nacos
120.6. Pipeline 流水线
120.6.1. cache
120.6.2. stages
120.6.3. variables
120.6.4. script /before_script / after_script
120.6.5. only and except
120.6.6. 构建物
120.6.7. 允许失败
120.6.8. 定义何时开始job
120.6.9. services
120.6.10. tags
120.6.11. rules 规则
120.6.12. include 包含
120.6.13. 模版
120.6.14. release
120.6.15. 应用案例
120.7. 软件包与镜像库
120.7.1. Maven 仓库
120.7.2. Python Pypi 仓库
120.7.3. Node JS
120.7.4. Docker registry
120.8. 服务器端 hooks
120.8.1. 创建全局 Server hooks
120.8.2. 给单个仓库配置 Server hooks
120.9. 客户端 hooks
120.9.1. 集成禅道
120.10. WebHook
120.11. FAQ
120.11.1. 查看日志
120.11.2. debug runner
120.11.3. gitolite 向 gitlab 迁移
120.11.4. 修改主机名
120.11.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
120.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
120.11.7. 磁盘 100% 怎样清理
121. Jenkins
121.1. 安装 Jenkins
121.1.1. OSCM 一键安装
121.1.2. Mac
121.1.3. CentOS
121.1.4. Ubuntu
121.1.5. Docker
121.1.6. Minikube
121.2. 配置 Jenkins
121.3. Jenkinsfile
121.3.1. Jenkinsfile - Declarative Pipeline
121.3.2. Jenkinsfile - Scripted Pipeline
121.3.3. 设置环境变量
121.3.4. agent
121.3.5. Steps
121.3.6. 版本控制
121.3.7. 节点与过程
121.3.8. 工作区
121.4. Jenkins Job DSL / Plugin
121.5. Jenkins Plugin
121.5.1. Blue Ocean
121.5.2. Locale Plugin (国际化插件)
121.5.3. github-plugin 插件
121.5.4. Docker
121.5.5. JaCoCo
121.5.6. SSH Pipeline Steps
121.5.7. Rancher
121.5.8. Kubernetes 插件
121.5.9. HTTP Request Plugin
121.5.10. Skip Certificate Check plugin
121.5.11. Android Sign Plugin
121.6. Jenkinsfile Pipeline Example
121.6.1. Maven 子模块范例
121.6.2. 使用指定镜像构建
121.6.3. 命令行制作 Docker 镜像
121.6.4. Yarn
121.6.5. Android
122. SonarQube
122.1. 安装
122.1.1. Kubernetes 安装 SonarQube
122.1.2. Docker
122.1.3. netkiller-devops 安装
122.1.4. SonarScanner
122.2. 配置
122.2.1. 登陆 SonarQube
122.2.2. 本地 maven 执行 SonarQube
122.2.3. 集成 Gitlab
122.2.4. SonarScanner
122.3. FAQ
122.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]
122.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
122.3.3. [ERROR] An unknown compilation problem occurred
122.3.4. can't have 2 modules with the following key
122.3.5. Kubernetes 运行 sonar-scanner
123. Dagger
124. 持续集成工具
124.1. Code Review
124.1.1. Phabricator - an open source, software engineering platform
124.1.2. Gerrit
124.1.3. TeamCity
124.2. Nexus Repository OSS
124.2.1. 安装 Nexus
124.2.2. Nexus UI
124.2.3. maven 设置
124.2.4. Node.js
124.2.5. Ruby
126. TRAC
126.1. Ubuntu 安装
126.1.1. source code
126.1.2. easy_install
126.1.3. Apache httpd
126.2. CentOS 安装
126.2.1. trac.ini
126.2.2. standalone
126.2.3. Using Authentication
126.2.4. trac-admin
126.3. Project Environment
126.3.1. Sqlite
126.3.2. MySQL
126.3.3. Plugin
126.4. trac.ini
126.4.1. repository
126.4.2. attachment 附件配置
126.5. trac-admin
126.5.1. adduser script
126.6. Trac 项目管理
126.6.1. Administration
126.6.2. Wiki
126.6.3. Timeline
126.6.4. Roadmap
126.6.5. Ticket
126.7. FAQ
126.7.1. TracError: Cannot load Python bindings for MySQL
126.8. Apache Bloodhound
127. Redmine
127.1. CentOS 安装
127.2. Redmine 运行
127.3. 插件
127.3.1. workflow
128. 项目管理工具
128.1. 禅道
128.2. TUTOS
XIII. 软件版本控制
129. Git - Fast Version Control System
129.1. 指定目录
129.2. Repositories 仓库管理
129.2.1. 仓库初始化
129.2.2. 克隆代码
129.2.3. 切换分支
129.2.4. 添加文件
129.2.5. 提交文件
129.2.6. 查看仓库状态
129.2.7. 比较文件
129.2.8. 推送
129.2.9. 拉去代码
129.2.10. 同步数据
129.2.11. Creating a Patch
129.2.12. 重置/回滚到指定版本
129.3. 分支管理
129.3.1. 查看本地分支
129.3.2. 创建分支
129.3.3. 删除分支
129.3.4. 切换分支
129.3.5. 重命名分支
129.3.6. git-show-branch - Show branches and their commits
129.4. 标签管理
129.4.1. 创建标签
129.4.2. 查看标签
129.4.3. 推送标签
129.4.4. 删除标签
129.5. git show - Show various types of objects
129.5.1. 查看指定版本的文件内容
129.6. git log 日志
129.6.1. hash-object
129.6.2. 查看文件历史记录
129.6.3. 目录历史记录
129.6.4. 一行显示 --oneline
129.6.5. 格式化
129.6.6. 过滤
129.6.7. all
129.6.8. full-history
129.6.9. reflog
129.7. git rev-parse - Pick out and massage parameters
129.7.1. 获得当前提交ID
129.7.2. --short
129.8. 合并分支
129.8.1. 合并分支
129.8.2. rebase
129.8.3. 合并分支解决冲突
129.8.4. 终止合并
129.8.5. 合并单个文件
129.8.6. Git 合并特定 commits 到另一个分支
129.9. 比较文件
129.9.1. 比较 SHA
129.9.2. 分支比较
129.10. 远程仓库
129.10.1. 查看远程地址
129.10.2. 显示远程地址
129.10.3. 添加远程仓库
129.10.4. 修改 origin
129.10.5. 删除 origin
129.10.6. 仓库共享
129.10.7. git-daemon 服务器
129.11. Submodule 子模块
129.11.1. 添加模块
129.11.2. checkout 子模块
129.11.3. 删除子模块
129.12. Git Large File Storage
129.12.1. 安装 LFS 支持
129.12.2. LFS lock
129.13. git config
129.13.1. git config
129.13.2. 查看配置
129.13.3. 编辑配置
129.13.4. 替换配置项
129.13.5. 配置默认分之
129.13.6. GPG签名
129.13.7. core.sshCommand
129.13.8. fatal: The remote end hung up unexpectedly
129.13.9. 忽略 SSL 检查
129.13.10. 配置忽略合并文件
129.13.11. .gitignore
129.13.12. .gitattributes
129.13.13. 配置模版目录
129.14. archive 代码打包
129.14.1. 查看支持的格式
129.14.2. 导出分支代码
129.14.3. 导出制定版本
129.14.4. 导出目录和文件
129.15. git-svn - Bidirectional operation between a single Subversion branch and git
129.16. Web Tools
129.16.1. viewgit
129.17. gitolite - SSH-based gatekeeper for git repositories
129.17.1. gitolite-admin
129.18. FAQ
129.18.1. 导出最后一次修改过的文件
129.18.2. 导出指定版本区间修改过的文件
129.18.3. 撤销当前修改,恢复到远程最后一次提交
129.18.4. 回撤提交
129.18.5. 撤回单个文件提交
129.18.6. 合并分支中的单个
129.18.7. 每个项目一个证书
129.18.8. fatal: Not possible to fast-forward, aborting.
129.18.9. receive.denyCurrentBranch
129.18.10. 更新所有项目以及分支
129.18.11. 找回丢失的分支
130. Subversion
130.1. Invoking the Server
130.1.1. Installing
130.1.2. standalone “daemon” process
130.1.3. classic Unix-like inetd daemon
130.1.4. hooks
130.1.5. WebDav
130.2. repository 管理
130.2.1. create repository
130.2.2. user admin
130.2.3. authz
130.2.4. dump
130.3. 使用Subversion
130.3.1. Initialized empty subversion repository for project
130.3.2. ignore
130.3.3. 关键字替换
130.3.4. lock 加锁/ unlock 解锁
130.3.5. import
130.3.6. export 指定版本
130.3.7. 修订版本关键字
130.3.8. 恢复旧版本
130.4. branch
130.4.1. create
130.4.2. remove
130.4.3. switch
130.4.4. merge
130.4.5. relocate
130.5. FAQ
130.5.1. 递归添加文件
130.5.2. 清除项目里的所有.svn目录
130.5.3. color diff
130.5.4. cvs2svn
130.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
130.5.6. 指定用户名与密码
131. cvs - Concurrent Versions System
131.1. installation
131.1.1. chroot
131.2. cvs login | logout
131.3. cvs import
131.4. cvs checkout
131.5. cvs update
131.6. cvs add
131.7. cvs status
131.8. cvs commit
131.9. cvs remove
131.10. cvs log
131.11. cvs annotate
131.12. cvs diff
131.13. rename file
131.14. revision
131.15. cvs export
131.16. cvs release
131.17. branch
131.17.1. milestone
131.17.2. patch branch
131.18. keywords
132. 常用命令
132.1. 获取IP地址
132.2. 有趣的 Shell 应用
132.2.1. Ascii 星球大战电影
132.2.2. 天气预报
132.2.3. htop - interactive process viewer
132.2.4. elinks
132.2.5. chat
XIV. Configuration Management(配置管理)
133. Ansible - SSH-based configuration management, deployment, and task execution system
133.1. install
133.2. Getting Started
133.3. ansible - run a command somewhere else
133.3.1. host-pattern
133.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
133.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
133.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
133.3.5. -s, --sudo run operations with sudo (nopasswd)
133.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
133.3.7. 使用实例
133.4. ansible-doc - Show Ansible module documentation
133.5. ansible-playbook - run an ansible playbook
133.5.1. 包含文件用法
134. Capistrano
135. Puppet
135.1. Installing Puppet CentOS 6.3
135.2. Puppet 签名
135.2.1. Agent 节点
135.2.2. Master 服务器
135.3. test
135.3.1. Master
135.3.2. Agent
135.4. 配置文件
135.4.1. /etc/sysconfig/puppet
135.4.2. /etc/puppet/fileserver.conf
135.5. manifests
135.5.1. node
135.5.2. group, user 用户组管理
135.5.3. file
135.5.4. package
135.5.5. service
135.5.6. exec
135.5.7. cron
135.6. modules
135.7. firewall 配置
135.8. debug
135.8.1. master
135.8.2. node
135.9. FAQ
135.9.1. err: Could not request certificate: No route to host - connect(2)
135.9.2. No help available unless you have RDoc::usage installed
136. SaltStack
136.1. 安装 Salt Stack
136.1.1. 服务端安装
136.1.2. 客户端安装
136.1.3. 防火墙配置
136.1.4. key 管理
136.1.5. 测试
136.1.6. Demo
136.2. salt-key - Salt key is used to manage Salt authentication keys
136.3. salt 命令
136.3.1. cmd
136.3.2. pkg.install
136.3.3. network.interfaces
136.3.4. salt example
136.4. /etc/salt/master
136.4.1. File Server settings
136.4.2. Pillar settings
136.4.3. Node Groups
136.4.4. File Server Backend
136.5. sls 脚本
136.5.1. pkg
136.5.2. service
136.6. FAQ
136.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
137. Chef
137.1. 安装 Chef
137.1.1. CentOS
138. Cobbler
139. Cfengine
140. func
141. (R)?ex Deployment & Configuration Management
142. 基于Web的系统管理软件
142.1. Webmin
142.1.1. webalizer
142.2. ajenti
XV. 图形工具(Graphics)
143. Gnuplot
143.1. 安装 Gnuplot
143.1.1. CentOS 环境
143.1.2. Ubuntu 环境
143.1.3. 测试 Gnuplot 是否可用
143.2. terminal
143.3. output
143.4. title/xlabel/ylabel
143.5. xrange/yrange
143.5.1. 时间轴范围
143.5.2. 日期轴范围
143.6. xdata
143.6.1. Date/Time
143.7. plot
143.7.1. using
143.8. PHPlot
143.9. FAQ
143.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
143.9.2. 变量传递
144. Graphviz - Graph Visualization Software
144.1. Installation
144.1.1. Apt-get
144.1.2. Yum
144.2. The DOT Language
144.2.1. dot
144.2.2. twopi
144.2.3. gprof
144.3. Node, Edge and Graph Attributes
144.3.1. Color Names
144.3.2. Node Shapes
144.3.3. 箭头
144.4. Example
144.4.1. E-R
144.4.2. Network
144.4.3. workflow
145. RRDTool
145.1. install
145.2. rrdtool demo example
145.3. title
145.4. start / end
145.5. height / width
145.6. upper-limit / lower-limit
145.7. vertical-label
145.8. Data Source
145.9. Round Robin Archives
145.10. AREA, LINE and STACK
145.10.1. LINE
145.10.2. AREA
145.10.3. STACK
145.10.4. GPRINT
145.11. Example
145.11.1. Memory
145.11.2. example 1
145.11.3. example 1
146. OpenBR
147. OCR - Optical Character Recognition
147.1. Tesseract
147.2. cuneiform - multi-language OCR system
148. Open-Source tool in Java to draw UML Diagram
149. Asymptote: The Vector Graphics Language
149.1. UML
150. MetaPost
151. OpenStreetMap
151.1. OpenLayers
151.2. Leaflet
152. Baidu Map
152.1. BMap.Circle
XVI. 多媒体信息处理(Multimedia)
153. Audio
153.1. lame
154. Video
154.1. FFmpeg
154.1.1. 安装
154.1.2. 视频格式转换
154.1.3. 提取视频中的音频
154.1.4. 添加字幕
154.1.5. 音频格式转换
154.2. OpenShot
154.3. cinelerra-cv
155. 图像处理(Graphics)
155.1. GraphicsMagick
155.1.1. 安装
155.1.2. 识别图像信息
155.1.3. mogrify
155.1.4. 图像格式转换
155.1.5. montage
155.1.6. 截屏
155.1.7. 显示图像
155.2. ImageMagick
155.2.1. install
155.2.2. convert
155.2.3. 查看支持字体列表
155.3. Photivo
155.4. F-Spot
155.5. librsvg2 - 转换 SVG 图像为 PNG
155.6. How to add metadata to digital pictures from the command line
156. Music score
156.1. Synthesizer
156.1.1. ZynAddSubFX
156.2. Drums
156.2.1. Hydrogen
156.3. LilyPond
156.3.1. Example
156.4. MuseScore
156.5. ardour
156.6. LMMS
156.7. Qsynth
156.8. Rosegarden
156.9. TerminatorX
156.10. Pulseaudio
157. 流媒体(Stream)
157.1. 检查是否支持流媒体
157.2. broadcast streaming
157.2.1. gnump3d - A streaming server for MP3 and OGG files
157.2.2. icecast2 - Ogg Vorbis and MP3 streaming media server
157.2.3. shoutcast
157.2.4. PeerCast
157.3. WebRTC
157.3.1. WebRTC
157.3.2. mediasoup
159. 常用命令
159.1. 获取IP地址
159.2. 有趣的 Shell 应用
159.2.1. Ascii 星球大战电影
159.2.2. 天气预报
159.2.3. htop - interactive process viewer
159.2.4. elinks
159.2.5. chat
XVII. 数字证书,编码与解码
160. UUID (Universally Unique Identifier)
160.1. GUID
160.2. Subversion
160.3. PHP UUID
160.4. JAVA UUID
160.5. PERL UUID
160.6. Python UUID
160.7. MySQL uuid()
160.8. linux command uuid
161. Encode & Decode
161.1. MIME (BASE64) 专题
161.1.1. Linux Command base64
161.1.2. PHP Base64
161.1.3. Python Base64
161.1.4. perl base64
161.1.5. Java Base64
161.1.6. C/C++ Base64
161.2. Uuencode
161.2.1. PHP uuencode
161.3. Quoted-Printable
161.3.1. C Quoted-Printable
161.3.2. Java Quoted-Printable
161.3.3. Python Quoted-Printable
161.4. Base58
161.4.1. php
161.4.2. Java Base58
162. Message Digest (数字摘要)
162.1. MD5专题
162.1.1. md5sum
162.1.2. PHP md5()
162.1.3. MySQL md5()
162.1.4. Java MD5
162.1.5. perl md5
162.2. SHA 专题
162.2.1. sha1sum
162.2.2. PHP sha1()
162.2.3. Java SHA
162.2.4. Perl
162.3. CRC32
162.3.1. PHP CRC32
162.3.2. Java CRC32
162.4. 第三方工具
162.4.1. htpasswd
162.4.2. htdigest
162.4.3. md5sum
162.4.4. sha1sum
163. DES crypt() 专题
163.1. C crypt()
163.2. PHP crypt()
163.3. perl crypt
163.4. mysql crypt
163.5. Java crypt
163.5.1. Java 8 DES
163.6. grub-md5-crypt - Encrypt a password in MD5 format.
164. AES
164.1. Java
164.1.1. AES/ECB/PKCS5Padding
164.1.2. AES/CBC/PKCS5PADDING
164.2. PHP
164.2.1. AES/ECB/PKCS5Padding
165. GnuPG
165.1. 安装 GnuPG
165.1.1. CentOS 8 Stream
165.1.2. Ubuntu
165.1.3. macOS
165.2. 创建密钥
165.2.1. 创建密钥并指定过期时间
165.2.2. 快速创建密钥对
165.3. 查看密钥
165.4. 吊销密钥
165.5. 删除密钥
165.6. 密钥倒入/导出
165.6.1. 导出密钥
165.6.2. 导入密钥
165.6.3. 导入所有密钥
165.6.4. 密钥迁移
165.7. 签名
165.8. 加密/解密文件
165.8.1. 加密文件
165.8.2. 解密
165.8.3. 指定用户ID
165.8.4. 签名+加密
165.9. 修改密钥
165.9.1. 显示帮助信息
165.9.2. 签名
165.9.3. 公钥信任配置
165.10. 加密备份 MySQL
165.10.1. 创建密钥对
165.10.2. 数据库备份
165.10.3. 数据库还原
165.11. FAQ
165.11.1. 指定 passphrase
165.11.2. 旧版本 1.4.11
165.12. GnuPG For Windows
165.12.1. 生成密钥对
165.12.2. 列出密钥
165.12.3. 验证签字
165.12.4. EMail-Security
165.13. Smart Card
165.14. PGP
165.15. OpenPGP
166. OpenSSL
166.1. openssl 命令参数
166.1.1. version
166.1.2. 测试加密算法的速度
166.1.3. req
166.1.4. x509
166.1.5. ca
166.1.6. crl
166.1.7. pkcs12
166.1.8. passwd
166.1.9. digest
166.1.10. enc
166.1.11. rsa
166.1.12. dsa
166.1.13. rc4
166.1.14. -config 指定配置文件
166.1.15. -subj 指定参数
166.1.16. rand
166.1.17. 去除私钥的密码
166.1.18. ciphers
166.2. web 服务器 ssl 证书
166.2.1. Nginx
166.3. s_server / s_client
166.3.1. SSL POP3 / SMTP / IMAP
166.3.2. server / client 文件传输
166.3.3. 检查证书是否支持指定的 cipher
166.3.4. HTTP SSL 证书
166.4. smime
166.5. Outlook smime x509 证书
166.5.1. 快速创建自签名证书
166.5.2. 企业或集团方案
166.6. 证书转换
166.6.1. CA证书
166.6.2. 创建CA证书有效期为一年
166.6.3. x509转换为pfx
166.6.4. PEM格式的ca.key转换为Microsoft可以识别的pvk格式
166.6.5. PKCS#12 到 PEM 的转换
166.6.6. 从 PFX 格式文件中提取私钥格式文件 (.key)
166.6.7. 转换 pem 到到 spc
166.6.8. PEM 到 PKCS#12 的转换
166.6.9. How to Convert PFX Certificate to PEM Format for SOAP
166.6.10. DER文件(.crt .cer .der)转为PEM格式文件
166.6.11. JKS 转 X509
166.6.12. jks to pem
166.7. 其他证书工具
166.8. OpenSSL 开发库
166.8.1. DES encryption with OpenSSL
167. 数据库与加密
167.1. MySQL 加密函数
167.1.1. AES_ENCRYPT / AES_DECRYPT
167.1.2. 通过PHP mcrypt 函数加密解密MySQL数据库
168. Java - keytool
168.1. 创建证书
168.2. Private key generation
168.3. Public Key Certificate (optional)
168.4. import your signed certificate
168.5. Import the certificate and attach it to your server key pair
168.6. Key pair verification
169. .Net makecert
169.1. 访问X.509证书
170. Secure Tunnel
170.1. OpenSSH Tunnel
170.1.1. SOCKS v5 Tunnel
170.2. SSL Tunnel
170.2.1. 通过SSL访问POP、IMAP、SMTP
170.3. DeleGate
171. 硬盘分区与文件系统加密
171.1. Microsoft 文件系统加密
171.1.1. Microsoft Encrypting File System (EFS)
171.1.2. BitLocker
172. Office
172.1. Calc
172.1.1. 函数
173. OpenStego - 图像文件水印加密
174. 邮件原文
174.1. Subject Unicode
174.2. TO/CC/BCC
174.3. 正文
174.4. POP Sniffer
174.5. PHP mail()
175. Smart card(智能卡)
175.1. OpenSC - tools and libraries for smart cards
175.1.1. 安装 OpenSC
175.2. openct-tool - OpenCT smart card utility
175.3. ccid - Generic USB CCID smart card reader driver
175.4. usbutils: Linux USB utilities
175.5. USB Token
175.5.1. Open[F]irst
175.5.2. [S]oPin 验证管理员
175.5.3. LED 灯控制
175.5.4. [L]ist
175.5.5. File[M]enu 文件菜单
175.5.6. Set[u]pMenu 设置菜单
175.5.7. Linux ePass
176. Credentials Organization
176.1. VeriSign
176.1.1. iTrusChina
176.1.2. Thawte
176.1.3. Geotrust
176.2. UserTrust
176.3. 境内其他CA机构
176.3.1. WoSign®、I'm Verified®、WoTrust®、沃通®
176.4. SSL FOR FREE
176.5. Let’s Encrypt
XVIII. 文字/语音/视频 通信
177. 即时通信
177.1. Matrix
177.1.1. Synapse
177.2. IRC - Internet Relay Chat
177.2.1. IRC Protcol
177.2.2. IRC Commands
177.2.3. ircd-irc2 - The original IRCNet IRC server daemon
177.2.4. ircd-hybrid
177.2.5. IRC Client
177.2.6. Web IRC
177.3. jabber XMPP
177.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
177.3.2. tigase
177.3.3. Openfire
177.3.4. DJabberd
177.3.5. freetalk - A console based Jabber client
177.3.6. library
177.4. News Group (innd)
177.4.1. Ubuntu
177.4.2. CentOS
177.4.3. User Authentication
177.4.4. usenet 管理
177.4.5. 通过SSL连接
177.4.6. src.rpm 安装
177.4.7. 常用新闻组
178. FreeSWITCH
178.1. Docker 安装
178.1.1. 配置 freeswitch
178.1.2. 管理 freeswitch
178.2. Rocky Linux / AlmiLinux 安装
178.3. 防火墙端口
178.4. 备份 freeswitch 配置文件
178.5. 基本配置 /etc/freeswitch/vars.xml
178.5.1. 默认密码
178.5.2. 领域
178.5.3. 公网IP地址
178.5.4. NAT 配置
178.5.5. 编码
178.5.6. 控制台日志级别
178.5.7.
178.6. 配置 NAT
178.6.1. 旁路模式
178.6.2. 启用 100rel
178.7. 测试号码
178.7.1. 测试分机号
178.8. switch.conf.xml
178.9. 网关配置
178.10. 新增号段
178.11. logfile.conf.xml
178.11.1. 控制台日志配置
178.11.2. 日志文件配置
178.11.3. sofia.conf.xml 日志级别配置
178.11.4. switch.conf.xml 日志配置
178.12. 视频通话
178.13. 语音邮箱(voicemail)
178.14. 多租户(多领域)配置
178.15. 组呼叫配置
178.16. 代接电话
178.17. MySQL 模块配置
178.17.1. 安装 mariadb
178.17.2. 安装模块
178.17.3. 启用 mysql 支持
178.17.4. db.conf.xml
178.17.5. switch.conf.xml
178.17.6. 修改 sip_profile 配置文件
178.17.7. 检查配置
178.18. fs_cli
178.18.1. fs_cli Socket Client 配置
178.18.2. 退出 fs_cli
178.18.3. 日志
178.18.4. profile
178.18.5. sofia status
178.18.6. sip 抓包
178.18.7. internal 状态查看
178.18.8. external 状态
178.18.9. 注册状态查看
178.18.10. 呼叫
178.18.11. 呼叫
178.18.12. 呼叫测试
178.18.13. 正则测试
178.18.14. 变量求值
178.19. 中文语音包
178.20. TLS
178.20.1. 创建 CA 根证书
178.20.2. 创建服务器证书
178.20.3. 开启TLS,监听 5061 端口
178.21. fusionPBX
178.22. 开发
178.22.1. FreeSWITCH 用户管理
178.22.2. Java 开发包
178.23. 备份和恢复
179. Kamailio
179.1. Docker 安装 Kamailio
179.1.1. Alpine 镜像
179.2. RPM 包安装 kamailio
179.3. 配置 kamailio
179.3.1. 配置外网IP地址
179.3.2. MySQL 数据库
179.3.3. DBTEXT 配置
179.3.4. Berkeley DB 配置
179.3.5. sqlite
179.3.6. 日志文件
179.4. RTP
179.4.1. RTPProxy
179.4.2. rtpengine
179.5. 管理 Kamailio
179.5.1. 进程管理
179.5.2. 用户管理
179.5.3. 监控模式
179.6. kamcmd
179.6.1. tm.stats
179.6.2.
180. 其他 Voice over IP(VoIP)
180.1. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
180.1.1. Yate Server
180.1.2. 配置文件样本
180.1.3. 添加用户
180.1.4. regexroute.conf
180.1.5. 测试
180.1.6. SBC(SIP Session Border Controller) 会话边界控制器
180.1.7. 配置路由
180.1.8. 配置会议室
180.1.9. Yate Client
180.2. Gnu Gatekeeper
180.2.1. Gnu Gatekeeper Install
180.2.2. Gnu Gatekeeper Configure
180.2.3. Gnu Gatekeeper Test
180.3. OpenSIPS
180.3.1. 安装 OpenSIPS
180.3.2. 数据库部署
180.3.3. 测试 opensips
180.4. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
180.4.1. Redhat/CentOS/RockyLinux/AlmiLinux
180.4.2. 源码安装 asterisk-22
180.4.3. Ubuntu
180.4.4. RasPBX – Asterisk for Raspberry Pi
180.4.5. 配置文件
180.4.6. 拨号规则设置
180.4.7. pjsip
180.4.8. 配置例子
180.5. VOCAL (includes a SIP to H.323 translator)
180.6. sngrep - SIP Messages flow viewer
180.6.1. Rocky Linux 安装 sngrep
180.6.2. MacOS
180.6.3. debian 安装sngrep
180.6.4. 命令行参数
180.6.5. UI 快捷鍵
180.7. 电话
180.7.1. Linksys/PAP2T-5.1.6(LS) 登录 freeSWITCH 和 asterisk 失败
180.7.2. Avaya
180.7.3. 电脑软件正常登录,手机APP正常登录,Yealink 电话无法登录
180.7.4. 软电话
180.8. FAQ
180.8.1. SIP ALG
181. WebRTC/Ortc
181.1. coturn - ICE Server
181.1.1. DNF 安装 coturn
181.1.2. TUN 配置例子
181.1.3. Javascript 连接 ICE Server 例子
181.1.4. 测试
181.1.5. FAQ
XIX. SBC - Single-board computers
182. Raspberry Pi
182.1. 配置工具
182.1.1. rpi-update
182.2. WiFi 配置
182.2.1. 网络状态
182.2.2. WIFI 配置
182.2.3. WiFi 热点配置
182.3. Android 9 Pie
XX. Home Assistant
183. Home Assistant
183.1. 安装 Home Assistant
183.1.1. Docker 安装
183.1.2. Debian
183.1.3. Ubuntu
183.1.4. 升级
183.2. 配置文件
183.3. Home Assistant Community Store
183.3.1. 正常安装
183.3.2. 遇到 Github 无法访问的情况怎么处理
183.3.3. 手工安装
183.3.4. Node-Red
183.3.5. Xiaomi Miot Auto
183.4. ha 命令
183.4.1. 检查版本
183.4.2. network
183.4.3. 修改 DNS
183.4.4. supervisor 管理
183.4.5. core
183.4.6. jobs
183.5. FAQ
183.5.1. Media change: please insert the disc labeled
184. Node-Red
184.1. function
184.1.1. 银行方案
184.2. 方案
184.3. 支付接口
185. ChatGPT 接口
185.1. ChatGPT Web 界面
185.2. ChatGPT 接口
186. GPS
186.1. GPS 模块
186.2. GPS 协议
186.3. 安装 gpsd
186.4. traccar
XXI. X Window
187. install x window
187.1. xinput - utility to configure and test X input devices
188. X Setup
188.1. 取消开机启动画面
188.2. Automatic login
188.3. disable x window
189. Fonts 字体
189.1. fc-list 字体查看命令
189.1.1. 查看所有字体
189.1.2. 查看中文字体
189.2. 查看字体详情
189.3. 安装字体
189.4. Linux 可安装的字体
189.4.1. 文泉驿系列(开源免费)
189.4.2. 文鼎
189.4.3. 思源黑体(Adobe 与 Google 联合开发,开源)
190. X Terminal
190.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
190.1.1. VNC
190.1.2. xdmcp
190.2. vinagre - a remote desktop viewer for the GNOME Desktop
190.3. rdesktop - A Remote Desktop Protocol client
190.3.1. -g: desktop geometry (WxH)
190.3.2. -f: full-screen mode
190.3.3. -A: enable SeamlessRDP mode
190.3.4. -z: enable rdp compression
190.3.5. -r: enable specified device redirection (this flag can be repeated)
190.4. tigervnc
190.5. TightVNC
191. Unity
191.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
192. X Window System
192.1. Fluxbox
192.2. LXDE
192.3. Xfce
192.4. Xming X Server for Windows
193. X Application Software
193.1. ubuntu-restricted-extras
193.2. Keyboard Input Methods(输入法)
193.3. 浏览器
193.3.1. Firefox
193.3.2. Chromium Web Browser
193.4. Download Software
193.5. PAC Manager
193.6. LibreOffice
193.7. VYM (View Your Mind)
193.8. greenshot
193.9. Window Switch
193.10. gparted
194. Office
194.1. Calc
194.1.1. 函数
195. IBM WebSphere
195.1. WebSphere Commerce Engerprise 7.0
195.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
195.2.1. WAS
195.2.2. Plugins
195.2.3. IHS
195.2.4. backup
195.3. UpdateInstaller (CommerceServer70)
195.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
195.5. creating a WebSphere Commerce instance
195.6. enableFeature
195.6.1. foundation
195.6.2. management-center
195.6.3. store-enhancements
195.6.4. checkEnablementStatus
195.6.5. check version
195.7. Start IBMIHS and AppServer
195.7.1. IBMIHS
195.7.2. AppServer
195.7.3. Starting and stopping the WebSphere Commerce Information Center
195.7.4. 管理入口
195.8. Initialization store
196. FAQ
196.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
19.1. 文件目录表达式
19.2. 字符串表达式
19.3. 组合表达式
37.1. net.ipv4.ip_forward
74.1. Volume Group Management
9. 表格标题

范例清单

8.1. 增加交换分区
8.2. GPT Example
8.3. 创建扩展分区
11.1. netplan dhcp 例子
11.2. bonding example
11.3. 命令行建立WiFi链接步骤
12.1. /usr/lib/systemd/system/tomcat.service
19.1. A "Power User" Prompt
19.2. A Prompt the Width of Your Term
19.3. The Elegant Useless Clock Prompt
19.4. Basic conditional example if .. then
19.5. Conditionals with variables
19.6. case
19.7. Functions with parameters sample
19.8. Using select to make simple menus
19.9. Using the command line
19.10. Reading user input with read
19.11. read
19.12. random password
20.1. 增量备份(find + tar)
20.2. 清理过期日志
20.3. 查找并移动旧文件
20.4. 按时间和大小组合查找
32.1. parallel - build and execute shell command lines from standard input in parallel
37.1. /etc/sysconfig/iptables
37.2. connlimit 实例
37.3. CentOS 5.6
40.1. openvpn.conf
40.2. server.conf
40.3. Openvpn 桥接模式服务器配置实例
40.4. 双网卡配置实例
40.5. client.conf
40.6. server.ovpn
40.7. client.ovpn
40.8. office.conf
40.9. home.ovpn
43.1. Nginx SSL 双向认证,证书生成过程
43.2. Expires Examples
43.3. nginx expires
43.4. Example: valid_referers
43.5. Nginx + Tomcat
46.1. /etc/profile.d/java.sh
46.2. /etc/init.d/tomcat
46.3. Example /srv/apache-tomcat/conf
46.4. tomcat firewall
46.5. /etc/rc.d/init.d/www
47.1. index.php
47.2. autolamp.sh
47.3. R=301
47.4. mod_perl.conf
48.1. /etc/init.d/lighttpd
48.2. lighttpd compress
48.3. lighttpd expire
48.4. fastcgi.conf
48.5. Cache
49.1. explicit host in resin.conf
49.2. regexp host in resin.conf
49.3. host-alias in the resin.conf
49.4. host-alias in a /var/www/hosts/foo/host.xml
49.5. host-alias-regexp in the resin.conf
49.6. shared database in host
49.7. rewrite-dispatch
51.1. default.vcl
62.1. SMTP 服务器配置实例
63.1. Subject Unicode
70.1. examples
70.2. backup to a central backup server with 7 day incremental
70.3. backup to a spare disk
70.4. mirroring vger CVS tree
70.5. automated backup at home
70.6. Fancy footwork with remote file lists
70.7. /etc/csync2.cfg
72.1. nginx-gridfs
72.2. Mirror
72.3. Strip
78.1. zabbix-agent 配置实例
79.1. config.php
79.2. spring boot logback
79.3. Elasticsearch 索引切割示例
81.1. cacti config.php
81.2.
83.1. mrtg
86.1. keepalived.conf
86.2. /etc/keepalived/keepalived.conf
87.1. piranha master
87.2. piranha slave
88.1. haproxy + mysql 配置实例
88.2. Haproxy MySQL (Master + Master)
99.1. Ruby on RabbitMQ
99.2. server.py
99.3. client.py
101.1. /etc/pam.d/sshd - pam_tally2.so
101.2. /etc/pam.d/sshd - pam_listfile.so
116.1. minikube 操作演示
118.1. Redis Master/Slave
119.1. virsh
120.1. Docker 部署 GitLab 查看登陆密码
120.2. Docker 部署 gitlab-runner 注册演示
120.3. Example - Release Notes
121.1. Shell Docker 示例
122.1. SonarQube pom.xml 配置
130.1. authz
135.1. puppetd
135.2. puppetca
136.1. salt command
166.1. dsaparam & gendsa
166.2. 加密传输文件
166.3. 快速创建自签名证书
166.4. 创建CA根证书
166.5. 创建自签名的证书
166.6. DES encryption example in C
170.1. stunnel.conf
174.1. Subject Unicode
178.1. /etc/freeswitch/vars.xml
178.2. 拨号规则,配置两个号段 100~199,1000~1999
180.1. 46xxsettings.txt