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

Netkiller Linux 手札

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

Mr. Neo Chan, 陈景峰(BG7NYT)



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


电子书最近一次更新于 2026-08-05 11:53:16

版权声明

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

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. test 命令
19.3.1. 判断目录
19.4. I/O 重定向
19.4.1. stdout
19.4.2. error 重定向
19.4.3. 使用块记录日志
19.4.4. tee - read from standard input and write to standard output and files
19.4.5. 创建文件
19.4.6. 快速清空一个文件的内容
19.5. pipes (FIFOs)
19.6. mktemp - create a temporary file or directory 临时目录与文件
19.7. History 命令历史记录
19.7.1. .bash_history
19.7.2. 清理历史记录
19.7.3. .mysql_history
19.8. hash - hash database access method
19.9. prompt
19.10. 变量 variable
19.10.1. 系统变量
19.10.2. 表达式
19.10.3. Internal Environment Variables
19.10.4. set 设置变量
19.10.5. unset 变量销毁
19.10.6. 设置变量默认值
19.10.7. export 设置全局变量
19.10.8. declare
19.10.9. Numerical 数值运算
19.10.10. Strings 字符串操作
19.10.11. Array 数组
19.10.12. read 赋值多个变量
19.10.13. eval
19.10.14. typeset
19.10.15. envsubst - substitutes environment variables in shell format strings
19.11. conditions if and case
19.11.1. if
19.11.2. case
19.12. Loops for, while and until
19.12.1. for
19.12.2. while
19.12.3. until
19.13. Functions
19.13.1. Local variables
19.14. User interfaces
19.14.1. input
19.15. subshell
19.16. Example
19.16.1. 有趣的Shell
19.16.2. backup
19.16.3. CPU 核心数
19.16.4. Password
19.16.5. processes
19.16.6. Shell 技巧
19.16.7. to convert utf-8 from gb2312 code
19.16.8. 使用内存的百分比
19.16.9. 合并apache被cronlog分割的log文件
19.16.10. Linux 交集 差集 并集
20. Shell
20.1. Help Commands
20.1.1. man - an interface to the on-line reference manuals
20.2. getconf - Query system configuration variables
20.3. 快捷键
20.3.1. 命令行编辑命令
20.3.2. 重新执行命令快捷键
20.3.3. 终端控制快捷键
20.3.4. Bang (!) 命令
20.4. chsh - change login shell
20.5. 执行程序返回值
20.6. Z Shell
20.6.1. installing Z shell
20.6.2. Oh My ZSH!
20.6.3. Starting file
20.6.4. Prompting
20.6.5. Aliases
20.6.6. History
20.6.7. FAQ
20.7. Berkeley UNIX C shell (csh)
20.7.1.
20.8. KornShell
20.8.1.
20.9. fish shell
20.9.1. 安装 fish shell
20.9.2. 配置 fish
20.9.3. 环境变量
20.10. 有趣的 Shell 应用
20.10.1. Ascii 星球大战电影
20.10.2. 天气预报
20.10.3. htop - interactive process viewer
20.10.4. elinks
20.10.5. chat
21. 目录和文件
21.1. dirname
21.2. filename
21.2.1. 排除扩展名
21.2.2. 取扩展名
21.3. test - check file types and compare values
21.4. file — determine file type
21.5. stat
21.6. file – determine file type
21.7. mkdir - make directories
21.8. rename
21.9. touch
21.10. truncate
21.11. ls - list directory contents
21.11.1. full-time / time-style 定义日期时间格式
21.12. cp - copy files and directories
21.12.1. copy directories recursively
21.12.2. 覆盖已存在的文件
21.12.3. -a, --archive same as -dR --preserve=all
21.13. rm - remove files or directories
21.13.1. -bash: /bin/rm: Argument list too long
21.13.2. zsh: sure you want to delete all the files in /tmp [yn]?
21.14. df - report file system disk space usage
21.15. du - estimate file space usage
21.16. tac - concatenate and print files in reverse
21.17. split - split a file into pieces
21.17.1. 按行分割文件
21.17.2. 按尺寸分割文件
21.18. find - search for files in a directory hierarchy
21.18.1. 多目录匹配
21.18.2. name
21.18.3. regex
21.18.4. user
21.18.5. perm
21.18.6. type
21.18.7. -delete
21.18.8. exec
21.18.9. 排除目录
21.18.10. -mmin n File's data was last modified n minutes ago.
21.18.11. -ctime
21.18.12. -mtime / -mmin
21.18.13. --newer
21.18.14. -print / -printf
21.18.15. -size
21.18.16. -path
21.18.17. 目录深度控制
21.18.18. xargs
21.18.19. 查看空文件
22. 包管理 / 压缩 / 解压
22.1. tar — The GNU version of the tar archiving utility
22.1.1. tar examples
22.1.2. gunzip
22.1.3. b2zip
22.1.4. compress
22.1.5. .xz 文件
22.1.6. -t, --list
22.1.7. tar: Removing leading `/’ from member names
22.1.8. -C, --directory=DIR
22.1.9. --exclude
22.1.10. -T
22.1.11. 日期过滤
22.1.12. 保留权限
22.1.13. -r, --append
22.1.14. 远程传输
22.1.15. 分卷压缩
22.2. cpio - copy files to and from archives
22.3. gzip
22.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
22.5. bzip2, bunzip2 - a block-sorting file compressor
22.6. RAR
22.7. 7-Zip
22.7.1. 压缩
22.7.2. 浏览压缩包
22.7.3. 解压
22.7.4. Creates self extracting archive.
22.8. RAR
22.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
23. 日期和时间
23.1. 日期格式
23.1.1. weekday name
23.2. -d --date=
23.2.1. 日期偏移量
23.2.2. 时间偏移
23.3. 时间戳
23.4. RFC 2822
23.5. UTC
23.6. 字符串转日期
24. 数值与运算
24.1. 数值运算
24.2. seq - print a sequence of numbers
24.3. bc - An arbitrary precision calculator language
25. 文本处理
25.1. iconv - Convert encoding of given files from one encoding to another
25.1.1. cconv - A iconv based simplified-traditional chinese conversion tool
25.1.2. uconv - convert data from one encoding to another
25.2. 字符串处理命令expr
25.3. cat - concatenate files and print on the standard output
25.3.1. -s, --squeeze-blank suppress repeated empty output lines
25.3.2. -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
25.3.3. 与管道配合使用
25.4. nl - number lines of files
25.5. tr - translate or delete characters
25.5.1. 替换字符
25.5.2. 英文大小写转换
25.5.3. [CHAR*] 和 [CHAR*REPEAT]
25.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
25.5.5. -d, --delete delete characters in SET1, do not translate
25.6. cut - remove sections from each line of files
25.6.1. 字符操作
25.6.2. 列操作
25.7. printf - format and print data
25.8. Free `recode' converts files between various character sets and surfaces.
25.9. /dev/urandom 随机字符串
25.10. col - filter reverse line feeds from input
25.11. apg - generates several random passwords
25.12. head/tail
25.12.1. 彩色输出
25.12.2. 跳过 n 行,输出后面内容
25.12.3. 尾部剪掉 n 行
25.13. 反转字符串或文件内容
25.14. TAB符号与空格处理
25.14.1. expand - convert tabs to spaces
25.14.2. unexpand - convert spaces to tabs
25.15. grep, egrep, fgrep, rgrep - print lines matching a pattern
25.15.1. 删除空行
25.15.2. -v, --invert-match
25.15.3. 输出控制(Output control)
25.15.4. Context control
25.15.5. Regexp selection and interpretation
25.15.6. fgrep
25.15.7. egrep
25.16. sort - sort lines of text files
25.16.1. 对列排序
25.16.2. -s, --stable stabilize sort by disabling last-resort comparison
25.17. uniq
25.18. awk
25.18.1. 处理列
25.18.2. printf
25.18.3. Pattern(字符匹配)
25.18.4. Built-in Variables (NR/NF)
25.18.5. Built-in Functions
25.18.6. 过滤相同的行
25.18.7. 数组演示
25.19. sed
25.19.1. 查找与替换
25.19.2. insert 插入字符
25.19.3. 追加字符
25.19.4. 修改字符
25.19.5. 删除字符
25.19.6. 行操作
25.19.7. 编辑文件
25.19.8. 正则表达式
25.19.9. 管道操作
25.19.10. 字母大小写转换
25.19.11. perl
25.19.12. 案例
25.20. ed, red - text editor
25.21. vim
25.21.1. vim 初始化
25.21.2. 查找与替换
25.21.3. 删除操作
25.21.4. 插入文件
25.21.5. 批处理
25.21.6. line()
25.21.7. set fileformat
25.21.8. 空格与TAB转换
25.22. XML 工具
25.22.1. xmllint - command line XML tool
25.22.2. xmlstarlet - command line XML/XSLT toolkit
25.23. jq - Command-line JSON processor
25.23.1. --raw-output
26. 表格操作/行列转换
26.1. column - columnate lists
26.2. paste - merge lines of files
26.3. join
27. standard input/output
27.1. standard input/output
27.1.1. xargs - build and execute command lines from standard input
27.2. flock - manage locks from shell scripts
28. 进制转换 - 16进制 - 8进制 - 二进制
28.1. od - dump files in octal and other formats
28.1.1. 16进制
28.1.2. 使用 od 随机生成密码
28.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
28.3. xxd - make a hexdump or do the reverse.
28.3.1. 指定每行的列数
28.3.2. 跳过字节
28.4. binutils
28.4.1. strings - print the strings of printable characters in files.
29. 文件比较
29.1. diff
29.2. sdiff
29.3. diff3
30. Wget - The non-interactive network downloader.
30.1. Logging and input file
30.1.1. -i, --input-file=FILE download URLs found in local or external FILE.
30.2. 下载相关参数
30.2.1. -O, --output-document=FILE write documents to FILE 保存到文件
30.3. HTTP options (HTTP 选项)
30.3.1. --post-data=STRING use the POST method; send STRING as the data.
30.3.2. header HTTP头定义
30.4. Recursive download
30.4.1. -r, --recursive specify recursive download.
30.4.2. -m, --mirror shortcut for -N -r -l inf --no-remove-listing.
30.5. --no-passive-ftp disable the "passive" transfer mode.
30.6. 下载一组连续的文件名
31. CURL - transfer a URL
31.1. 基本用法
31.2. 提交表单数据
31.3. 上传文件
31.4. connect-timeout
31.5. max-time
31.6. compressed
31.7. 代理服务器
31.8. -w, --write-out <format> 输出格式定义
31.9. -A/--user-agent <agent string>
31.10. referer
31.11. -v
31.12. -o, --output FILE Write output to <file> instead of stdout
31.13. -L, --location
31.14. -H/--header <line> Custom header to pass to server (H)
31.14.1. Last-Modified / If-Modified-Since
31.14.2. ETag / If-None-Match
31.14.3. Accept-Encoding:gzip,defalte
31.14.4. HOST
31.14.5. HTTP 认证
31.14.6. Accept
31.14.7. Content-Type
31.15. curl-config
31.16. 指定网络接口或者地址
31.17. Cookie 处理
31.18. Restful 应用 JSON 数据处理
31.18.1. Curl Oauth2
31.18.2. Curl + Oauth2 + Jwt
31.19. 访问自签名证书
31.20. HTTP2
31.21. FAQ
32. 信息摘要
32.1. cksum, sum -- display file checksums and block counts
32.2. md5sum - compute and check MD5 message digest
32.3.
33. envsubst - substitutes environment variables in shell format strings
33.1. envsubst - substitutes environment variables in shell format strings
33.2. parallel - build and execute shell command lines from standard input in parallel
33.3. multitail
33.4. Logging
33.4.1. logger - a shell command interface to the syslog(3) system log module
33.5. Password
33.5.1. Shadow password suite configuration.
33.5.2. newusers - update and create new users in batch
33.5.3. chpasswd - update passwords in batch mode
33.5.4. sshpass - noninteractive ssh password provider
34. 常用命令
34.1. 获取IP地址
34.2. 有趣的 Shell 应用
34.2.1. Ascii 星球大战电影
34.2.2. 天气预报
34.2.3. htop - interactive process viewer
34.2.4. elinks
34.2.5. chat
III. Network Application
35. network tools
35.1. curl / w3m / lynx
35.2. DHCP
35.2.1. DHCP Server
35.2.2. dhclient
35.2.3. release matching connections
35.3. DNS/Bind
35.3.1. 安装 bind9
35.3.2. forwarders
35.3.3. Load Balancing
35.3.4. view
35.3.5. Master / Slave
35.3.6. DNS tools
35.3.7. DNS
35.3.8. NamedManager
35.4. dnsmasq
35.4.1. Install
35.4.2. /etc/dnsmasq.conf
35.4.3. dnsmasq.resolv.conf
35.4.4. dnsmasq.hosts
35.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
35.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
35.4.7. FAQ
35.5. ngrok - tunnel local ports to public URLs and inspect traffic
37. Proxy Server
37.1. Socks/Socks5
37.1.1. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
37.1.2. Socks5
37.1.3. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
37.1.4. SSH Socks5 Tunnel
37.1.5. hpsockd - HP SOCKS server
37.2. frp 反向代理
37.2.1. 安装
37.2.2. 配置 systemd
37.3. Apache Proxy
37.4. Squid - Internet Object Cache (WWW proxy cache)
37.4.1. 源码安装
37.4.2. debian/ubuntu 安装
37.4.3. 配置
37.4.4. Squid 管理
37.4.5. 禁止页面被Cache
37.4.6. Squid 实用案例
37.4.7. squid+icap+clamav
37.5. Web page proxy
37.5.1. Surrogafier
37.5.2. CGIproxy
37.5.3. PHPProxy
37.5.4. BBlocked
37.5.5. Glype
37.5.6. Zelune
37.6. rinetd — internet “redirection server”
37.6.1. rinetd install
37.6.2. rinetd.conf
37.6.3. 防御脚本
37.6.4. rinetd.log
38. Firewall
38.1. TCP/IP 相关内核配置项
38.1.1. net.ipv4.ip_forward
38.1.2. net.ipv4.icmp_echo_ignore_all
38.2. iptables - administration tools for packet filtering and NAT
38.2.1. Getting Started
38.2.2. 用户自定义规则连
38.2.3. Protocols 协议
38.2.4. Interfaces 网络适配器接口
38.2.5. 源IP地址
38.2.6. Ports 端口
38.2.7. NAT
38.2.8. Module(模块)
38.2.9. IPV6
38.2.10. iptables-xml - Convert iptables-save format to XML
38.2.11. access.log IP封锁脚本
38.2.12. Example
38.3. ulogd - The Netfilter Userspace Logging Daemon
38.4. ufw - program for managing a netfilter firewall
38.4.1. /etc/default/ufw
38.4.2. ip_forward
38.4.3. DHCP
38.4.4. Samba
38.5. CentOS 7/8 Firewalld
38.5.1. 如果你不习惯使用firewalld想用回Iptables
38.5.2. 安装 firewalld
38.5.3. firewalld 配置文件
38.5.4. firewall-cmd
38.5.5. 区域
38.5.6. 端口操作
38.5.7. 服务
38.5.8. IP 伪装
38.5.9. 端口转发
38.5.10. 富规则
38.6. Shorewall
38.6.1. Installation Instructions
38.6.2. Configuring Shorewall
38.7. Firewall GUI Tools
38.8. Endian Firewall
38.9. Smooth Firewall
38.10. Sphirewall
39. Stunnel - universal SSL tunnel
40. OpenSSH
40.1. 安装 OpenSSH
40.2. /etc/ssh/
40.2.1. IP地址限制
40.2.2. sshd_config
40.2.3. ssh_config
40.2.4. ~/.ssh/config
40.3. ssh client
40.3.1. -o option 参数详解
40.3.2. 调试模式,显示连接过程
40.3.3. 远程执行 Shell 支持彩色终端输出
40.4. OpenSSH Tunnel
40.4.1. SOCKS v5 Tunnel
40.4.2. 从公网穿透局域网
40.5. ssh-keygen — authentication key generation, management and conversion
40.5.1. .ssh/known_hosts
40.6. ssh-keyscan
40.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
40.8. ssh-agent
40.8.1. ssh-add
40.8.2. Lock / Unlock agent
40.8.3. Set lifetime (in seconds) when adding identities.
40.9. OpenSSH for Windows
40.9.1. Putty Client
40.10. Google Authenticator - Android Apps on Google Play
40.11. 禁止SSH密码穷举
40.12. FAQ
40.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
40.12.2. 去掉 passphrase
40.12.3. 打印调试信息
40.12.4. 远程执行 sudo 提示密码
40.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
41. VPN (Virtual Private Network)
41.1. WireGuard
41.1.1. 安装 WireGuard
41.1.2. 创建证书
41.1.3. 服务端
41.1.4. 客户端
41.1.5. 路由配置
41.1.6. wireguard-tools 命令
41.1.7. 案例:Server - Peer 互通,同时 Peer - Peer 也互通
41.1.8. MacOS wireguard
41.1.9. Ubuntu
41.2. OpenVPN (openvpn - Virtual Private Network daemon)
41.2.1. 安装 OpenVPN Server
41.2.2. Easy-RSA 3
41.2.3. Openvpn Client
41.2.4. OpenVPN GUI for Windows
41.2.5. point-to-point VPNs
41.2.6. VPN 案例
41.2.7. OpenVPN安全
41.3. pptpd
41.3.1. Server 服务端
41.3.2. Client 客户端
41.3.3. FAQ
41.4. l2tpd - dummy package for l2tpd to xl2tpd transition
41.4.1. Docker 安装 L2TP
41.4.2. Ubuntu
41.4.3. CentOS 8 Stream
41.4.4. Ipsec VPN
41.4.5. FAQ
41.5. IKEv2 VPN Server
41.5.1. OpenVPN Ikev2
41.5.2. IKEv2 VPN Server on Docker
41.5.3. strongswan - IPSec utilities for strongSwan
41.6. openswan - IPSEC utilities for Openswan
41.7. N2N VPN
41.8. Hypersocket VPN
41.9. Tailscale
42. Point to Point
42.1. download
42.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
42.1.2. mldonkey-server - Door to the 'donkey' network
42.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
43. Let's Encrypt's 免费SSL证书
43.1. 安装 certbot 工具
43.1.1. CentOS/Rocky Linux
43.1.2. Ubuntu
43.2. 生成证书,HTTP 文件认证
43.3. 手工生成证书,基于 DNS 认证
43.4. 证书更新
43.5. acme.sh
44. Nginx
44.1. Installing
44.1.1. Netkiller OSCM 一键安装 (CentOS 7)
44.1.2. Installing by apt-get under the debain/ubuntu
44.1.3. CentOS
44.1.4. installing by source
44.1.5. CentOS 7
44.1.6. Mac
44.1.7. rotate log
44.2. Nginx 命令
44.2.1. -V show version and configure options then exit
44.2.2. -t : test configuration and exit
44.2.3. test configuration, dump it and exit
44.3. nginx.conf 配置文件
44.3.1. 处理器配置
44.3.2. events 配置
44.3.3. Nginx 变量
44.4. http 配置
44.4.1. 缓冲区相关设置
44.4.2. 超时设置
44.4.3. server_tokens 隐藏 nginx 版本号
44.4.4. zstd 压缩
44.4.5. gzip
44.4.6. ssi
44.4.7. DNS 解析
44.4.8. rewrite
44.5. server
44.5.1. listen
44.5.2. server_name 配置
44.5.3. location
44.5.4. root 通过$host智能匹配目录
44.5.5. alias
44.5.6. try_files
44.5.7. SSL 虚拟主机
44.5.8. HTTP2 配置 SSL证书
44.5.9. expires
44.5.10. access
44.5.11. autoindex
44.5.12. return
44.5.13. add_header
44.5.14. client_max_body_size 上传文件尺寸限制
44.6. upstream 负载均衡
44.6.1. weight 权重配置
44.6.2. backup 实现热备
44.7. Proxy
44.7.1. proxy_cache
44.7.2. rewrite + proxy_pass
44.7.3. request_filename + proxy_pass
44.7.4. $request_uri 与 proxy_pass 联合使用
44.7.5. try_files 与 proxy_pass 共用
44.7.6. Proxy 与 SSI
44.7.7. Host
44.7.8. expires
44.7.9. X-Forwarded-For
44.7.10. X-Sendfile
44.7.11. proxy_http_version
44.7.12. proxy_set_header
44.7.13. 隐藏头部信息
44.7.14. 忽略头
44.7.15. proxy_pass_request_headers 透传 Header
44.7.16. timeout 超时时间
44.7.17. sub_filter 文本替换
44.7.18. 站外代理
44.7.19. Proxy SSE(Server-Sent Events)
44.7.20. example
44.7.21. HTTP Auth 认证冲突
44.8. fastcgi
44.8.1. spawn-fcgi
44.8.2. php-fpm
44.9. Nginx module
44.9.1. stub_status 服务器状态采集模块
44.9.2. sub_filter 页面中查找和替换
44.9.3. auth_basic HTTP 认证模块
44.9.4. valid_referers
44.9.5. ngx_http_flv_module
44.9.6. ngx_http_mp4_module
44.9.7. limit_zone
44.9.8. image_filter
44.9.9. ngx_stream_proxy_module
44.9.10. ngx_http_mirror_module
44.9.11. limit_except
44.9.12. geoip_country_code
44.10. Example
44.10.1. Nginx + Tomcat
44.10.2. 拦截index.html
44.10.3. Session 的 Cookie 域处理
44.11. FAQ
44.11.1. 405 Not Allowed?
44.11.2. 413 Request Entity Too Large
44.11.3. 499 Client Closed Request
44.11.4. 502 Bad Gateway?
44.11.5. 504 Gateway Time-out
44.11.6. proxy_pass
44.11.7. proxy_pass SESSION 丢失问题
44.11.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
44.11.9. server_name 与 SSI 注意事项
44.11.10. location 跨 document_root 引用,引用 document_root 之外的资源
44.11.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
44.11.12. 127.0.0.1:8080 failed
44.11.13. failed (13: Permission denied) while connecting to upstream
44.11.14. upstream sent too big header while reading response header from upstream
44.11.15. 很目录 index.html 正常访问,其他文件都是 404
44.11.16. nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
45. Openresty
45.1. 安装 Openresty
45.1.1. 源码安装
45.2. Openresty 开发
45.2.1. Hello world!!!
45.2.2. 日期和时间
45.2.3. 数据结构
45.2.4. echo 输出
45.2.5. 参数处理
45.2.6. Nginx 变量
45.2.7. Json
45.2.8. Redis
45.2.9. Nginx 缓存
45.2.10. logs
45.3. 实现灰度发布
45.4. Redis
46. Caddy
46.1. 安装 Caddy
46.1.1. CentOS/Rocky Linux/AlmiLinux
46.2. 命令行
46.2.1. 启动 Caddy
46.2.2. 文件服务器
46.3. /etc/caddy/Caddyfile
46.3.1. 导入配置文件 Caddyfile.d
46.3.2. 监听地址
46.3.3. 日志
46.3.4. 反向代理
46.3.5. Let's Encrypt 免费 SSL 证书
46.3.6. 返回内容
46.3.7.
46.3.8. 绑定域名
47. Apache Tomcat
47.1. Tomcat 安装与配置
47.1.1. Tomcat 6
47.1.2. Tomcat 7
47.1.3. Java 8 + Tomcat 8
47.1.4. Tomcat 9/10
47.1.5. 防火墙配置
47.1.6. 同时运行多实例
47.1.7. Testing file
47.1.8. mod_jk
47.1.9. mod_proxy_ajp
47.1.10. RewriteEngine 连接 Tomcat
47.1.11. SSL 双向认证
47.2. 配置 Tomcat 服务器
47.2.1. server.xml
47.2.2. tomcat-users.xml
47.2.3. context.xml
47.2.4. logging.properties
47.2.5. catalina.properties
47.3. 虚拟主机配置
47.3.1. 方案一
47.3.2. 方案二
47.3.3. Alias 别名
47.3.4. access_log
47.3.5. Context 配置
47.3.6. 主机绑定IP地址
47.4. SSI
47.5. Logging 日志
47.5.1. 开启 debug 模式
47.5.2. 切割 catalina.out 日志
47.6. Init.d Script
47.6.1. Script 1
47.6.2. Shell Script 2
48. Apache httpd
48.1. Install
48.1.1. Quick install apache with aptitude
48.1.2. CentOS 6
48.1.3. Compile and then install Apache
48.1.4. XAMPP
48.2. Module
48.2.1. Output a list of modules compiled into the server.
48.2.2. Core
48.2.3. mpm
48.2.4. Apache Log
48.2.5. mod_access
48.2.6. VirtualHost
48.2.7. Alias / AliasMatch
48.2.8. Redirect / RedirectMatch
48.2.9. Rewrite
48.2.10. Proxy
48.2.11. Deflate
48.2.12. Expires
48.2.13. Cache
48.2.14. usertrack
48.2.15. Charset
48.2.16. Dir
48.2.17. Includes
48.2.18. Apache Status
48.2.19. Mod Perl
48.2.20. mod_pagespeed -
48.2.21. Module FAQ
48.2.22. mod_setenvif
48.2.23. PHP 程序安全问题 php_admin_value
48.2.24. mod_spdy
48.3. 设置Apache实现防盗连
48.4. .htaccess
48.5. Error Prompt
48.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
48.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
49. Lighttpd
49.1. 安装Lighttpd
49.1.1. quick install with aptitude
49.1.2. yum install
49.1.3. to compile and then install lighttpd
49.2. /etc/lighttpd/lighttpd.conf
49.2.1. max-worker / max-fds
49.2.2. accesslog.filename
49.2.3. ETags
49.2.4. server.tag
49.3. Module
49.3.1. simple_vhost
49.3.2. ssl
49.3.3. redirect
49.3.4. rewrite
49.3.5. alias
49.3.6. auth
49.3.7. compress
49.3.8. expire
49.3.9. status
49.3.10. setenv
49.3.11. fastcgi
49.3.12. user-agent
49.3.13. spdy
49.4. 其他模块
49.4.1. mod_secdownload 防盗链
49.5. Example
49.5.1. s-maxage
50. Resin
50.1. 安装Resin
50.1.1. 直接使用
50.1.2. Debian/Ubuntu
50.1.3. 源码安装Resin
50.2. Compiling mod_caucho.so
50.3. resin.conf
50.3.1. Maximum number of threads
50.3.2. Configures the keepalive
50.3.3. ssl
50.4. virtual hosts
50.4.1. explicit host
50.4.2. regexp host
50.4.3. host-alias
50.4.4. configures a deployment directory for virtual hosts
50.4.5. Resources
50.5. FAQ
50.5.1. java.lang.OutOfMemoryError: PermGen space
51. Application Server
51.1. Zope
51.2. JBoss - JBoss Enterprise Middleware
52. varnish - a state-of-the-art, high-performance HTTP accelerator
52.1. Varnish Install
52.2. varnish utility
52.2.1. status
52.2.2. varnishadm
52.2.3. varnishtop
52.2.4. varnishhist
52.2.5. varnishsizes
52.3. log file
52.4. Varnish Configuration Language - VCL
52.4.1. unset / set
52.5. example
53. Apache Traffic Server
53.1. Install
53.2. Configure
54. Cherokee
54.1. Installing Cherokee
55. Jetty
56. Web Analysis
56.1. 综合测试
56.2. Web Logs
56.2.1. awstats
56.2.2. webalizer
57. Other Web Server
57.1. Python SimpleHTTPServer
58. web 服务器排名
58.1. HTTP状态码
59. Web Server Optimization
59.1. Chrome
59.2. ulimit
59.2.1. open files
59.3. khttpd
59.4. php.ini
59.4.1. Resource Limits
59.4.2. File Uploads
59.4.3. Session Shared
59.4.4. PATHINFO
59.5. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
59.6. Zend Optimizer
59.7. eaccelerator
V. Mail Server
60. Mail server constituent
61. mail user agent (MUA)
61.1. mail
61.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
61.2.1. 发送邮件
61.2.2. 设置自定义 From
61.3. alpine - Text-based email client, friendly for novices but powerful
61.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
61.5. GPG4WIN
61.6. Evolution
62. exim - meta-package to ease Exim MTA (v4) installation
62.1. install
62.1.1. ubuntu/debian
62.1.2. CentOS/Redhat
62.2. exim 命令
62.2.1. 帮助信息
62.2.2. 测试发送邮件
62.2.3. 刷新邮件队列
62.3. 配置exim
62.3.1. /etc/aliases 别名配置
62.4. FAQ
62.4.1. Mailing to remote domains not supported
63. postfix - High-performance mail transport agent
63.1. install
63.1.1. Ubuntu
63.1.2. CentOS
63.1.3. OSCM 通过配置管理脚本安装
63.2. 配置 Postfix
63.2.1. 转发配置
63.2.2. 拒收垃圾邮件
63.2.3. 收件箱配置
63.2.4. 邮件投递
63.2.5. 队列配置
63.2.6. 客户端
63.2.7. SMTP 发送权限相关配置
63.3. aliases
63.4. dkim
63.4.1. 增加域名
63.4.2. 测试
63.5. Rspamd
63.6. /var/log/maillog
63.6.1. 计算每分钟发送数量日志统计
63.6.2. 虚假地址统计
63.7. Post 命令
63.7.1. postconf - Postfix configuration utility
63.7.2. postsuper
63.7.3. postqueue - Postfix queue control
63.7.4. postmulti - Postfix multi-instance manager
63.8. Example
63.8.1. 站内电邮发送
63.8.2. EDM 服务器
63.8.3. SMTP 邮件发送服务器
63.9. FAQ
63.9.1. SMTP ERROR: RCPT TO command failed: 501 5.1.3 Bad recipient address syntax
63.9.2. connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Network is unreachable
63.9.3. opendkim[5762]: 3012A802C1DD: [49.213.11.18] [49.213.11.18] not internal
63.9.4. opendkim[12578]: 4CC5C802C382: no signature data
63.9.5. /etc/opendkim/keys/default.private: open(): No such file or directory
63.9.6. fatal: parameter inet_interfaces: no local interface found for ::1
63.9.7. NOQUEUE: reject: MAIL from unknown[192.168.3.31]: 552 5.3.4 Message size exceeds fixed limit;
63.9.8. 452 4.3.1 Insufficient system storage
63.9.9. 454 Relay access denied
64. 邮件原文
64.1. Subject Unicode
64.2. TO/CC/BCC
64.3. 正文
64.4. POP Sniffer
64.5. PHP mail()
65. 反垃圾邮件相关
65.1. Sender Policy Framework
65.1.1. 分析 SPF 记录
65.2. DKIM
65.3. 邮件被拒收处理方法
65.3.1. NetEase
65.3.2. Sohu
65.3.3. Tom
65.3.4. QQ
65.3.5. 21CN
66. Fax
66.1. HylaFAX
67. FAQ
67.1. 通过SSH与控制台不能登录
VI. Backup, Recovery, and Archiving Solutions
68. Logical Volume Manager (LVM)
68.1. 物理卷管理(physical volume)
68.1.1. pvcreate
68.1.2. pvdisplay
68.1.3. pvs
68.2. 卷组管理(Volume Group)
68.2.1. vgcreate
68.2.2. vgdisplay
68.2.3. vgs
68.2.4. vgchange
68.2.5. vgextend
68.2.6. vgreduce
68.3. 逻辑卷管理(logical volume)
68.3.1. lvcreate
68.3.2. lvdisplay
68.3.3. lvremove
68.4. Format
68.5. mount
68.5.1. lv
68.5.2. snapshot
68.6. snapshot backup
69. 文件传输
69.1. 跨服务器文件传输
69.1.1. scp - secure copy (remote file copy program)
69.1.2. nc - TCP/IP swiss army knife
69.2. wget - retrieves files from the web
69.2.1. 下载所有图片
69.2.2. mirror
69.2.3. reject
69.2.4. ftp 下载
69.3. axel - A light download accelerator - Console version
70. FTP (File Transfer Protocol)
70.1. lftp
70.1.1. pget
70.1.2. lftp 批处理
70.2. ncftp
70.2.1. batch command
70.2.2. ncftpget
70.2.3. ncftpput
70.3. FileZilla
70.4. vsftpd - The Very Secure FTP Daemon
70.4.1. 安装 vsftpd
70.4.2. ftp 帐号的shell权限
70.4.3. vsftpd 认证模块
70.4.4. chroot
70.4.5. FAT
70.5. ProFTPD + MySQL / OpenLDAP 用户认证
70.5.1. Proftpd + MySQL
70.5.2. Proftpd + OpenLDAP
70.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
71. File Synchronize
71.1. rsync - fast remote file copy program (like rcp)
71.1.1. 安装Rsync与配置守护进程
71.1.2. rsyncd.conf
71.1.3. rsync 参数说明
71.1.4. step by step to learn rsync
71.1.5. rsync examples
71.1.6. rsync for windows
71.1.7. 多进程 rsync 脚本
71.2. tsync
71.3. lsyncd
71.3.1. 安装
71.3.2. 配置 lsyncd.conf
71.3.3. 配置演示
71.4. Unison File Synchronizer
71.4.1. local
71.4.2. remote
71.4.3. config
71.5. csync2 - cluster synchronization tool
71.5.1. server
71.5.2. node
71.5.3. test
71.5.4. Advanced Configuration
71.5.5. 编译安装
71.6. synctool
72. File Share
72.1. NFSv4
72.1.1. Ubuntu
72.1.2. CentOS
72.1.3. exports
72.1.4. NFS For Windows
72.1.5. exportfs - maintain table of exported NFS file systems
72.1.6. macOS
72.1.7. Parallel NFS(pNFS)
72.2. Samba
72.2.1. install
72.2.2. smb.conf
72.2.3. Samba 相关命令
72.2.4. FAQ
73. Distributed File Systems
73.1. DRBD (Distributed Replicated Block Device)
73.1.1. disk and partition
73.1.2. Installation
73.1.3. configure
73.1.4. Starting
73.1.5. Using
73.2. Network Block Device protocol
73.2.1. nbd-server - Network Block Device protocol - server
73.2.2. nbd-client - Network Block Device protocol - client
73.3. GridFS
73.3.1. nginx-gridfs
73.3.2. lighttpd-gridfs
73.4. Moose File System
73.4.1. Master server installation
73.4.2. Backup server (metalogger) installation
73.4.3. Chunk servers installation
73.4.4. Users’ computers installation
73.4.5. Testing MFS
73.5. LizardFS
73.6. Ceph
73.6.1. Installation on Ubuntu
73.6.2. Installation on CentOS
73.6.3. Block Devices
73.7. GlusterFS
73.7.1. glusterfs-server
73.7.2. glusterfs-client
73.7.3. Testing
73.7.4. RAID
73.7.5. Filesystem Administration
73.7.6. CentOS 6.3
73.8. Lustre
73.9. MogileFS
73.10. Kosmos distributed file system (KFS)
73.11. Hadoop - HDFS
73.12. BeeGFS - The Parallel Cluster File System
73.13. Coda
73.14. OpenAFS
74. Shared Storage
74.1. Oracle OCFS2
74.1.1. 安装
74.2. GFS2
74.3. fam & imon
75. Network Attached Storage(NAS 网络附加存储)
75.1. Network Storage - Openfiler
75.1.1. Accounts
75.1.2. Volumes
75.1.3. Quota
75.1.4. Shares
75.2. OpenMediaVault
75.3. FreeNAS
76. Backup / Restore
76.1. 备份策略
76.1.1. Incremental backup
76.1.2. Differential backup
76.2. btrbk.noarch : Tool for creating snapshots and remote backups of btrfs sub-volumes
76.3. dump / restore
76.4. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
76.4.1. Install Backup Server
76.4.2. Install Backup Client
76.5. Amanda: Open Source Backup
76.6. Attic - 拥有重复数据删除技术的备份软件
76.6.1. 安装 Attic
76.6.2. 快速开始
76.7. SafeKeep
76.8. Opendedup
77. inotify
77.1. inotify-tools
77.2. Incron - cron-like daemon which handles filesystem events
77.2.1. incrontab - inotify cron table manipulator
77.2.2. 使用说明
77.3. inotify-tools + rsync
77.4. pyinotify
VII. Monitoring
78. Prometheus
78.1. 安装 Prometheus
78.1.1. Docker 安装
78.1.2. docker swarm
78.1.3. docker-compose
78.1.4. 防火墙设置
78.2. Prometheus 配置
78.2.1. Prometheus 命令行工具
78.2.2. rules 规则配置
78.2.3. SpringBoot
78.2.4. PromQL 自定义查询语言
78.3. Prometheus Exporter
78.3.1. 监控 Docker
78.3.2. node-exporter
78.3.3. cadvisor
78.3.4. Nginx Prometheus Exporter
78.3.5. Redis
78.3.6. MongoDB
78.3.7. MySQL
78.3.8. Blackbox Exporter(blackbox-exporter)
78.3.9. SNMP Exporter
78.4. Alertmanager
78.4.1. Docker 安装
78.4.2. alertmanager.yml 配置文件
78.4.3. 触发测试
78.4.4. 警报状态
78.5. Grafana
78.5.1. cadvisor
78.5.2. Docker - container summary (Prometheus)
79. Zabbix
79.1. Installing and Configuring Zabbix
79.1.1. Ubuntu
79.1.2. CentOS Zabbix 2.4
79.1.3. Zabbix 3.x CentOS 7
79.2. web ui
79.2.1. 警告脚本
79.3. zabbix-java-gateway - Zabbix java gateway
79.4. zabbix-agent
79.4.1. Ubuntu
79.4.2. CentOS 7
79.4.3. zabbix_agentd 命令
79.4.4. Nginx status 监控
79.4.5. redis
79.4.6. MongoDB
79.4.7. PHP-FPM
79.4.8. Elasticsearch
79.4.9. Postfix
79.4.10. TCP stats
79.4.11. 应用依赖检查
79.4.12. Oracle
80. 日志收集和分析
80.1. 系统日志
80.1.1. logwatch
80.1.2. logcheck : Analyzes log files and sends noticeable events as email
80.1.3. nulog
80.1.4. Web
80.1.5. Tomcat
80.1.6. Mail
80.1.7. OpenSSH 日志 /var/log/secure
80.1.8. rinetd.log
80.2. ElasticSearch + Logstash + Kibana
80.2.1. 安装
80.2.2. logstash 命令简单应用
80.2.3. 配置 logstash
80.2.4. Example
80.2.5. Beats
80.2.6. FAQ
80.3. Grafana + Loki + Promtail
80.3.1. Docker Compose
80.3.2. Helm
80.3.3. promtail
80.4. fluentd
80.4.1. Docker 安装
80.4.2. fluent-bit
80.4.3. temporarily failed to flush the buffer
80.5. Apache Flume
80.5.1. 安装 Apache flume
80.5.2. 基本配置
80.5.3. 配置 MySQL 存储日志
80.5.4. 配置 HDFS 存储日志
80.6. php-syslog-ng
80.7. Log Analyzer
80.8. Splunk
80.9. Octopussy
80.10. eventlog-to-syslog
80.11. graylog - Enterprise Log Management for All
81. 分布式链路追踪
81.1. Apache SkyWalking
81.2. Zipkin
82. 上一代监控系统
82.1. SMS
82.1.1. gnokii
82.1.2. AT Commands
82.2. IPMI (Intelligent Platform Management Interface)
82.2.1. OpenIPMI
82.2.2. freeipmi
82.2.3. ipmitool - utility for controlling IPMI-enabled devices
82.3. Cacti
82.3.1. Install Cacti for Ubuntu
82.3.2. Yum 安装
82.3.3. Source Install
82.3.4. Web 安装
82.3.5. Cacti plugins
82.3.6. Template
82.4. Nagios
82.4.1. Install
82.4.2. nagios
82.4.3. nrpe node
82.4.4. 配置 Nagios
82.4.5. 配置监控设备
82.4.6. Nagios Plugins
82.4.7. FAQ
82.5. Munin
82.5.1. Ubuntu
82.5.2. CentOS
82.5.3. 用户认证
82.5.4. munin-node and plugins
82.5.5. munin.conf
82.5.6. munin-node
82.6. Observium
82.6.1. Installation
82.7. Ganglia
82.7.1. Server
82.7.2. Client
82.7.3. Plugin
82.7.4. Installing Ganglia on Centos
82.8. Varnish Dashboard
82.9. icinga
82.10. Graphite
82.10.1. Graphite - Scalable Realtime Graphing
82.11. BIG BROTHER
82.12. Big Sister
82.13. OpenNMS
82.14. Performance Co-Pilot
82.15. Clumon Performance Monitor
82.16. Zenoss
82.17. 商业软件
82.18. Hyperic HQ
82.19. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
82.20. HawtIO
82.21. moloch
84. 网络监控
84.1. NET SNMP (Simple Network Management Protocol)
84.1.1. 安装SNMP
84.1.2. 配置SNMP
84.1.3. SNMP 命令
84.1.4. Cisco MBI
84.2. Bandwidth
84.2.1. apt-get install
84.2.2. CentOS rpm/yum
84.2.3. source code
84.2.4. /etc/bandwidthd.conf
84.3. NetFlow
84.3.1. flow-tools - collects and processes NetFlow data
84.3.2. netams - Network Traffic Accounting and Monitoring Software
84.4. Ntop
84.4.1. Installation
84.4.2. Web UI
84.4.3. Plugins
84.5. MRTG
84.5.1. CentOS 8 Stream
84.5.2. Ubuntu 安装
84.5.3. CentOS 安装
84.5.4. 监控多个设备
84.5.5. 批量生成监控配置文件
84.5.6. 图片尺寸
84.6. lvs-rrd
VIII. Server Load Balancing
85. heartbeat
85.1. heartbeat+ldirectord
85.1.1. heartbeat
85.1.2. ldirectord
85.1.3. test
85.2. Pacemaker
86. Linux Virtual Server
86.1. 环境配置
86.2. VS/NAT
86.3. VS/TUN
86.4. VS/DR
86.4.1. 配置文件
86.5. ipvsadm script
86.6. Timeout
86.7. debug
86.8. ipvsadm monitor
87. keepalived
87.1. 安装
87.2. test
87.3. HAProxy and Keepalived (Virtual IP)
88. Piranha - Cluster administation tools
88.1. install
88.2. configure
88.3. real server
88.4. Example
88.4.1. Master
88.4.2. Slave
88.4.3. MySQL
89. HAProxy - fast and reliable load balancing reverse proxy
89.1. Installing
89.1.1. Ubuntu
89.1.2. CentOS
89.2. haproxy.cfg
89.2.1. stats
89.2.2. listen 方式
89.2.3. frontend/backend 方式
89.2.4. option
89.2.5. balance
89.2.6. server
89.3. Example 配置实例
89.3.1. HTTP 配置实例
89.3.2. Squid
89.3.3. haproxy + mysql 配置实例
89.3.4. HTTPS SSL证书卸载配置实例
89.3.5. 使用TCP模式实现SSL穿透
89.3.6. SMTP
90. balance - Load balancing solution and generic tcp proxy
90.1. balance
90.1.1. 编译安装
90.1.2. Ubuntu 安装
90.1.3. 测试安装是否正确
90.1.4. 用法
90.2. BalanceNG
90.3. RBridge
91. Perlbal
91.1. install
92. Pacemaker
93. Example
93.1. 双负载均衡的用法
93.2. 单台负载均衡的用法
93.3. 广域网负载均衡的用法
94. FAQ
94.1. Haproxy 与 Nginx
IX. Distributed Computing
95. Open Source Distributed Computing
95.1. Boinc (berkeley 分布式计算平台)
95.1.1. rc.local
95.2. ubuntu apt-get 安装
95.3. CentOS 安装
95.4. boinccmd
95.4.1. attach_project
95.4.2. nomorework | allowmorework 禁止下载任务 / 允许下载任务
96. High performance Computing
96.1. Distributed Computing
96.1.1. OpenMosix
96.1.2. OpenSSI
96.2. Parallel Computing
96.2.1. EnFusion
96.2.2. SCore
96.2.3. Beowulf
98. Tachyon
99. Apache ZooKeeper
99.1. 安装配置
99.1.1. 单节点安装
99.1.2. 多节点安装
99.2. 管理 ZooKeeper
99.2.1. help
99.2.2. ls
99.2.3. create
99.2.4. get
99.2.5. set
99.2.6. delete
100. Message Queuing & RPC
100.1. RabbitMQ
100.1.1. 安装 RabbitMQ
100.1.2. 配置 RabbitMQ
100.1.3. rabbitmqctl - command line tool for managing a RabbitMQ broker
100.1.4. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
100.1.5. Python - Pika
100.1.6. Ruby amqp
100.2. ZeroMQ
100.2.1. python-zeromq
100.2.2. ruby zmq
100.3. nanomsg
100.4. Gearman
100.4.1. Getting Started with Gearman
100.4.2. gearman
100.4.3. Gearman PHP Extension
100.5. Apache Kafka is a distributed publish-subscribe messaging system
100.5.1. 安装 Kafka
100.5.2. 测试 Kafka
100.5.3. 配置 Kafka
100.5.4. 管理 Kafka
100.5.5. FAQ
100.6. RocketMQ
100.6.1. 安装 RocketMQ
100.7. Celery
100.8. ActiveMQ
100.9. http://kr.github.io/beanstalkd/
100.10. gRPC
X. Security
102. Authentication
102.1. /etc/login.defs
102.2. PAM 插件认证
102.2.1. pam_tally2.so
102.2.2. pam_listfile.so
102.2.3. pam_access.so
102.2.4. pam_wheel.so
102.3. Network Authentication
102.3.1. Network Information Service (NIS)
102.3.2. OpenLDAP
102.3.3. Kerberos
102.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
102.3.5. SASL (Simple Authentication and Security Layer)
102.3.6. GSSAPI (Generic Security Services Application Program Interface)
103. SELinux
103.1. getsebool - get SELinux boolean value
103.1.1. HTTP 相关配置
103.2. sestatus - SELinux status tool
103.3. setsebool - set SELinux boolean value
103.4. chcon - change file SELinux security context
103.5. rsync
103.6. 查找被SELINUX禁用服务
103.6.1. Nginx
104. Sniffer
104.1. nmap - Network exploration tool and security / port scanner
104.1.1. 安装 nmap
104.1.2. HOST DISCOVERY
104.1.3. SCAN TECHNIQUES
104.1.4. PORT SPECIFICATION AND SCAN ORDER
104.1.5. SCRIPT SCAN
104.1.6. OS DETECTION
104.1.7. OUTPUT
104.1.8. 排除指定的主机
104.1.9. 查看本地路由与接口
104.1.10. MISC
104.1.11. ncat - Concatenate and redirect sockets
104.1.12. nmap 应用案例
104.2. tcpdump - A powerful tool for network monitoring and data acquisition
104.2.1. 监控网络适配器接口
104.2.2. 监控主机
104.2.3. 监控TCP端口
104.2.4. 监控协议
104.2.5. 输出到文件
104.2.6. src / dst
104.2.7. 保存结果
104.2.8. Cisco Discovery Protocol (CDP)
104.2.9. Flags
104.2.10. 案例
104.3. cdpr - Cisco Discovery Protocol Reporter
104.4. ngrep - Network layer grep tool
104.4.1. 匹配关键字
104.4.2. 指定网络接口
104.4.3. SIP 抓包
104.5. Unicornscan,Zenmap,nast
104.6. netstat-nat - Show the natted connections on a linux iptable firewall
104.7. Tcpreplay
104.8. Wireshark
104.9. conntrack-tools : Manipulate netfilter connection tracking table and run High Availability
104.9.1. 帮助信息
104.9.2. 协议跟踪
105. sqlmap - automatic SQL injection and database takeover tool
105.1. Installation
105.2. 开始入住实验
105.2.1. 测试脚本
105.2.2. sqlmap.ini
105.3. Request参数
105.3.1. --method, --data
105.3.2. --cookie
105.3.3. --referer
105.3.4. --user-agent
105.3.5. --headers
105.3.6. --referer
105.3.7. auth
105.3.8. --proxy
105.3.9. --threads
105.3.10. --delay
105.3.11. --timeout
105.4. Injection
105.4.1. --dbms
105.4.2. --prefix
105.4.3. --postfix
105.4.4. --string
105.4.5. --regexp
105.4.6. --excl-str
105.4.7. --excl-reg
105.5. Techniques
105.5.1. --stacked-test
105.5.2. --time-test
105.5.3. --union-test
105.5.4. --union-tech
105.5.5. --union-use
105.6. Enumeration
105.6.1. dbs
105.6.2. --count
105.6.3. --dump/--dump-all
105.6.4. --sql-query
105.6.5. --sql-shell
105.7. Miscellaneous
105.7.1. --update
105.7.2. --save
106. Vulnerability Scanner
106.1. Nessus
106.2. OpenVAS
107. Injection & Penetration
107.1. Backtrack Linux
108. Lynis Linux 安全性扫描工具
108.1. 安装
108.1.1.
108.2. 开始审计
109. Suricata Engine
110. psad
111. fwknop
112. fwsnort
113. nftables
114. Haka
115. Docker
115.1. 安装 Docker
115.1.1. Rocky Linux / AlmiLinux / CentOS 8 Stream
115.1.2. Ubuntu docker-ce
115.1.3. 测试 Docker
115.1.4. 国内镜像
115.1.5. 重置 Docker
115.1.6. 早期版本
115.2. Portainer - Docker 图形管理界面
115.2.1. 安装
115.2.2. 配置 Portainer
115.2.3. 添加代理出错
115.3. 配置 Docker
115.3.1. 开启远程访问
115.3.2. 镜像配置
115.3.3. DNS
115.3.4. ulimit 资源
115.3.5. 配置SSL证书
115.4. docker 命令
115.4.1. docker - A self-sufficient runtime for containers
115.4.2. docker-compose - Define and run multi-container applications with Docker.
115.4.3. Docker Scan
115.5. 镜像管理
115.5.1. 搜索镜像
115.5.2. 获取镜像
115.5.3. 列出本地镜像
115.5.4. tag
115.5.5. 保存和载入镜像
115.5.6. 删除本地镜像
115.5.7. history 镜像历史纪录
115.5.8. format 用法
115.5.9. inspect
115.5.10. 查看镜像内容
115.6. 容器管理
115.6.1. 查看容器
115.6.2. 启动与终止容器
115.6.3. 进入容器
115.6.4. 运行容器内的命令
115.6.5. 导出和导入容器
115.6.6. 停止所有容器
115.6.7. 删除容器
115.6.8. 容器日志
115.6.9. 操作系统
115.6.10. 查看容器内运行的进程
115.6.11. 更新容器资源配置
115.6.12. 查看容器的退出状态
115.6.13. 暂停与恢复容器
115.6.14. 对比容器的变化
115.6.15. 查看容器状态
115.6.16. 重启容器
115.6.17. DNS
115.7. 卷管理
115.7.1. 列出卷
115.7.2. 创建卷
115.7.3. 挂在镜像
115.7.4. 检查卷
115.7.5. 删除卷
115.7.6. 销毁所有未使用的卷
115.7.7. 在多个容器间共享卷
115.7.8. 容器绑定本地文件系统
115.7.9. 只读权限
115.8. Docker 网络管理
115.8.1. docker0 IP地址
115.8.2. 容器指定固定IP地址
115.8.3. 创建子网
115.8.4. 创建 overlay 网络
115.8.5. 网络命令空间
115.8.6. flannel 网络配置
115.9. 日志管理
115.9.1. 查看默认驱动
115.9.2. Fluentd 配置
115.9.3. Docker 配置
115.9.4. docker-compose 编排
115.9.5. 将日志输出到 /dev/stdout 和 /dev/stderr
115.10. Dockerfile
115.10.1. 基于 Dockerfile 创建镜像
115.10.2. 基于 Alpine 制作镜像
115.10.3. Dockerfile 缺失的工具
115.10.4. Dockerfile 语法
115.11. 仓库
115.11.1. Docker 官方仓库
115.11.2. 私有仓库
115.11.3. Harbor
115.12. Swarms
115.12.1. 管理 Swarms
115.12.2. Stack
115.12.3. 服务
115.12.4. swarm 卷管理
115.13. docker-compose.yml 容器编排
115.13.1. 版本号
115.13.2. 镜像
115.13.3. 容器名称
115.13.4. 启动策略
115.13.5. 容器用户
115.13.6. 挂在卷
115.13.7. 映射端口的标签
115.13.8. 添加 hosts 文件
115.13.9. 网络配置
115.13.10. links 主机别名
115.13.11. 链接外部容器
115.13.12. 服务依赖
115.13.13. working_dir
115.13.14. 设置环境变量
115.13.15. 临时文件系统
115.13.16. 编译 Dockerfile
115.13.17. resources 硬件资源分配
115.14. Docker Example
115.14.1. registry
115.14.2. Example Java - Spring boot with Docker
115.14.3. Redis
115.14.4. Nginx
115.14.5. MySQL
115.14.6. MongoDB
115.14.7. Node
115.15. Docker FAQ
115.15.1. 通过 IP 找容器
115.15.2. 常用工具
115.15.3. 检查 Docker 是否可用
115.15.4. no space left on device
115.15.5. 从现有镜像提取 Dockerfile
115.15.6. Nginx 配吹 autoindex on 出现 403 Forbidden
115.15.7. 删除所有容器
115.15.8. 删除所有镜像
116. Podman
116.1. 安装 Podman
116.1.1. RockyLinux 安装 Podman
116.1.2. Almalinux 9.0
116.1.3. MacOS 安装 Podman
116.1.4. 初始化 Podman
116.1.5. 兼容 Docker
116.1.6. 安装 podman-compose
116.1.7. 配置 Podman
116.2. podman 管理
116.2.1. 虚拟机管理
116.2.2. 镜像管理
116.2.3. 运行命令
116.3. 按例
116.3.1. podman run 用法
116.3.2. mysql
116.3.3. 制作镜像
117. Kubernetes
117.1. Minikube
117.1.1. CentOS 8 安装 minikube
117.1.2. Quickstart
117.1.3. minikube 命令
117.1.4. Minikube 案例演示
117.1.5. FAQ
117.2. microk8s
117.2.1. 安装 microk8s
117.2.2. 组件管理
117.2.3. kubectl
117.2.4. Kubernetes Addons
117.3. Kubernetes 集群管理
117.3.1. 配置
117.3.2. 如何从 docker 过渡到 kubectl 命令
117.3.3. namespace 命名空间
117.3.4. label 标签
117.3.5. 服务管理
117.3.6. serviceaccount
117.3.7. Pod 管理
117.3.8. 部署管理
117.3.9. secret 密钥管理
117.3.10. ConfigMap
117.3.11. Job/CronJob
117.3.12. clusterrolebinding
117.3.13. Volume
117.3.14. Ingress
117.4. kubectl example
117.4.1. 私有 registry
117.4.2. mongodb
117.4.3. tomcat
117.5. istio
117.5.1. 启动 istio
117.5.2. 禁用 istio
117.6. Kubeapps
117.7. Helm - The package manager for Kubernetes
117.7.1. 安装 Helm
117.7.2. 快速开始
117.7.3. Helm 命令
117.7.4. ingress-nginx
117.7.5. elastic
117.7.6. Helm The package manager for Kubernetes
117.7.7. Helm Faq
117.8. 常见问题
117.8.1. 从局域网访问POD
118. Rancher - Multi-Cluster Kubernetes Management
118.1. 安装 Rancher
118.1.1. Rancher Server
118.1.2. Rancher Kubernetes Engine (RKE) 2
118.1.3. Rancher Kubernetes Engine (RKE) 1
118.1.4. Rancher CLI
118.1.5. rancher-compose
118.2. 快速入门
118.2.1. API
118.3. Rancher Compose
118.3.1. Rancher Compose 命令
118.3.2. 操作演示
118.4. Rancher CLI
118.4.1. 登陆 Rancher
118.4.2. 查看集群
118.4.3. 查看节点
118.4.4. catalog
118.4.5. 查看设置
118.4.6. rancher kubectl
118.5. K3s
118.5.1. AutoK3s
118.5.2. 安装 K3s(Docker 模式)
118.5.3. 安装 K3s(VM 模式)
118.5.4. k3d
118.5.5. TLS 证书
118.5.6. 创建 Token
118.5.7. FAQ
118.6. Rancher Demo
118.6.1. Rancher 部署 Nginx
118.6.2. local-path-provisioner
118.7. Longhorn
118.7.1. 安装 Longhorn
118.7.2. 选择磁盘类型
118.7.3. 节点选择
118.7.4. FAQ
118.8. FAQ
118.8.1. 调试 Rancher 查看日志
118.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
118.8.3. cgroups v2
119. netkiller 容器编排工具
119.1. 安装 netkiller-devops
119.2. 使用 python 优雅地编排 Docker 容器
119.2.1. 安装依赖库
119.2.2. 创建一个 Services
119.2.3. 创建 Composes
119.2.4. 容器管理
119.2.5. 演示例子
119.2.6. 使用 Python 编排 Dockerfile
119.2.7.
119.2.8. logstash
119.3. 使用 Python 优雅地编排 Kubernetes
119.3.1. 快速演示编排Nginx
119.3.2. 创建命名空间
119.3.3. ConfigMap/Secret 编排演示
119.3.4. Pod 挂载 ConfigMap 编排演示
119.3.5. Pod 挂载 ConfigMap 设置环境变量
119.3.6. Ingress 挂载 SSL 证书
119.3.7. StatefulSet 部署 Redis
119.3.8. StorageClass
119.3.9. 部署 MySQL 到 kubernetes
119.3.10. MongoDB
119.3.11. Nacos
119.3.12. Redis
119.3.13. Kubernetes 部署 kube-explorer 图形化界面
119.3.14. ELK
119.3.15. sonarqube
XI. Virtualization
120. Virtual Machine(虚拟机)
120.1. Kernel-based Virtual Machine(KVM)
120.1.1. kvm install usage yum
120.1.2. Ubuntu
120.1.3. CentOS 6.2
120.1.4. Scientific Linux Virtualization
120.1.5. libvirt
120.1.6. FAQ
120.2. Xen
120.2.1. install
120.2.2. Manager
120.3. OpenVZ
120.3.1. 安装OpenVZ
120.3.2. 使用OpenVZ & 建立VPS
120.3.3. 设置VPS参数
120.4. vagrant - Tool for building and distributing virtualized development environments
120.4.1. vagrant for windows
120.5. 虚拟机管理
120.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
120.5.2. OpenStack
120.5.3. CloudStack
120.5.4. OpenNode
120.5.5. OpenNEbula
XII. 项目管理工具
121. Gitlab 项目管理
121.1. GitLab 安装与配置
121.1.1. Almalinux 9.0
121.1.2. CentOS 8 Stream 安装 Gitlab
121.1.3. Docker 方式安装 Gitlab
121.1.4. Yum 安装 GitLab
121.1.5. 绑定SSL证书
121.1.6. Gitlab 管理
121.2. 初始化 Gitlab
121.2.1. 操作系统初始化
121.2.2. 创建用户
121.2.3. 初始化组
121.2.4. 初始化标签
121.2.5. 初始化分支
121.2.6. 部署环境
121.3. 项目管理
121.3.1. 组织架构
121.3.2. 项目计划
121.3.3. 工作流
121.3.4. 议题
121.3.5. 并行开发
121.3.6. 升级与发布相关
121.3.7. 代码审查
121.4. 通过GPG签名提交代码
121.4.1. 创建证书
121.4.2. 配置 Gitlab GPG
121.4.3. 配置 Git
121.4.4. FAQ
121.5. CI / CD
121.5.1. 远程服务器配置
121.5.2. 配置 CI / CD
121.5.3. Shell 执行器
121.5.4. tags 的使用方法
121.5.5. Docker 执行器
121.5.6. Kubernetes executor
121.5.7. Java 持续集成相关
121.5.8. 数据库结构监控
121.5.9. 持续部署 Nacos
121.6. Pipeline 流水线
121.6.1. cache
121.6.2. stages
121.6.3. variables
121.6.4. script /before_script / after_script
121.6.5. only and except
121.6.6. 构建物
121.6.7. 允许失败
121.6.8. 定义何时开始job
121.6.9. services
121.6.10. tags
121.6.11. rules 规则
121.6.12. include 包含
121.6.13. 模版
121.6.14. release
121.6.15. 应用案例
121.7. 软件包与镜像库
121.7.1. Maven 仓库
121.7.2. Python Pypi 仓库
121.7.3. Node JS
121.7.4. Docker registry
121.8. 服务器端 hooks
121.8.1. 创建全局 Server hooks
121.8.2. 给单个仓库配置 Server hooks
121.9. 客户端 hooks
121.9.1. 集成禅道
121.10. WebHook
121.11. FAQ
121.11.1. 查看日志
121.11.2. debug runner
121.11.3. gitolite 向 gitlab 迁移
121.11.4. 修改主机名
121.11.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
121.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
121.11.7. 磁盘 100% 怎样清理
122. Jenkins
122.1. 安装 Jenkins
122.1.1. OSCM 一键安装
122.1.2. Mac
122.1.3. CentOS
122.1.4. Ubuntu
122.1.5. Docker
122.1.6. Minikube
122.2. 配置 Jenkins
122.3. Jenkinsfile
122.3.1. Jenkinsfile - Declarative Pipeline
122.3.2. Jenkinsfile - Scripted Pipeline
122.3.3. 设置环境变量
122.3.4. agent
122.3.5. Steps
122.3.6. 版本控制
122.3.7. 节点与过程
122.3.8. 工作区
122.4. Jenkins Job DSL / Plugin
122.5. Jenkins Plugin
122.5.1. Blue Ocean
122.5.2. Locale Plugin (国际化插件)
122.5.3. github-plugin 插件
122.5.4. Docker
122.5.5. JaCoCo
122.5.6. SSH Pipeline Steps
122.5.7. Rancher
122.5.8. Kubernetes 插件
122.5.9. HTTP Request Plugin
122.5.10. Skip Certificate Check plugin
122.5.11. Android Sign Plugin
122.6. Jenkinsfile Pipeline Example
122.6.1. Maven 子模块范例
122.6.2. 使用指定镜像构建
122.6.3. 命令行制作 Docker 镜像
122.6.4. Yarn
122.6.5. Android
123. SonarQube
123.1. 安装
123.1.1. Kubernetes 安装 SonarQube
123.1.2. Docker
123.1.3. netkiller-devops 安装
123.1.4. SonarScanner
123.2. 配置
123.2.1. 登陆 SonarQube
123.2.2. 本地 maven 执行 SonarQube
123.2.3. 集成 Gitlab
123.2.4. SonarScanner
123.3. FAQ
123.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]
123.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
123.3.3. [ERROR] An unknown compilation problem occurred
123.3.4. can't have 2 modules with the following key
123.3.5. Kubernetes 运行 sonar-scanner
124. Dagger
125. 持续集成工具
125.1. Code Review
125.1.1. Phabricator - an open source, software engineering platform
125.1.2. Gerrit
125.1.3. TeamCity
125.2. Nexus Repository OSS
125.2.1. 安装 Nexus
125.2.2. Nexus UI
125.2.3. maven 设置
125.2.4. Node.js
125.2.5. Ruby
127. TRAC
127.1. Ubuntu 安装
127.1.1. source code
127.1.2. easy_install
127.1.3. Apache httpd
127.2. CentOS 安装
127.2.1. trac.ini
127.2.2. standalone
127.2.3. Using Authentication
127.2.4. trac-admin
127.3. Project Environment
127.3.1. Sqlite
127.3.2. MySQL
127.3.3. Plugin
127.4. trac.ini
127.4.1. repository
127.4.2. attachment 附件配置
127.5. trac-admin
127.5.1. adduser script
127.6. Trac 项目管理
127.6.1. Administration
127.6.2. Wiki
127.6.3. Timeline
127.6.4. Roadmap
127.6.5. Ticket
127.7. FAQ
127.7.1. TracError: Cannot load Python bindings for MySQL
127.8. Apache Bloodhound
128. Redmine
128.1. CentOS 安装
128.2. Redmine 运行
128.3. 插件
128.3.1. workflow
129. 项目管理工具
129.1. 禅道
129.2. TUTOS
XIII. 软件版本控制
130. Git - Fast Version Control System
130.1. 指定目录
130.2. Repositories 仓库管理
130.2.1. 仓库初始化
130.2.2. 克隆代码
130.2.3. 切换分支
130.2.4. 添加文件
130.2.5. 提交文件
130.2.6. 查看仓库状态
130.2.7. 比较文件
130.2.8. 推送
130.2.9. 拉去代码
130.2.10. 同步数据
130.2.11. Creating a Patch
130.2.12. 重置/回滚到指定版本
130.3. 分支管理
130.3.1. 查看本地分支
130.3.2. 创建分支
130.3.3. 删除分支
130.3.4. 切换分支
130.3.5. 重命名分支
130.3.6. git-show-branch - Show branches and their commits
130.4. 标签管理
130.4.1. 创建标签
130.4.2. 查看标签
130.4.3. 推送标签
130.4.4. 删除标签
130.5. git show - Show various types of objects
130.5.1. 查看指定版本的文件内容
130.6. git log 日志
130.6.1. hash-object
130.6.2. 查看文件历史记录
130.6.3. 目录历史记录
130.6.4. 一行显示 --oneline
130.6.5. 格式化
130.6.6. 过滤
130.6.7. all
130.6.8. full-history
130.6.9. reflog
130.7. git rev-parse - Pick out and massage parameters
130.7.1. 获得当前提交ID
130.7.2. --short
130.8. 合并分支
130.8.1. 合并分支
130.8.2. rebase
130.8.3. 合并分支解决冲突
130.8.4. 终止合并
130.8.5. 合并单个文件
130.8.6. Git 合并特定 commits 到另一个分支
130.9. 比较文件
130.9.1. 比较 SHA
130.9.2. 分支比较
130.10. 远程仓库
130.10.1. 查看远程地址
130.10.2. 显示远程地址
130.10.3. 添加远程仓库
130.10.4. 修改 origin
130.10.5. 删除 origin
130.10.6. 仓库共享
130.10.7. git-daemon 服务器
130.11. Submodule 子模块
130.11.1. 添加模块
130.11.2. checkout 子模块
130.11.3. 删除子模块
130.12. Git Large File Storage
130.12.1. 安装 LFS 支持
130.12.2. LFS lock
130.13. git config
130.13.1. git config
130.13.2. 查看配置
130.13.3. 编辑配置
130.13.4. 替换配置项
130.13.5. 配置默认分之
130.13.6. GPG签名
130.13.7. core.sshCommand
130.13.8. fatal: The remote end hung up unexpectedly
130.13.9. 忽略 SSL 检查
130.13.10. 配置忽略合并文件
130.13.11. .gitignore
130.13.12. .gitattributes
130.13.13. 配置模版目录
130.14. archive 代码打包
130.14.1. 查看支持的格式
130.14.2. 导出分支代码
130.14.3. 导出制定版本
130.14.4. 导出目录和文件
130.15. git-svn - Bidirectional operation between a single Subversion branch and git
130.16. Web Tools
130.16.1. viewgit
130.17. gitolite - SSH-based gatekeeper for git repositories
130.17.1. gitolite-admin
130.18. FAQ
130.18.1. 导出最后一次修改过的文件
130.18.2. 导出指定版本区间修改过的文件
130.18.3. 撤销当前修改,恢复到远程最后一次提交
130.18.4. 回撤提交
130.18.5. 撤回单个文件提交
130.18.6. 合并分支中的单个
130.18.7. 每个项目一个证书
130.18.8. fatal: Not possible to fast-forward, aborting.
130.18.9. receive.denyCurrentBranch
130.18.10. 更新所有项目以及分支
130.18.11. 找回丢失的分支
131. Subversion
131.1. Invoking the Server
131.1.1. Installing
131.1.2. standalone “daemon” process
131.1.3. classic Unix-like inetd daemon
131.1.4. hooks
131.1.5. WebDav
131.2. repository 管理
131.2.1. create repository
131.2.2. user admin
131.2.3. authz
131.2.4. dump
131.3. 使用Subversion
131.3.1. Initialized empty subversion repository for project
131.3.2. ignore
131.3.3. 关键字替换
131.3.4. lock 加锁/ unlock 解锁
131.3.5. import
131.3.6. export 指定版本
131.3.7. 修订版本关键字
131.3.8. 恢复旧版本
131.4. branch
131.4.1. create
131.4.2. remove
131.4.3. switch
131.4.4. merge
131.4.5. relocate
131.5. FAQ
131.5.1. 递归添加文件
131.5.2. 清除项目里的所有.svn目录
131.5.3. color diff
131.5.4. cvs2svn
131.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
131.5.6. 指定用户名与密码
132. cvs - Concurrent Versions System
132.1. installation
132.1.1. chroot
132.2. cvs login | logout
132.3. cvs import
132.4. cvs checkout
132.5. cvs update
132.6. cvs add
132.7. cvs status
132.8. cvs commit
132.9. cvs remove
132.10. cvs log
132.11. cvs annotate
132.12. cvs diff
132.13. rename file
132.14. revision
132.15. cvs export
132.16. cvs release
132.17. branch
132.17.1. milestone
132.17.2. patch branch
132.18. keywords
133. 常用命令
133.1. 获取IP地址
133.2. 有趣的 Shell 应用
133.2.1. Ascii 星球大战电影
133.2.2. 天气预报
133.2.3. htop - interactive process viewer
133.2.4. elinks
133.2.5. chat
XIV. Configuration Management(配置管理)
134. Ansible - SSH-based configuration management, deployment, and task execution system
134.1. install
134.2. Getting Started
134.3. ansible - run a command somewhere else
134.3.1. host-pattern
134.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
134.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
134.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
134.3.5. -s, --sudo run operations with sudo (nopasswd)
134.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
134.3.7. 使用实例
134.4. ansible-doc - Show Ansible module documentation
134.5. ansible-playbook - run an ansible playbook
134.5.1. 包含文件用法
135. Capistrano
136. Puppet
136.1. Installing Puppet CentOS 6.3
136.2. Puppet 签名
136.2.1. Agent 节点
136.2.2. Master 服务器
136.3. test
136.3.1. Master
136.3.2. Agent
136.4. 配置文件
136.4.1. /etc/sysconfig/puppet
136.4.2. /etc/puppet/fileserver.conf
136.5. manifests
136.5.1. node
136.5.2. group, user 用户组管理
136.5.3. file
136.5.4. package
136.5.5. service
136.5.6. exec
136.5.7. cron
136.6. modules
136.7. firewall 配置
136.8. debug
136.8.1. master
136.8.2. node
136.9. FAQ
136.9.1. err: Could not request certificate: No route to host - connect(2)
136.9.2. No help available unless you have RDoc::usage installed
137. SaltStack
137.1. 安装 Salt Stack
137.1.1. 服务端安装
137.1.2. 客户端安装
137.1.3. 防火墙配置
137.1.4. key 管理
137.1.5. 测试
137.1.6. Demo
137.2. salt-key - Salt key is used to manage Salt authentication keys
137.3. salt 命令
137.3.1. cmd
137.3.2. pkg.install
137.3.3. network.interfaces
137.3.4. salt example
137.4. /etc/salt/master
137.4.1. File Server settings
137.4.2. Pillar settings
137.4.3. Node Groups
137.4.4. File Server Backend
137.5. sls 脚本
137.5.1. pkg
137.5.2. service
137.6. FAQ
137.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
138. Chef
138.1. 安装 Chef
138.1.1. CentOS
139. Cobbler
140. Cfengine
141. func
142. (R)?ex Deployment & Configuration Management
143. 基于Web的系统管理软件
143.1. Webmin
143.1.1. webalizer
143.2. ajenti
XV. 图形工具(Graphics)
144. Gnuplot
144.1. 安装 Gnuplot
144.1.1. CentOS 环境
144.1.2. Ubuntu 环境
144.1.3. 测试 Gnuplot 是否可用
144.2. terminal
144.3. output
144.4. title/xlabel/ylabel
144.5. xrange/yrange
144.5.1. 时间轴范围
144.5.2. 日期轴范围
144.6. xdata
144.6.1. Date/Time
144.7. plot
144.7.1. using
144.8. PHPlot
144.9. FAQ
144.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
144.9.2. 变量传递
145. Graphviz - Graph Visualization Software
145.1. Installation
145.1.1. Apt-get
145.1.2. Yum
145.2. The DOT Language
145.2.1. dot
145.2.2. twopi
145.2.3. gprof
145.3. Node, Edge and Graph Attributes
145.3.1. Color Names
145.3.2. Node Shapes
145.3.3. 箭头
145.4. Example
145.4.1. E-R
145.4.2. Network
145.4.3. workflow
146. RRDTool
146.1. install
146.2. rrdtool demo example
146.3. title
146.4. start / end
146.5. height / width
146.6. upper-limit / lower-limit
146.7. vertical-label
146.8. Data Source
146.9. Round Robin Archives
146.10. AREA, LINE and STACK
146.10.1. LINE
146.10.2. AREA
146.10.3. STACK
146.10.4. GPRINT
146.11. Example
146.11.1. Memory
146.11.2. example 1
146.11.3. example 1
147. OpenBR
148. OCR - Optical Character Recognition
148.1. Tesseract
148.2. cuneiform - multi-language OCR system
149. Open-Source tool in Java to draw UML Diagram
150. Asymptote: The Vector Graphics Language
150.1. UML
151. MetaPost
152. OpenStreetMap
152.1. OpenLayers
152.2. Leaflet
153. Baidu Map
153.1. BMap.Circle
XVI. 多媒体信息处理(Multimedia)
154. Audio
154.1. lame
155. Video
155.1. FFmpeg
155.1.1. 安装
155.1.2. 视频格式转换
155.1.3. 提取视频中的音频
155.1.4. 添加字幕
155.1.5. 音频格式转换
155.2. OpenShot
155.3. cinelerra-cv
156. 图像处理(Graphics)
156.1. GraphicsMagick
156.1.1. 安装
156.1.2. 识别图像信息
156.1.3. mogrify
156.1.4. 图像格式转换
156.1.5. montage
156.1.6. 截屏
156.1.7. 显示图像
156.2. ImageMagick
156.2.1. install
156.2.2. convert
156.2.3. 查看支持字体列表
156.3. Photivo
156.4. F-Spot
156.5. librsvg2 - 转换 SVG 图像为 PNG
156.6. How to add metadata to digital pictures from the command line
157. Music score
157.1. Synthesizer
157.1.1. ZynAddSubFX
157.2. Drums
157.2.1. Hydrogen
157.3. LilyPond
157.3.1. Example
157.4. MuseScore
157.5. ardour
157.6. LMMS
157.7. Qsynth
157.8. Rosegarden
157.9. TerminatorX
157.10. Pulseaudio
158. 流媒体(Stream)
158.1. 检查是否支持流媒体
158.2. broadcast streaming
158.2.1. gnump3d - A streaming server for MP3 and OGG files
158.2.2. icecast2 - Ogg Vorbis and MP3 streaming media server
158.2.3. shoutcast
158.2.4. PeerCast
158.3. WebRTC
158.3.1. WebRTC
158.3.2. mediasoup
160. 常用命令
160.1. 获取IP地址
160.2. 有趣的 Shell 应用
160.2.1. Ascii 星球大战电影
160.2.2. 天气预报
160.2.3. htop - interactive process viewer
160.2.4. elinks
160.2.5. chat
XVII. 数字证书,编码与解码
161. UUID (Universally Unique Identifier)
161.1. GUID
161.2. Subversion
161.3. PHP UUID
161.4. JAVA UUID
161.5. PERL UUID
161.6. Python UUID
161.7. MySQL uuid()
161.8. linux command uuid
162. Encode & Decode
162.1. MIME (BASE64) 专题
162.1.1. Linux Command base64
162.1.2. PHP Base64
162.1.3. Python Base64
162.1.4. perl base64
162.1.5. Java Base64
162.1.6. C/C++ Base64
162.2. Uuencode
162.2.1. PHP uuencode
162.3. Quoted-Printable
162.3.1. C Quoted-Printable
162.3.2. Java Quoted-Printable
162.3.3. Python Quoted-Printable
162.4. Base58
162.4.1. php
162.4.2. Java Base58
163. Message Digest (数字摘要)
163.1. MD5专题
163.1.1. md5sum
163.1.2. PHP md5()
163.1.3. MySQL md5()
163.1.4. Java MD5
163.1.5. perl md5
163.2. SHA 专题
163.2.1. sha1sum
163.2.2. PHP sha1()
163.2.3. Java SHA
163.2.4. Perl
163.3. CRC32
163.3.1. PHP CRC32
163.3.2. Java CRC32
163.4. 第三方工具
163.4.1. htpasswd
163.4.2. htdigest
163.4.3. md5sum
163.4.4. sha1sum
164. DES crypt() 专题
164.1. C crypt()
164.2. PHP crypt()
164.3. perl crypt
164.4. mysql crypt
164.5. Java crypt
164.5.1. Java 8 DES
164.6. grub-md5-crypt - Encrypt a password in MD5 format.
165. AES
165.1. Java
165.1.1. AES/ECB/PKCS5Padding
165.1.2. AES/CBC/PKCS5PADDING
165.2. PHP
165.2.1. AES/ECB/PKCS5Padding
166. GnuPG
166.1. 安装 GnuPG
166.1.1. CentOS 8 Stream
166.1.2. Ubuntu
166.1.3. macOS
166.2. 创建密钥
166.2.1. 创建密钥并指定过期时间
166.2.2. 快速创建密钥对
166.3. 查看密钥
166.4. 吊销密钥
166.5. 删除密钥
166.6. 密钥倒入/导出
166.6.1. 导出密钥
166.6.2. 导入密钥
166.6.3. 导入所有密钥
166.6.4. 密钥迁移
166.7. 签名
166.8. 加密/解密文件
166.8.1. 加密文件
166.8.2. 解密
166.8.3. 指定用户ID
166.8.4. 签名+加密
166.9. 修改密钥
166.9.1. 显示帮助信息
166.9.2. 签名
166.9.3. 公钥信任配置
166.10. 加密备份 MySQL
166.10.1. 创建密钥对
166.10.2. 数据库备份
166.10.3. 数据库还原
166.11. FAQ
166.11.1. 指定 passphrase
166.11.2. 旧版本 1.4.11
166.12. GnuPG For Windows
166.12.1. 生成密钥对
166.12.2. 列出密钥
166.12.3. 验证签字
166.12.4. EMail-Security
166.13. Smart Card
166.14. PGP
166.15. OpenPGP
167. OpenSSL
167.1. openssl 命令参数
167.1.1. version
167.1.2. 测试加密算法的速度
167.1.3. req
167.1.4. x509
167.1.5. ca
167.1.6. crl
167.1.7. pkcs12
167.1.8. passwd
167.1.9. digest
167.1.10. enc
167.1.11. rsa
167.1.12. dsa
167.1.13. rc4
167.1.14. -config 指定配置文件
167.1.15. -subj 指定参数
167.1.16. rand
167.1.17. 去除私钥的密码
167.1.18. ciphers
167.2. web 服务器 ssl 证书
167.2.1. Nginx
167.3. s_server / s_client
167.3.1. SSL POP3 / SMTP / IMAP
167.3.2. server / client 文件传输
167.3.3. 检查证书是否支持指定的 cipher
167.3.4. HTTP SSL 证书
167.4. smime
167.5. Outlook smime x509 证书
167.5.1. 快速创建自签名证书
167.5.2. 企业或集团方案
167.6. 证书转换
167.6.1. CA证书
167.6.2. 创建CA证书有效期为一年
167.6.3. x509转换为pfx
167.6.4. PEM格式的ca.key转换为Microsoft可以识别的pvk格式
167.6.5. PKCS#12 到 PEM 的转换
167.6.6. 从 PFX 格式文件中提取私钥格式文件 (.key)
167.6.7. 转换 pem 到到 spc
167.6.8. PEM 到 PKCS#12 的转换
167.6.9. How to Convert PFX Certificate to PEM Format for SOAP
167.6.10. DER文件(.crt .cer .der)转为PEM格式文件
167.6.11. JKS 转 X509
167.6.12. jks to pem
167.7. 其他证书工具
167.8. OpenSSL 开发库
167.8.1. DES encryption with OpenSSL
168. 数据库与加密
168.1. MySQL 加密函数
168.1.1. AES_ENCRYPT / AES_DECRYPT
168.1.2. 通过PHP mcrypt 函数加密解密MySQL数据库
169. Java - keytool
169.1. 创建证书
169.2. Private key generation
169.3. Public Key Certificate (optional)
169.4. import your signed certificate
169.5. Import the certificate and attach it to your server key pair
169.6. Key pair verification
170. .Net makecert
170.1. 访问X.509证书
171. Secure Tunnel
171.1. OpenSSH Tunnel
171.1.1. SOCKS v5 Tunnel
171.2. SSL Tunnel
171.2.1. 通过SSL访问POP、IMAP、SMTP
171.3. DeleGate
172. 硬盘分区与文件系统加密
172.1. Microsoft 文件系统加密
172.1.1. Microsoft Encrypting File System (EFS)
172.1.2. BitLocker
173. Office
173.1. Calc
173.1.1. 函数
174. OpenStego - 图像文件水印加密
175. 邮件原文
175.1. Subject Unicode
175.2. TO/CC/BCC
175.3. 正文
175.4. POP Sniffer
175.5. PHP mail()
176. Smart card(智能卡)
176.1. OpenSC - tools and libraries for smart cards
176.1.1. 安装 OpenSC
176.2. openct-tool - OpenCT smart card utility
176.3. ccid - Generic USB CCID smart card reader driver
176.4. usbutils: Linux USB utilities
176.5. USB Token
176.5.1. Open[F]irst
176.5.2. [S]oPin 验证管理员
176.5.3. LED 灯控制
176.5.4. [L]ist
176.5.5. File[M]enu 文件菜单
176.5.6. Set[u]pMenu 设置菜单
176.5.7. Linux ePass
177. Credentials Organization
177.1. VeriSign
177.1.1. iTrusChina
177.1.2. Thawte
177.1.3. Geotrust
177.2. UserTrust
177.3. 境内其他CA机构
177.3.1. WoSign®、I'm Verified®、WoTrust®、沃通®
177.4. SSL FOR FREE
177.5. Let’s Encrypt
XVIII. 文字/语音/视频 通信
178. 即时通信
178.1. Matrix
178.1.1. Synapse
178.2. IRC - Internet Relay Chat
178.2.1. IRC Protcol
178.2.2. IRC Commands
178.2.3. ircd-irc2 - The original IRCNet IRC server daemon
178.2.4. ircd-hybrid
178.2.5. IRC Client
178.2.6. Web IRC
178.3. jabber XMPP
178.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
178.3.2. tigase
178.3.3. Openfire
178.3.4. DJabberd
178.3.5. freetalk - A console based Jabber client
178.3.6. library
178.4. News Group (innd)
178.4.1. Ubuntu
178.4.2. CentOS
178.4.3. User Authentication
178.4.4. usenet 管理
178.4.5. 通过SSL连接
178.4.6. src.rpm 安装
178.4.7. 常用新闻组
179. FreeSWITCH
179.1. Docker 安装
179.1.1. 配置 freeswitch
179.1.2. 管理 freeswitch
179.2. Rocky Linux / AlmiLinux 安装
179.3. 防火墙端口
179.4. 备份 freeswitch 配置文件
179.5. 基本配置 /etc/freeswitch/vars.xml
179.5.1. 默认密码
179.5.2. 领域
179.5.3. 公网IP地址
179.5.4. NAT 配置
179.5.5. 编码
179.5.6. 控制台日志级别
179.5.7.
179.6. 配置 NAT
179.6.1. 旁路模式
179.6.2. 启用 100rel
179.7. 测试号码
179.7.1. 测试分机号
179.8. switch.conf.xml
179.9. 网关配置
179.10. 新增号段
179.11. logfile.conf.xml
179.11.1. 控制台日志配置
179.11.2. 日志文件配置
179.11.3. sofia.conf.xml 日志级别配置
179.11.4. switch.conf.xml 日志配置
179.12. 视频通话
179.13. 语音邮箱(voicemail)
179.14. 多租户(多领域)配置
179.15. 组呼叫配置
179.16. 代接电话
179.17. MySQL 模块配置
179.17.1. 安装 mariadb
179.17.2. 安装模块
179.17.3. 启用 mysql 支持
179.17.4. db.conf.xml
179.17.5. switch.conf.xml
179.17.6. 修改 sip_profile 配置文件
179.17.7. 检查配置
179.18. fs_cli
179.18.1. fs_cli Socket Client 配置
179.18.2. 退出 fs_cli
179.18.3. 日志
179.18.4. profile
179.18.5. sofia status
179.18.6. sip 抓包
179.18.7. internal 状态查看
179.18.8. external 状态
179.18.9. 注册状态查看
179.18.10. 呼叫
179.18.11. 呼叫
179.18.12. 呼叫测试
179.18.13. 正则测试
179.18.14. 变量求值
179.19. 中文语音包
179.20. TLS
179.20.1. 创建 CA 根证书
179.20.2. 创建服务器证书
179.20.3. 开启TLS,监听 5061 端口
179.21. fusionPBX
179.22. 开发
179.22.1. FreeSWITCH 用户管理
179.22.2. Java 开发包
179.23. 备份和恢复
180. Kamailio
180.1. Docker 安装 Kamailio
180.1.1. Alpine 镜像
180.2. RPM 包安装 kamailio
180.3. 配置 kamailio
180.3.1. 配置外网IP地址
180.3.2. MySQL 数据库
180.3.3. DBTEXT 配置
180.3.4. Berkeley DB 配置
180.3.5. sqlite
180.3.6. 日志文件
180.4. RTP
180.4.1. RTPProxy
180.4.2. rtpengine
180.5. 管理 Kamailio
180.5.1. 进程管理
180.5.2. 用户管理
180.5.3. 监控模式
180.6. kamcmd
180.6.1. tm.stats
180.6.2.
181. 其他 Voice over IP(VoIP)
181.1. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
181.1.1. Yate Server
181.1.2. 配置文件样本
181.1.3. 添加用户
181.1.4. regexroute.conf
181.1.5. 测试
181.1.6. SBC(SIP Session Border Controller) 会话边界控制器
181.1.7. 配置路由
181.1.8. 配置会议室
181.1.9. Yate Client
181.2. Gnu Gatekeeper
181.2.1. Gnu Gatekeeper Install
181.2.2. Gnu Gatekeeper Configure
181.2.3. Gnu Gatekeeper Test
181.3. OpenSIPS
181.3.1. 安装 OpenSIPS
181.3.2. 数据库部署
181.3.3. 测试 opensips
181.4. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
181.4.1. Redhat/CentOS/RockyLinux/AlmiLinux
181.4.2. 源码安装 asterisk-22
181.4.3. Ubuntu
181.4.4. RasPBX – Asterisk for Raspberry Pi
181.4.5. 配置文件
181.4.6. 拨号规则设置
181.4.7. pjsip
181.4.8. 配置例子
181.5. VOCAL (includes a SIP to H.323 translator)
181.6. sngrep - SIP Messages flow viewer
181.6.1. Rocky Linux 安装 sngrep
181.6.2. MacOS
181.6.3. debian 安装sngrep
181.6.4. 命令行参数
181.6.5. UI 快捷鍵
181.7. 电话
181.7.1. Linksys/PAP2T-5.1.6(LS) 登录 freeSWITCH 和 asterisk 失败
181.7.2. Avaya
181.7.3. 电脑软件正常登录,手机APP正常登录,Yealink 电话无法登录
181.7.4. 软电话
181.8. FAQ
181.8.1. SIP ALG
182. WebRTC/Ortc
182.1. coturn - ICE Server
182.1.1. DNF 安装 coturn
182.1.2. TUN 配置例子
182.1.3. Javascript 连接 ICE Server 例子
182.1.4. 测试
182.1.5. FAQ
XIX. SBC - Single-board computers
183. Raspberry Pi
183.1. 配置工具
183.1.1. rpi-update
183.2. WiFi 配置
183.2.1. 网络状态
183.2.2. WIFI 配置
183.2.3. WiFi 热点配置
183.3. Android 9 Pie
XX. Home Assistant
184. Home Assistant
184.1. 安装 Home Assistant
184.1.1. Docker 安装
184.1.2. Debian
184.1.3. Ubuntu
184.1.4. 升级
184.2. 配置文件
184.3. Home Assistant Community Store
184.3.1. 正常安装
184.3.2. 遇到 Github 无法访问的情况怎么处理
184.3.3. 手工安装
184.3.4. Node-Red
184.3.5. Xiaomi Miot Auto
184.4. ha 命令
184.4.1. 检查版本
184.4.2. network
184.4.3. 修改 DNS
184.4.4. supervisor 管理
184.4.5. core
184.4.6. jobs
184.5. FAQ
184.5.1. Media change: please insert the disc labeled
185. Node-Red
185.1. function
185.1.1. 银行方案
185.2. 方案
185.3. 支付接口
186. ChatGPT 接口
186.1. ChatGPT Web 界面
186.2. ChatGPT 接口
187. GPS
187.1. GPS 模块
187.2. GPS 协议
187.3. 安装 gpsd
187.4. traccar
XXI. X Window
188. install x window
188.1. xinput - utility to configure and test X input devices
189. X Setup
189.1. 取消开机启动画面
189.2. Automatic login
189.3. disable x window
190. Fonts 字体
190.1. fc-list 字体查看命令
190.1.1. 查看所有字体
190.1.2. 查看中文字体
190.2. 查看字体详情
190.3. 安装字体
190.4. Linux 可安装的字体
190.4.1. 文泉驿系列(开源免费)
190.4.2. 文鼎
190.4.3. 思源黑体(Adobe 与 Google 联合开发,开源)
191. X Terminal
191.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
191.1.1. VNC
191.1.2. xdmcp
191.2. vinagre - a remote desktop viewer for the GNOME Desktop
191.3. rdesktop - A Remote Desktop Protocol client
191.3.1. -g: desktop geometry (WxH)
191.3.2. -f: full-screen mode
191.3.3. -A: enable SeamlessRDP mode
191.3.4. -z: enable rdp compression
191.3.5. -r: enable specified device redirection (this flag can be repeated)
191.4. tigervnc
191.5. TightVNC
192. Unity
192.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
193. X Window System
193.1. Fluxbox
193.2. LXDE
193.3. Xfce
193.4. Xming X Server for Windows
194. X Application Software
194.1. ubuntu-restricted-extras
194.2. Keyboard Input Methods(输入法)
194.3. 浏览器
194.3.1. Firefox
194.3.2. Chromium Web Browser
194.4. Download Software
194.5. PAC Manager
194.6. LibreOffice
194.7. VYM (View Your Mind)
194.8. greenshot
194.9. Window Switch
194.10. gparted
195. Office
195.1. Calc
195.1.1. 函数
196. IBM WebSphere
196.1. WebSphere Commerce Engerprise 7.0
196.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
196.2.1. WAS
196.2.2. Plugins
196.2.3. IHS
196.2.4. backup
196.3. UpdateInstaller (CommerceServer70)
196.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
196.5. creating a WebSphere Commerce instance
196.6. enableFeature
196.6.1. foundation
196.6.2. management-center
196.6.3. store-enhancements
196.6.4. checkEnablementStatus
196.6.5. check version
196.7. Start IBMIHS and AppServer
196.7.1. IBMIHS
196.7.2. AppServer
196.7.3. Starting and stopping the WebSphere Commerce Information Center
196.7.4. 管理入口
196.8. Initialization store
197. FAQ
197.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. 组合表达式
38.1. net.ipv4.ip_forward
75.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
21.1. backup(find + tar)
33.1. parallel - build and execute shell command lines from standard input in parallel
38.1. /etc/sysconfig/iptables
38.2. connlimit 实例
38.3. CentOS 5.6
41.1. openvpn.conf
41.2. server.conf
41.3. Openvpn 桥接模式服务器配置实例
41.4. 双网卡配置实例
41.5. client.conf
41.6. server.ovpn
41.7. client.ovpn
41.8. office.conf
41.9. home.ovpn
44.1. Nginx SSL 双向认证,证书生成过程
44.2. Expires Examples
44.3. nginx expires
44.4. Example: valid_referers
44.5. Nginx + Tomcat
47.1. /etc/profile.d/java.sh
47.2. /etc/init.d/tomcat
47.3. Example /srv/apache-tomcat/conf
47.4. tomcat firewall
47.5. /etc/rc.d/init.d/www
48.1. index.php
48.2. autolamp.sh
48.3. R=301
48.4. mod_perl.conf
49.1. /etc/init.d/lighttpd
49.2. lighttpd compress
49.3. lighttpd expire
49.4. fastcgi.conf
49.5. Cache
50.1. explicit host in resin.conf
50.2. regexp host in resin.conf
50.3. host-alias in the resin.conf
50.4. host-alias in a /var/www/hosts/foo/host.xml
50.5. host-alias-regexp in the resin.conf
50.6. shared database in host
50.7. rewrite-dispatch
52.1. default.vcl
63.1. SMTP 服务器配置实例
64.1. Subject Unicode
71.1. examples
71.2. backup to a central backup server with 7 day incremental
71.3. backup to a spare disk
71.4. mirroring vger CVS tree
71.5. automated backup at home
71.6. Fancy footwork with remote file lists
71.7. /etc/csync2.cfg
73.1. nginx-gridfs
73.2. Mirror
73.3. Strip
79.1. zabbix-agent 配置实例
80.1. config.php
80.2. spring boot logback
80.3. Elasticsearch 索引切割示例
82.1. cacti config.php
82.2.
84.1. mrtg
87.1. keepalived.conf
87.2. /etc/keepalived/keepalived.conf
88.1. piranha master
88.2. piranha slave
89.1. haproxy + mysql 配置实例
89.2. Haproxy MySQL (Master + Master)
100.1. Ruby on RabbitMQ
100.2. server.py
100.3. client.py
102.1. /etc/pam.d/sshd - pam_tally2.so
102.2. /etc/pam.d/sshd - pam_listfile.so
117.1. minikube 操作演示
119.1. Redis Master/Slave
120.1. virsh
121.1. Docker 部署 GitLab 查看登陆密码
121.2. Docker 部署 gitlab-runner 注册演示
121.3. Example - Release Notes
122.1. Shell Docker 示例
123.1. SonarQube pom.xml 配置
131.1. authz
136.1. puppetd
136.2. puppetca
137.1. salt command
167.1. dsaparam & gendsa
167.2. 加密传输文件
167.3. 快速创建自签名证书
167.4. 创建CA根证书
167.5. 创建自签名的证书
167.6. DES encryption example in C
171.1. stunnel.conf
175.1. Subject Unicode
179.1. /etc/freeswitch/vars.xml
179.2. 拨号规则,配置两个号段 100~199,1000~1999
181.1. 46xxsettings.txt