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

Netkiller Linux 手札

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

Mr. Neo Chan, 陈景峯(BG7NYT)



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


电子书最近一次更新于 2024-01-26 00:14:58

版权声明

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

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

$Date$


致读者

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

Preserving open source software for future generations

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

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

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

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

目录

1. 自述
1.1. 本文目的
1.2. 内容简介
1.3. 读者对象
1.4. 作者简介
1.5. 打赏(Donations)
1. Introduction
1.1. Rocky Linux
1.1.1. 制作 U 盘
1.1.2. Rocky-9.0-x86_64-minimal.iso 镜像初始化
1.2. AlmaLinux
1.2.1. 制作 U 盘启动盘
1.2.2. AlmaLinux 9.0 镜像安装初始化
1.2.3. Minimal 版本安装 XWindows
1.3. 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.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. 显示系统中可用的 DNF 软件库
5.3.4. 列出所有 RPM 包
5.3.5. 搜索软件库中的包
5.3.6. 查看软件包详情
5.3.7. 查找某一文件的提供者
5.3.8. 删除软件包
5.4. yum - Yellowdog Updater Modified 包管理
5.4.1. Yum Resource & Yum Mirror
5.4.2. yum - Yellowdog Updater Modified
5.4.3. rpm - RPM Package Manager
5.4.4. rpmbuild - Build RPM Package(s)
5.5. Homebrew
5.5.1. OpenJDK 8
5.5.2. Maven
5.5.3. 版本切换
5.6. 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.12. 早期版本
11.12.1. 早期 Ubuntu
11.12.2. CentOS 6
12. 服务管理
12.1. 什么是 systemd
12.2. why-为什么做
12.3. systemd 是何时被采用的
12.4. 那些系统使用 systemd
12.5. system 是谁开发的
12.6. 怎样编写systemd脚本
12.6.1. Unit
12.6.2. Service
12.6.3. Install
12.7. systemd, init - systemd system and service manager
12.7.1. 电源管理
12.7.2. rc.local
12.7.3. 编辑 service 文件
12.7.4. 查看 service 文件
12.7.5. is-enabled 查看当前服务的启用状态
12.7.6. 重载 systemd
12.7.7. 列出启动失败的服务
12.7.8. list-units
12.8. 定时器单元
12.9. 查看配置项
12.10. Debian/Ubuntu
12.10.1. update-rc.d - install and remove System-V style init script links
12.10.2. invoke-rc.d - executes System-V style init script actions
12.10.3. runlevel
12.10.4. sysv-rc-conf
12.10.5. xinetd - replacement for inetd with many enhancements
12.10.6. Scheduled Tasks
12.10.7. sv - control and manage services monitored by runsv
12.11. CentOS 6
12.11.1. service
12.11.2. xinetd.d
12.11.3. rpcinfo
12.11.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. 账号加锁与解锁
14.2. Group
14.2.1. Add a new group
14.2.2. Add a user to the group
14.2.3. /etc/group
14.2.4. gpasswd - administer /etc/group and /etc/gshadow
14.3. 访问权限
14.3.1. umask
14.3.2. chown - change file owner and group
14.3.3. chgrp - change group ownership
14.3.4. chmod - change file access permissions
14.4. chattr - change file attributes on a Linux second extended file system
14.5. su - run a shell with substitute user and group IDs
14.6. runuser - run a command with substitute user and group ID
14.7. sudo, sudoedit - execute a command as another user
14.7.1. /etc/sudoers
14.7.2. /etc/sudoers
14.7.3. 设置示例
14.7.4. NOPASSWD
14.7.5. 允许或禁止命令
14.7.6. Cmnd_Alias 用法
14.7.7. wheel 组
14.7.8. 注意事项
14.8. ACL - Access Control List
14.8.1. getfacl - get file access control lists
14.8.2. setfacl - set file access control lists
15. crontab 定时任务
15.1. /etc/crontab
16. Logging 日志
16.1. rsyslog
16.1.1. rsyslog.conf
16.2. logrotate - rotates, compresses, and mails system logs
16.2.1. /etc/logrotate.conf
16.2.2. /etc/logrotate.d/
16.3. syslog-ng
16.4. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
16.4.1. /etc/sysconfig/syslog
16.4.2. /etc/syslog.conf
16.4.3. logger
16.4.4. To Log Messages Over UDP Network
16.5. 挂载日志卷
16.5.1. 子卷挂载
16.5.2. 使用过个子卷
16.5.3. /etc/fstab配置
17. kickstart
17.1. install kickstart
17.2. ks.cfg
17.3. boot 参数
18. System Utilities 配置工具
18.1. CentOS 6
18.1.1. system-config-date
18.1.2. system-config-firewall
18.1.3. system-config-securitylevel
18.1.4. system-config-language
18.1.5. system-config-keyboard
18.1.6. system-config-network
18.1.7. ntsysv
18.1.8. lokkit
18.1.9. system-config-kdump
18.1.10. system-config-services
18.1.11. authconfig-tui
II. Shell
19. Shell
19.1. 快捷键
19.1.1. 命令行编辑命令
19.1.2. 重新执行命令快捷键
19.1.3. 终端控制快捷键
19.1.4. Bang (!) 命令
19.2. chsh - change login shell
19.3. 执行程序返回值
20. Bash Shell
20.1. bash - GNU Bourne-Again SHell
20.1.1. -n 检查脚本是否有语法错误
20.1.2. -x 显示详细运行过程
20.2. 切换身份
20.3. I/O 重定向
20.3.1. stdout
20.3.2. error 重定向
20.3.3. 使用块记录日志
20.3.4. tee - read from standard input and write to standard output and files
20.3.5. 创建文件
20.3.6. 快速清空一个文件的内容
20.4. pipes (FIFOs)
20.5. mktemp - create a temporary file or directory 临时目录与文件
20.6. History 命令历史记录
20.6.1. .bash_history
20.6.2. 清理历史记录
20.6.3. .mysql_history
20.7. hash - hash database access method
20.8. prompt
20.9. 变量 variable
20.9.1. 系统变量
20.9.2. 表达式
20.9.3. Internal Environment Variables
20.9.4. set 设置变量
20.9.5. unset 变量销毁
20.9.6. 设置变量默认值
20.9.7. export 设置全局变量
20.9.8. declare
20.9.9. Numerical 数值运算
20.9.10. Strings 字符串操作
20.9.11. Array 数组
20.9.12. read 赋值多个变量
20.9.13. eval
20.9.14. typeset
20.9.15. envsubst - substitutes environment variables in shell format strings
20.10. conditions if and case
20.10.1. if
20.10.2. case
20.11. Loops for, while and until
20.11.1. for
20.11.2. while
20.11.3. until
20.12. Functions
20.12.1. Local variables
20.13. User interfaces
20.13.1. input
20.14. subshell
20.15. Example
20.15.1. 有趣的Shell
20.15.2. backup
20.15.3. CPU 核心数
20.15.4. Password
20.15.5. processes
20.15.6. Shell 技巧
20.15.7. to convert utf-8 from gb2312 code
20.15.8. 使用内存的百分比
20.15.9. 合并apache被cronlog分割的log文件
20.15.10. Linux 交集 差集 并集
21. 小众 Shell
21.1. fish shell
21.1.1. 安装 fish shell
21.1.2. 配置 fish
21.1.3. 环境变量
21.2. Z Shell
21.2.1. installing Z shell
21.2.2. Oh My ZSH!
21.2.3. Starting file
21.2.4. Prompting
21.2.5. Aliases
21.2.6. History
21.2.7. FAQ
21.3. Berkeley UNIX C shell (csh)
21.3.1.
21.4. KornShell
21.4.1.
22. Shell 命令
22.1. Help Commands
22.1.1. man - an interface to the on-line reference manuals
22.2. getconf - Query system configuration variables
22.3. test 命令
22.3.1. 判断目录
22.4. 目录和文件
22.4.1. dirname
22.4.2. filename
22.4.3. test - check file types and compare values
22.4.4. file — determine file type
22.4.5. stat
22.4.6. mkdir - make directories
22.4.7. rename
22.4.8. touch
22.4.9. truncate
22.4.10. ls - list directory contents
22.4.11. cp - copy files and directories
22.4.12. rm - remove files or directories
22.4.13. df - report file system disk space usage
22.4.14. du - estimate file space usage
22.4.15. tac - concatenate and print files in reverse
22.4.16. split - split a file into pieces
22.4.17. find - search for files in a directory hierarchy
22.5. package / compress and decompress
22.5.1. tar — The GNU version of the tar archiving utility
22.5.2. cpio - copy files to and from archives
22.5.3. gzip
22.5.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
22.5.5. bzip2, bunzip2 - a block-sorting file compressor
22.5.6. RAR
22.5.7. 7-Zip
22.5.8. RAR
22.5.9. xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and .lzma files
22.6. 日期和时间
22.6.1. 日期格式
22.6.2. -d --date=
22.6.3. 时间戳
22.6.4. RFC 2822
22.6.5. UTC
22.6.6. 字符串转日期
22.7. 数值与运算
22.7.1. 数值运算
22.7.2. seq - print a sequence of numbers
22.7.3. bc - An arbitrary precision calculator language
22.8. 文本处理
22.8.1. iconv - Convert encoding of given files from one encoding to another
22.8.2. 字符串处理命令expr
22.8.3. cat - concatenate files and print on the standard output
22.8.4. nl - number lines of files
22.8.5. tr - translate or delete characters
22.8.6. cut - remove sections from each line of files
22.8.7. printf - format and print data
22.8.8. Free `recode' converts files between various character sets and surfaces.
22.8.9. /dev/urandom 随机字符串
22.8.10. col - filter reverse line feeds from input
22.8.11. apg - generates several random passwords
22.8.12. head/tail
22.8.13. 反转字符串或文件内容
22.8.14. TAB符号与空格处理
22.8.15. grep, egrep, fgrep, rgrep - print lines matching a pattern
22.8.16. sort - sort lines of text files
22.8.17. uniq
22.8.18. awk
22.8.19. sed
22.9. 表格操作/行列转换
22.9.1. column - columnate lists
22.9.2. paste - merge lines of files
22.9.3. join
22.10. standard input/output
22.10.1. xargs - build and execute command lines from standard input
22.11. flock - manage locks from shell scripts
22.12. 进制转换 - 16进制 - 8进制 - 二进制
22.12.1. od - dump files in octal and other formats
22.12.2. hexdump, hd -- ASCII, decimal, hexadecimal, octal dump
22.12.3. xxd - make a hexdump or do the reverse.
22.12.4. binutils
22.13. 文件比较
22.13.1. diff
22.13.2. sdiff
22.13.3. diff3
22.14. ed, red - text editor
22.15. vim
22.15.1. vim 初始化
22.15.2. 查找与替换
22.15.3. 删除操作
22.15.4. 插入文件
22.15.5. 批处理
22.15.6. line()
22.15.7. set fileformat
22.15.8. 空格与TAB转换
22.16. Wget - The non-interactive network downloader.
22.16.1. Logging and input file
22.16.2. 下载相关参数
22.16.3. HTTP options (HTTP 选项)
22.16.4. Recursive download
22.16.5. --no-passive-ftp disable the "passive" transfer mode.
22.16.6. 下载一组连续的文件名
22.17. CURL - transfer a URL
22.17.1. 基本用法
22.17.2. 提交表单数据
22.17.3. 上传文件
22.17.4. connect-timeout
22.17.5. max-time
22.17.6. compressed
22.17.7. 代理服务器
22.17.8. -w, --write-out <format> 输出格式定义
22.17.9. -A/--user-agent <agent string>
22.17.10. referer
22.17.11. -v
22.17.12. -o, --output FILE Write output to <file> instead of stdout
22.17.13. -L, --location
22.17.14. -H/--header <line> Custom header to pass to server (H)
22.17.15. curl-config
22.17.16. 指定网络接口或者地址
22.17.17. Cookie 处理
22.17.18. Restful 应用 JSON 数据处理
22.17.19. 访问自签名证书
22.17.20. HTTP2
22.17.21. FAQ
22.18. expect
22.18.1. 模拟登录 telnet 获取Cisco配置
22.18.2. 模拟登录 ssh
22.18.3. SCP
22.18.4. openssl 例子
22.19. expect-lite - quick and easy command line automation tool
22.20. sshpass - noninteractive ssh password provider
22.21. Klish - Kommand Line Interface Shell (the fork of clish project)
22.21.1. 安装Klish
22.21.2. 为用户指定clish作为默认Shell
22.21.3. FAQ
22.22. Limited command Shell (lshell)
22.23. TUI
22.23.1. screen - screen manager with VT100/ANSI terminal emulation
22.23.2. tmux — terminal multiplexer
22.23.3. byobu - wrapper script for seeding a user's byobu configuration and launching a text based window manager (either screen or tmux)
22.23.4. htop - interactive process viewer
22.23.5. elinks
22.23.6. chat
22.24. jq - Command-line JSON processor
22.24.1. --raw-output
22.25. asciinema 终端录屏
22.26. parallel - build and execute shell command lines from standard input in parallel
22.27. multitail
22.28. Logging
22.28.1. logger - a shell command interface to the syslog(3) system log module
22.29. Password
22.29.1. Shadow password suite configuration.
22.29.2. newusers - update and create new users in batch
22.29.3. chpasswd - update passwords in batch mode
22.29.4. sshpass - noninteractive ssh password provider
22.30. 信息摘要
22.30.1. cksum, sum -- display file checksums and block counts
22.30.2. md5sum - compute and check MD5 message digest
22.30.3.
22.31. envsubst - substitutes environment variables in shell format strings
24. Shell Terminal
24.1. terminal
24.1.1. resize - set TERMCAP and terminal settings to current xterm window size
24.1.2. tset, reset - terminal initialization
24.1.3. stty - change and print terminal line settings
24.2. tput
24.2.1. Change the prompt color using tput
24.3. dialog
24.3.1. --inputbox
24.4. whiptail - display dialog boxes from shell scripts
24.4.1. --msgbox
24.4.2. --infobox
24.4.3. --yesno
24.4.4. --inputbox
24.4.5. --passwordbox
24.4.6. --textbox
24.4.7. --checklist
24.4.8. --radiolist
24.4.9. --menu
24.4.10. --gauge
III. Network Application
25. network tools
25.1. curl / w3m / lynx
25.2. DHCP
25.2.1. DHCP Server
25.2.2. dhclient
25.2.3. release matching connections
25.3. DNS/Bind
25.3.1. 安装 bind9
25.3.2. forwarders
25.3.3. Load Balancing
25.3.4. view
25.3.5. Master / Slave
25.3.6. DNS tools
25.3.7. DNS
25.3.8. NamedManager
25.4. dnsmasq
25.4.1. Install
25.4.2. /etc/dnsmasq.conf
25.4.3. dnsmasq.resolv.conf
25.4.4. dnsmasq.hosts
25.4.5. /etc/dnsmasq.d/dnsmasq.server.conf
25.4.6. /etc/dnsmasq.d/dnsmasq.address.conf
25.4.7. FAQ
25.5. ngrok - tunnel local ports to public URLs and inspect traffic
27. rinetd — internet “redirection server”
27.1. rinetd install
27.1.1. ubuntu
27.1.2. centos
27.2. rinetd.conf
27.3. 防御脚本
27.4. rinetd.log
28. 即时通信
28.1. Matrix
28.1.1. Synapse
28.2. IRC - Internet Relay Chat
28.2.1. IRC Protcol
28.2.2. IRC Commands
28.2.3. ircd-irc2 - The original IRCNet IRC server daemon
28.2.4. ircd-hybrid
28.2.5. IRC Client
28.2.6. Web IRC
28.3. jabber XMPP
28.3.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
28.3.2. tigase
28.3.3. Openfire
28.3.4. DJabberd
28.3.5. freetalk - A console based Jabber client
28.3.6. library
28.4. News Group (innd)
28.4.1. Ubuntu
28.4.2. CentOS
28.4.3. User Authentication
28.4.4. usenet 管理
28.4.5. 通过SSL连接
28.4.6. src.rpm 安装
28.4.7. 常用新闻组
29. Proxy Server
29.1. Socks/Socks5
29.1.1. Shadowsocks - A secure socks5 proxy, designed to protect your Internet traffic.
29.1.2. Socks5
29.1.3. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
29.1.4. SSH Socks5 Tunnel
29.1.5. hpsockd - HP SOCKS server
29.2. Apache Proxy
29.3. Squid - Internet Object Cache (WWW proxy cache)
29.3.1. 源码安装
29.3.2. debian/ubuntu 安装
29.3.3. 配置
29.3.4. Squid 管理
29.3.5. 禁止页面被Cache
29.3.6. Squid 实用案例
29.3.7. squid+icap+clamav
29.4. Web page proxy
29.4.1. Surrogafier
29.4.2. CGIproxy
29.4.3. PHPProxy
29.4.4. BBlocked
29.4.5. Glype
29.4.6. Zelune
30. Firewall
30.1. TCP/IP 相关内核配置项
30.1.1. net.ipv4.ip_forward
30.1.2. net.ipv4.icmp_echo_ignore_all
30.2. iptables - administration tools for packet filtering and NAT
30.2.1. Getting Started
30.2.2. 用户自定义规则连
30.2.3. Protocols 协议
30.2.4. Interfaces 网络适配器接口
30.2.5. 源IP地址
30.2.6. Ports 端口
30.2.7. NAT
30.2.8. Module(模块)
30.2.9. IPV6
30.2.10. iptables-xml - Convert iptables-save format to XML
30.2.11. access.log IP封锁脚本
30.2.12. Example
30.3. ulogd - The Netfilter Userspace Logging Daemon
30.4. ufw - program for managing a netfilter firewall
30.4.1. /etc/default/ufw
30.4.2. ip_forward
30.4.3. DHCP
30.4.4. Samba
30.5. CentOS 7/8 Firewalld
30.5.1. 如果你不习惯使用firewalld想用回Iptables
30.5.2. 安装 firewalld
30.5.3. firewalld 配置文件
30.5.4. firewall-cmd
30.5.5. 区域
30.5.6. 端口操作
30.5.7. 服务
30.5.8. IP 伪装
30.5.9. 端口转发
30.5.10. 富规则
30.6. Shorewall
30.6.1. Installation Instructions
30.6.2. Configuring Shorewall
30.7. Firewall GUI Tools
30.8. Endian Firewall
30.9. Smooth Firewall
30.10. Sphirewall
31. Stunnel - universal SSL tunnel
32. OpenSSH
32.1. 安装 OpenSSH
32.2. /etc/ssh/
32.2.1. IP地址限制
32.2.2. sshd_config
32.2.3. ssh_config
32.2.4. ~/.ssh/config
32.3. ssh client
32.3.1. -o option 参数详解
32.3.2. 调试模式,显示连接过程
32.4. OpenSSH Tunnel
32.4.1. SOCKS v5 Tunnel
32.4.2. 从公网穿透局域网
32.5. ssh-keygen — authentication key generation, management and conversion
32.5.1. .ssh/known_hosts
32.6. ssh-keyscan
32.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
32.8. ssh-agent
32.8.1. ssh-add
32.8.2. Lock / Unlock agent
32.8.3. Set lifetime (in seconds) when adding identities.
32.9. OpenSSH for Windows
32.9.1. Putty Client
32.10. Google Authenticator - Android Apps on Google Play
32.11. 禁止SSH密码穷举
32.12. FAQ
32.12.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
32.12.2. 去掉 passphrase
32.12.3. 打印调试信息
32.12.4. 远程执行 sudo 提示密码
32.12.5. Unable to negotiate with 47.97.19.5 port 60022: no matching host key type found. Their offer: ssh-dss,ssh-rsa
33. VPN (Virtual Private Network)
33.1. OpenVPN (openvpn - Virtual Private Network daemon)
33.1.1. 安装 OpenVPN Server
33.1.2. Easy-RSA 3
33.1.3. Openvpn Client
33.1.4. OpenVPN GUI for Windows
33.1.5. point-to-point VPNs
33.1.6. VPN 案例
33.1.7. OpenVPN安全
33.2. pptpd
33.2.1. Server 服务端
33.2.2. Client 客户端
33.2.3. FAQ
33.3. l2tpd - dummy package for l2tpd to xl2tpd transition
33.3.1. Docker 安装 L2TP
33.3.2. Ubuntu
33.3.3. CentOS 8 Stream
33.3.4. Ipsec VPN
33.3.5. FAQ
33.4. IKEv2 VPN Server
33.4.1. IKEv2 VPN Server on Docker
33.4.2. strongswan - IPSec utilities for strongSwan
33.5. openswan - IPSEC utilities for Openswan
33.6. N2N VPN
33.7. Hypersocket VPN
34. Point to Point
34.1. download
34.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
34.1.2. mldonkey-server - Door to the 'donkey' network
34.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
35. Nginx
35.1. Installing
35.1.1. Netkiller OSCM 一键安装 (CentOS 7)
35.1.2. Installing by apt-get under the debain/ubuntu
35.1.3. CentOS
35.1.4. installing by source
35.1.5. CentOS 7
35.1.6. Mac
35.1.7. rotate log
35.2. Nginx 命令
35.2.1. -V show version and configure options then exit
35.2.2. -t : test configuration and exit
35.2.3. test configuration, dump it and exit
35.3. nginx.conf 配置文件
35.3.1. 处理器配置
35.3.2. events 配置
35.3.3. Nginx 变量
35.4. http 配置
35.4.1. 缓冲区相关设置
35.4.2. 超时设置
35.4.3. gzip
35.4.4. server_tokens
35.4.5. ssi
35.4.6. DNS 解析
35.4.7. rewrite
35.5. server
35.5.1. listen
35.5.2. server_name 配置
35.5.3. location
35.5.4. root 通过$host智能匹配目录
35.5.5. try_files
35.5.6. SSL 虚拟主机
35.5.7. HTTP2 配置 SSL证书
35.5.8. expires
35.5.9. access
35.5.10. autoindex
35.5.11. return
35.5.12. add_header
35.5.13. client_max_body_size 上传文件尺寸限制
35.6. upstream 负载均衡
35.6.1. weight 权重配置
35.6.2. backup 实现热备
35.7. Proxy
35.7.1. proxy_cache
35.7.2. rewrite + proxy_pass
35.7.3. request_filename + proxy_pass
35.7.4. $request_uri 与 proxy_pass 联合使用
35.7.5. try_files 与 proxy_pass 共用
35.7.6. Proxy 与 SSI
35.7.7. Host
35.7.8. expires
35.7.9. X-Forwarded-For
35.7.10. X-Sendfile
35.7.11. proxy_http_version
35.7.12. proxy_set_header
35.7.13. 隐藏头部信息
35.7.14. 忽略头
35.7.15. proxy_pass_request_headers 透传 Header
35.7.16. timeout 超时时间
35.7.17. sub_filter 文本替换
35.7.18. 站外代理
35.7.19. example
35.7.20. HTTP Auth 认证冲突
35.8. fastcgi
35.8.1. spawn-fcgi
35.8.2. php-fpm
35.9. 免费 SSL 证书
35.9.1. 手工生成证书
35.9.2. 证书更新
35.10. 单域名虚拟主机
35.11. Nginx module
35.11.1. stub_status 服务器状态采集模块
35.11.2. sub_filter 页面中查找和替换
35.11.3. auth_basic HTTP 认证模块
35.11.4. valid_referers
35.11.5. ngx_http_flv_module
35.11.6. ngx_http_mp4_module
35.11.7. limit_zone
35.11.8. image_filter
35.11.9. ngx_stream_proxy_module
35.11.10. ngx_http_mirror_module
35.11.11. limit_except
35.11.12. geoip_country_code
35.12. Example
35.12.1. Nginx + Tomcat
35.12.2. 拦截index.html
35.12.3. Session 的 Cookie 域处理
35.13. FAQ
35.13.1. 405 Not Allowed?
35.13.2. 413 Request Entity Too Large
35.13.3. 499 Client Closed Request
35.13.4. 502 Bad Gateway?
35.13.5. 504 Gateway Time-out
35.13.6. proxy_pass
35.13.7. proxy_pass SESSION 丢失问题
35.13.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
35.13.9. server_name 与 SSI 注意事项
35.13.10. location 跨 document_root 引用,引用 document_root 之外的资源
35.13.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
35.13.12. 127.0.0.1:8080 failed
35.13.13. failed (13: Permission denied) while connecting to upstream
35.13.14. upstream sent too big header while reading response header from upstream
35.13.15. 很目录 index.html 正常访问,其他文件都是 404
35.13.16. nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead
36. Openresty
36.1. 安装 Openresty
36.1.1. 源码安装
36.2. Openresty 开发
36.2.1. Hello world!!!
36.2.2. 日期和时间
36.2.3. 数据结构
36.2.4. echo 输出
36.2.5. 参数处理
36.2.6. Nginx 变量
36.2.7. Json
36.2.8. Redis
36.2.9. Nginx 缓存
36.2.10. logs
36.3. 实现灰度发布
36.4. Redis
37. Caddy
37.1. 安装 Caddy
37.1.1. CentOS/Rocky Linux/AlmiLinux
37.2. 命令行
37.2.1. 启动 Caddy
37.2.2. 文件服务器
37.3. /etc/caddy/Caddyfile
37.3.1. 监听地址
37.3.2. 反向代理
37.3.3. Let's Encrypt 免费 SSL 证书
37.3.4. 返回内容
38. Apache Tomcat
38.1. Tomcat 安装与配置
38.1.1. Tomcat 6
38.1.2. Tomcat 7
38.1.3. Java 8 + Tomcat 8
38.1.4. Tomcat 9/10
38.1.5. 防火墙配置
38.1.6. 同时运行多实例
38.1.7. Testing file
38.1.8. mod_jk
38.1.9. mod_proxy_ajp
38.1.10. RewriteEngine 连接 Tomcat
38.1.11. SSL 双向认证
38.2. 配置 Tomcat 服务器
38.2.1. server.xml
38.2.2. tomcat-users.xml
38.2.3. context.xml
38.2.4. logging.properties
38.2.5. catalina.properties
38.3. 虚拟主机配置
38.3.1. 方案一
38.3.2. 方案二
38.3.3. Alias 别名
38.3.4. access_log
38.3.5. Context 配置
38.3.6. 主机绑定IP地址
38.4. SSI
38.5. Logging 日志
38.5.1. 开启 debug 模式
38.5.2. 切割 catalina.out 日志
38.6. Init.d Script
38.6.1. Script 1
38.6.2. Shell Script 2
39. Apache httpd
39.1. Install
39.1.1. Quick install apache with aptitude
39.1.2. CentOS 6
39.1.3. Compile and then install Apache
39.1.4. XAMPP
39.2. Module
39.2.1. Output a list of modules compiled into the server.
39.2.2. Core
39.2.3. mpm
39.2.4. Apache Log
39.2.5. mod_access
39.2.6. VirtualHost
39.2.7. Alias / AliasMatch
39.2.8. Redirect / RedirectMatch
39.2.9. Rewrite
39.2.10. Proxy
39.2.11. Deflate
39.2.12. Expires
39.2.13. Cache
39.2.14. usertrack
39.2.15. Charset
39.2.16. Dir
39.2.17. Includes
39.2.18. Apache Status
39.2.19. Mod Perl
39.2.20. mod_pagespeed -
39.2.21. Module FAQ
39.2.22. mod_setenvif
39.2.23. PHP 程序安全问题 php_admin_value
39.2.24. mod_spdy
39.3. 设置Apache实现防盗连
39.4. .htaccess
39.5. Error Prompt
39.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
39.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
40. Lighttpd
40.1. 安装Lighttpd
40.1.1. quick install with aptitude
40.1.2. yum install
40.1.3. to compile and then install lighttpd
40.2. /etc/lighttpd/lighttpd.conf
40.2.1. max-worker / max-fds
40.2.2. accesslog.filename
40.2.3. ETags
40.2.4. server.tag
40.3. Module
40.3.1. simple_vhost
40.3.2. ssl
40.3.3. redirect
40.3.4. rewrite
40.3.5. alias
40.3.6. auth
40.3.7. compress
40.3.8. expire
40.3.9. status
40.3.10. setenv
40.3.11. fastcgi
40.3.12. user-agent
40.3.13. spdy
40.4. 其他模块
40.4.1. mod_secdownload 防盗链
40.5. Example
40.5.1. s-maxage
41. Resin
41.1. 安装Resin
41.1.1. 直接使用
41.1.2. Debian/Ubuntu
41.1.3. 源码安装Resin
41.2. Compiling mod_caucho.so
41.3. resin.conf
41.3.1. Maximum number of threads
41.3.2. Configures the keepalive
41.3.3. ssl
41.4. virtual hosts
41.4.1. explicit host
41.4.2. regexp host
41.4.3. host-alias
41.4.4. configures a deployment directory for virtual hosts
41.4.5. Resources
41.5. FAQ
41.5.1. java.lang.OutOfMemoryError: PermGen space
42. Application Server
42.1. Zope
42.2. JBoss - JBoss Enterprise Middleware
43. Web Server Optimization
43.1. ulimit
43.1.1. open files
43.2. khttpd
43.3. php.ini
43.3.1. Resource Limits
43.3.2. File Uploads
43.3.3. Session Shared
43.3.4. PATHINFO
43.4. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
43.5. Zend Optimizer
43.6. eaccelerator
44. varnish - a state-of-the-art, high-performance HTTP accelerator
44.1. Varnish Install
44.2. varnish utility
44.2.1. status
44.2.2. varnishadm
44.2.3. varnishtop
44.2.4. varnishhist
44.2.5. varnishsizes
44.3. log file
44.4. Varnish Configuration Language - VCL
44.4.1. unset / set
44.5. example
45. Apache Traffic Server
45.1. Install
45.2. Configure
46. Cherokee
46.1. Installing Cherokee
47. Jetty
48. Other Web Server
48.1. Python SimpleHTTPServer
49. web 服务器排名
49.1. HTTP状态码
50. HTTP2
50.1. Chrome
V. Mail Server
51. Mail server constituent
52. mail user agent (MUA)
52.1. mail
52.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
52.2.1. 发送邮件
52.2.2. 设置自定义 From
52.3. alpine - Text-based email client, friendly for novices but powerful
52.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
52.5. GPG4WIN
52.6. Evolution
53. exim - meta-package to ease Exim MTA (v4) installation
53.1. install
53.1.1. ubuntu/debian
53.1.2. CentOS/Redhat
53.2. exim 命令
53.2.1. 帮助信息
53.2.2. 测试发送邮件
53.2.3. 刷新邮件队列
53.3. 配置exim
53.3.1. /etc/aliases 别名配置
53.4. FAQ
53.4.1. Mailing to remote domains not supported
54. postfix - High-performance mail transport agent
54.1. install
54.1.1. Ubuntu
54.1.2. CentOS
54.1.3. OSCM 通过配置管理脚本安装
54.2. 配置 Postfix
54.2.1. 转发配置
54.2.2. 拒收垃圾邮件
54.2.3. 收件箱配置
54.2.4. 邮件投递
54.2.5. 队列配置
54.2.6. 客户端
54.2.7. SMTP 发送权限相关配置
54.3. aliases
54.4. dkim
54.4.1. 增加域名
54.4.2. 测试
54.5. Rspamd
54.6. /var/log/maillog
54.6.1. 计算每分钟发送数量日志统计
54.6.2. 虚假地址统计
54.7. Post 命令
54.7.1. postconf - Postfix configuration utility
54.7.2. postsuper
54.7.3. postqueue - Postfix queue control
54.7.4. postmulti - Postfix multi-instance manager
54.8. Example
54.8.1. 站内电邮发送
54.8.2. EDM 服务器
54.8.3. SMTP 邮件发送服务器
54.9. FAQ
54.9.1. SMTP ERROR: RCPT TO command failed: 501 5.1.3 Bad recipient address syntax
54.9.2. connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Network is unreachable
54.9.3. opendkim[5762]: 3012A802C1DD: [49.213.11.18] [49.213.11.18] not internal
54.9.4. opendkim[12578]: 4CC5C802C382: no signature data
54.9.5. /etc/opendkim/keys/default.private: open(): No such file or directory
54.9.6. fatal: parameter inet_interfaces: no local interface found for ::1
54.9.7. NOQUEUE: reject: MAIL from unknown[192.168.3.31]: 552 5.3.4 Message size exceeds fixed limit;
54.9.8. 452 4.3.1 Insufficient system storage
54.9.9. 454 Relay access denied
55. 邮件原文
55.1. Subject Unicode
55.2. TO/CC/BCC
55.3. 正文
55.4. POP Sniffer
55.5. PHP mail()
56. 反垃圾邮件相关
56.1. Sender Policy Framework
56.1.1. 分析 SPF 记录
56.2. DKIM
56.3. 邮件被拒收处理方法
56.3.1. NetEase
56.3.2. Sohu
56.3.3. Tom
56.3.4. QQ
56.3.5. 21CN
57. Fax
57.1. HylaFAX
58. FAQ
58.1. 通过SSH与控制台不能登录
VI. Backup, Recovery, and Archiving Solutions
59. Logical Volume Manager (LVM)
59.1. 物理卷管理(physical volume)
59.1.1. pvcreate
59.1.2. pvdisplay
59.1.3. pvs
59.2. 卷组管理(Volume Group)
59.2.1. vgcreate
59.2.2. vgdisplay
59.2.3. vgs
59.2.4. vgchange
59.2.5. vgextend
59.2.6. vgreduce
59.3. 逻辑卷管理(logical volume)
59.3.1. lvcreate
59.3.2. lvdisplay
59.3.3. lvremove
59.4. Format
59.5. mount
59.5.1. lv
59.5.2. snapshot
59.6. snapshot backup
60. 文件传输
60.1. 跨服务器文件传输
60.1.1. scp - secure copy (remote file copy program)
60.1.2. nc - TCP/IP swiss army knife
60.2. wget - retrieves files from the web
60.2.1. 下载所有图片
60.2.2. mirror
60.2.3. reject
60.2.4. ftp 下载
60.3. axel - A light download accelerator - Console version
61. FTP (File Transfer Protocol)
61.1. lftp
61.1.1. pget
61.1.2. lftp 批处理
61.2. ncftp
61.2.1. batch command
61.2.2. ncftpget
61.2.3. ncftpput
61.3. FileZilla
61.4. vsftpd - The Very Secure FTP Daemon
61.4.1. 安装 vsftpd
61.4.2. ftp 帐号的shell权限
61.4.3. vsftpd 认证模块
61.4.4. chroot
61.4.5. FAT
61.5. ProFTPD + MySQL / OpenLDAP 用户认证
61.5.1. Proftpd + MySQL
61.5.2. Proftpd + OpenLDAP
61.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
62. File Synchronize
62.1. rsync - fast remote file copy program (like rcp)
62.1.1. 安装Rsync与配置守护进程
62.1.2. rsyncd.conf
62.1.3. rsync 参数说明
62.1.4. step by step to learn rsync
62.1.5. rsync examples
62.1.6. rsync for windows
62.1.7. 多进程 rsync 脚本
62.2. tsync
62.3. lsyncd
62.3.1. 安装
62.3.2. 配置 lsyncd.conf
62.3.3. 配置演示
62.4. Unison File Synchronizer
62.4.1. local
62.4.2. remote
62.4.3. config
62.5. csync2 - cluster synchronization tool
62.5.1. server
62.5.2. node
62.5.3. test
62.5.4. Advanced Configuration
62.5.5. 编译安装
62.6. synctool
63. File Share
63.1. NFSv4
63.1.1. Ubuntu
63.1.2. CentOS
63.1.3. exports
63.1.4. NFS For Windows
63.1.5. exportfs - maintain table of exported NFS file systems
63.1.6. macOS
63.1.7. Parallel NFS(pNFS)
63.2. Samba
63.2.1. install
63.2.2. smb.conf
63.2.3. Samba 相关命令
63.2.4. FAQ
64. Distributed File Systems
64.1. DRBD (Distributed Replicated Block Device)
64.1.1. disk and partition
64.1.2. Installation
64.1.3. configure
64.1.4. Starting
64.1.5. Using
64.2. Network Block Device protocol
64.2.1. nbd-server - Network Block Device protocol - server
64.2.2. nbd-client - Network Block Device protocol - client
64.3. GridFS
64.3.1. nginx-gridfs
64.3.2. lighttpd-gridfs
64.4. Moose File System
64.4.1. Master server installation
64.4.2. Backup server (metalogger) installation
64.4.3. Chunk servers installation
64.4.4. Users’ computers installation
64.4.5. Testing MFS
64.5. LizardFS
64.6. Ceph
64.6.1. Installation on Ubuntu
64.6.2. Installation on CentOS
64.6.3. Block Devices
64.7. GlusterFS
64.7.1. glusterfs-server
64.7.2. glusterfs-client
64.7.3. Testing
64.7.4. RAID
64.7.5. Filesystem Administration
64.7.6. CentOS 6.3
64.8. Lustre
64.9. MogileFS
64.10. Kosmos distributed file system (KFS)
64.11. Hadoop - HDFS
64.12. BeeGFS - The Parallel Cluster File System
64.13. Coda
64.14. OpenAFS
65. Shared Storage
65.1. Oracle OCFS2
65.1.1. 安装
65.2. GFS2
65.3. fam & imon
66. Network Attached Storage(NAS 网络附加存储)
66.1. Network Storage - Openfiler
66.1.1. Accounts
66.1.2. Volumes
66.1.3. Quota
66.1.4. Shares
66.2. OpenMediaVault
66.3. FreeNAS
67. Backup / Restore
67.1. 备份策略
67.1.1. Incremental backup
67.1.2. Differential backup
67.2. btrbk.noarch : Tool for creating snapshots and remote backups of btrfs sub-volumes
67.3. dump / restore
67.4. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
67.4.1. Install Backup Server
67.4.2. Install Backup Client
67.5. Amanda: Open Source Backup
67.6. Attic - 拥有重复数据删除技术的备份软件
67.6.1. 安装 Attic
67.6.2. 快速开始
67.7. SafeKeep
67.8. Opendedup
68. inotify
68.1. inotify-tools
68.2. Incron - cron-like daemon which handles filesystem events
68.2.1. incrontab - inotify cron table manipulator
68.2.2. 使用说明
68.3. inotify-tools + rsync
68.4. pyinotify
VII. Monitoring
69. Prometheus
69.1. 安装 Prometheus
69.1.1. Docker 安装
69.1.2. docker swarm
69.1.3. docker-compose
69.1.4. 防火墙设置
69.2. Prometheus 配置
69.2.1. Prometheus 命令行工具
69.2.2. rules 规则配置
69.2.3. SpringBoot
69.2.4. PromQL 自定义查询语言
69.3. Prometheus Exporter
69.3.1. 监控 Docker
69.3.2. node-exporter
69.3.3. cadvisor
69.3.4. Nginx Prometheus Exporter
69.3.5. Redis
69.3.6. MongoDB
69.3.7. MySQL
69.3.8. Blackbox Exporter(blackbox-exporter)
69.3.9. SNMP Exporter
69.4. Alertmanager
69.4.1. Docker 安装
69.4.2. alertmanager.yml 配置文件
69.4.3. 触发测试
69.4.4. 警报状态
69.5. Grafana
69.5.1. cadvisor
69.5.2. Docker - container summary (Prometheus)
70. Zabbix
70.1. Installing and Configuring Zabbix
70.1.1. Ubuntu
70.1.2. CentOS Zabbix 2.4
70.1.3. Zabbix 3.x CentOS 7
70.2. web ui
70.2.1. 警告脚本
70.3. zabbix-java-gateway - Zabbix java gateway
70.4. zabbix-agent
70.4.1. Ubuntu
70.4.2. CentOS 7
70.4.3. zabbix_agentd 命令
70.4.4. Nginx status 监控
70.4.5. redis
70.4.6. MongoDB
70.4.7. PHP-FPM
70.4.8. Elasticsearch
70.4.9. Postfix
70.4.10. TCP stats
70.4.11. 应用依赖检查
70.4.12. Oracle
71. 日志收集和分析
71.1. 系统日志
71.1.1. logwatch
71.1.2. logcheck : Analyzes log files and sends noticeable events as email
71.1.3. nulog
71.1.4. Web
71.1.5. Tomcat
71.1.6. Mail
71.1.7. OpenSSH 日志 /var/log/secure
71.1.8. rinetd.log
71.2. ElasticSearch + Logstash + Kibana
71.2.1. 安装
71.2.2. logstash 命令简单应用
71.2.3. 配置 logstash
71.2.4. Example
71.2.5. Beats
71.2.6. FAQ
71.3. Grafana + Loki + Promtail
71.3.1. Docker Compose
71.3.2. Helm
71.3.3. promtail
71.4. fluentd
71.4.1. Docker 安装
71.4.2. fluent-bit
71.4.3. temporarily failed to flush the buffer
71.5. Apache Flume
71.5.1. 安装 Apache flume
71.5.2. 基本配置
71.5.3. 配置 MySQL 存储日志
71.5.4. 配置 HDFS 存储日志
71.6. php-syslog-ng
71.7. Log Analyzer
71.8. Splunk
71.9. Octopussy
71.10. eventlog-to-syslog
71.11. graylog - Enterprise Log Management for All
72. 分布式链路追踪
72.1. Apache SkyWalking
72.2. Zipkin
73. 上一代监控系统
73.1. SMS
73.1.1. gnokii
73.1.2. AT Commands
73.2. IPMI (Intelligent Platform Management Interface)
73.2.1. OpenIPMI
73.2.2. freeipmi
73.2.3. ipmitool - utility for controlling IPMI-enabled devices
73.3. Cacti
73.3.1. Install Cacti for Ubuntu
73.3.2. Yum 安装
73.3.3. Source Install
73.3.4. Web 安装
73.3.5. Cacti plugins
73.3.6. Template
73.4. Nagios
73.4.1. Install
73.4.2. nagios
73.4.3. nrpe node
73.4.4. 配置 Nagios
73.4.5. 配置监控设备
73.4.6. Nagios Plugins
73.4.7. FAQ
73.5. Munin
73.5.1. Ubuntu
73.5.2. CentOS
73.5.3. 用户认证
73.5.4. munin-node and plugins
73.5.5. munin.conf
73.5.6. munin-node
73.6. Observium
73.6.1. Installation
73.7. Ganglia
73.7.1. Server
73.7.2. Client
73.7.3. Plugin
73.7.4. Installing Ganglia on Centos
73.8. Varnish Dashboard
73.9. icinga
73.10. Graphite
73.10.1. Graphite - Scalable Realtime Graphing
73.11. BIG BROTHER
73.12. Big Sister
73.13. OpenNMS
73.14. Performance Co-Pilot
73.15. Clumon Performance Monitor
73.16. Zenoss
73.17. 商业软件
73.18. Hyperic HQ
73.19. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
73.20. HawtIO
73.21. moloch
75. 网络监控
75.1. NET SNMP (Simple Network Management Protocol)
75.1.1. 安装SNMP
75.1.2. 配置SNMP
75.1.3. SNMP 命令
75.1.4. Cisco MBI
75.2. Bandwidth
75.2.1. apt-get install
75.2.2. CentOS rpm/yum
75.2.3. source code
75.2.4. /etc/bandwidthd.conf
75.3. NetFlow
75.3.1. flow-tools - collects and processes NetFlow data
75.3.2. netams - Network Traffic Accounting and Monitoring Software
75.4. Ntop
75.4.1. Installation
75.4.2. Web UI
75.4.3. Plugins
75.5. MRTG
75.5.1. CentOS 8 Stream
75.5.2. Ubuntu 安装
75.5.3. CentOS 安装
75.5.4. 监控多个设备
75.5.5. 批量生成监控配置文件
75.5.6. 图片尺寸
75.6. lvs-rrd
VIII. Server Load Balancing
76. heartbeat
76.1. heartbeat+ldirectord
76.1.1. heartbeat
76.1.2. ldirectord
76.1.3. test
76.2. Pacemaker
77. Linux Virtual Server
77.1. 环境配置
77.2. VS/NAT
77.3. VS/TUN
77.4. VS/DR
77.4.1. 配置文件
77.5. ipvsadm script
77.6. Timeout
77.7. debug
77.8. ipvsadm monitor
78. keepalived
78.1. 安装
78.2. test
78.3. HAProxy and Keepalived (Virtual IP)
79. Piranha - Cluster administation tools
79.1. install
79.2. configure
79.3. real server
79.4. Example
79.4.1. Master
79.4.2. Slave
79.4.3. MySQL
80. HAProxy - fast and reliable load balancing reverse proxy
80.1. Installing
80.1.1. Ubuntu
80.1.2. CentOS
80.2. haproxy.cfg
80.2.1. stats
80.2.2. listen 方式
80.2.3. frontend/backend 方式
80.2.4. option
80.2.5. balance
80.2.6. server
80.3. Example 配置实例
80.3.1. HTTP 配置实例
80.3.2. Squid
80.3.3. haproxy + mysql 配置实例
80.3.4. HTTPS SSL证书卸载配置实例
80.3.5. 使用TCP模式实现SSL穿透
80.3.6. SMTP
81. balance - Load balancing solution and generic tcp proxy
81.1. balance
81.1.1. 编译安装
81.1.2. Ubuntu 安装
81.1.3. 测试安装是否正确
81.1.4. 用法
81.2. BalanceNG
81.3. RBridge
82. Perlbal
82.1. install
83. Pacemaker
84. Example
84.1. 双负载均衡的用法
84.2. 单台负载均衡的用法
84.3. 广域网负载均衡的用法
85. FAQ
85.1. Haproxy 与 Nginx
IX. Distributed Computing
86. Open Source Distributed Computing
86.1. Boinc (berkeley 分布式计算平台)
86.1.1. rc.local
86.2. ubuntu apt-get 安装
86.3. CentOS 安装
86.4. boinccmd
86.4.1. attach_project
86.4.2. nomorework | allowmorework 禁止下载任务 / 允许下载任务
87. High performance Computing
87.1. Distributed Computing
87.1.1. OpenMosix
87.1.2. OpenSSI
87.2. Parallel Computing
87.2.1. EnFusion
87.2.2. SCore
87.2.3. Beowulf
89. Tachyon
90. Apache ZooKeeper
90.1. 安装配置
90.1.1. 单节点安装
90.1.2. 多节点安装
90.2. 管理 ZooKeeper
90.2.1. help
90.2.2. ls
90.2.3. create
90.2.4. get
90.2.5. set
90.2.6. delete
91. Message Queuing & RPC
91.1. RabbitMQ
91.1.1. 安装 RabbitMQ
91.1.2. 配置 RabbitMQ
91.1.3. rabbitmqctl - command line tool for managing a RabbitMQ broker
91.1.4. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
91.1.5. Python - Pika
91.1.6. Ruby amqp
91.2. ZeroMQ
91.2.1. python-zeromq
91.2.2. ruby zmq
91.3. nanomsg
91.4. Gearman
91.4.1. Getting Started with Gearman
91.4.2. gearman
91.4.3. Gearman PHP Extension
91.5. Apache Kafka is a distributed publish-subscribe messaging system
91.5.1. 安装 Kafka
91.5.2. 测试 Kafka
91.5.3. 配置 Kafka
91.5.4. 管理 Kafka
91.5.5. FAQ
91.6. RocketMQ
91.6.1. 安装 RocketMQ
91.7. Celery
91.8. ActiveMQ
91.9. http://kr.github.io/beanstalkd/
91.10. gRPC
X. Security
92. Authentication
92.1. /etc/login.defs
92.2. PAM 插件认证
92.2.1. pam_tally2.so
92.2.2. pam_listfile.so
92.2.3. pam_access.so
92.2.4. pam_wheel.so
92.3. Network Authentication
92.3.1. Network Information Service (NIS)
92.3.2. OpenLDAP
92.3.3. Kerberos
92.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
92.3.5. SASL (Simple Authentication and Security Layer)
92.3.6. GSSAPI (Generic Security Services Application Program Interface)
93. SELinux
93.1. getsebool - get SELinux boolean value
93.1.1. HTTP 相关配置
93.2. sestatus - SELinux status tool
93.3. setsebool - set SELinux boolean value
93.4. chcon - change file SELinux security context
93.5. rsync
93.6. 查找被SELINUX禁用服务
93.6.1. Nginx
94. Sniffer
94.1. nmap - Network exploration tool and security / port scanner
94.1.1. 安装 nmap
94.1.2. HOST DISCOVERY
94.1.3. SCAN TECHNIQUES
94.1.4. PORT SPECIFICATION AND SCAN ORDER
94.1.5. SCRIPT SCAN
94.1.6. OS DETECTION
94.1.7. OUTPUT
94.1.8. 排除指定的主机
94.1.9. 查看本地路由与接口
94.1.10. MISC
94.1.11. ncat - Concatenate and redirect sockets
94.1.12. nmap 应用案例
94.2. tcpdump - A powerful tool for network monitoring and data acquisition
94.2.1. 监控网络适配器接口
94.2.2. 监控主机
94.2.3. 监控TCP端口
94.2.4. 监控协议
94.2.5. 输出到文件
94.2.6. src / dst
94.2.7. 保存结果
94.2.8. Cisco Discovery Protocol (CDP)
94.2.9. Flags
94.2.10. 案例
94.3. cdpr - Cisco Discovery Protocol Reporter
94.4. ngrep - Network layer grep tool
94.4.1. 匹配关键字
94.4.2. 指定网络接口
94.5. Unicornscan,Zenmap,nast
94.6. netstat-nat - Show the natted connections on a linux iptable firewall
94.7. Tcpreplay
94.8. Wireshark
94.9. conntrack-tools : Manipulate netfilter connection tracking table and run High Availability
94.9.1. 帮助信息
94.9.2. 协议跟踪
95. sqlmap - automatic SQL injection and database takeover tool
95.1. Installation
95.2. 开始入住实验
95.2.1. 测试脚本
95.2.2. sqlmap.ini
95.3. Request参数
95.3.1. --method, --data
95.3.2. --cookie
95.3.3. --referer
95.3.4. --user-agent
95.3.5. --headers
95.3.6. --referer
95.3.7. auth
95.3.8. --proxy
95.3.9. --threads
95.3.10. --delay
95.3.11. --timeout
95.4. Injection
95.4.1. --dbms
95.4.2. --prefix
95.4.3. --postfix
95.4.4. --string
95.4.5. --regexp
95.4.6. --excl-str
95.4.7. --excl-reg
95.5. Techniques
95.5.1. --stacked-test
95.5.2. --time-test
95.5.3. --union-test
95.5.4. --union-tech
95.5.5. --union-use
95.6. Enumeration
95.6.1. dbs
95.6.2. --count
95.6.3. --dump/--dump-all
95.6.4. --sql-query
95.6.5. --sql-shell
95.7. Miscellaneous
95.7.1. --update
95.7.2. --save
96. Vulnerability Scanner
96.1. Nessus
96.2. OpenVAS
97. Injection & Penetration
97.1. Backtrack Linux
98. Lynis Linux 安全性扫描工具
98.1. 安装
98.1.1.
98.2. 开始审计
99. Suricata Engine
100. psad
101. fwknop
102. fwsnort
103. nftables
104. Haka
105. Docker
105.1. 安装 Docker
105.1.1. Rocky Linux 9.2 / AlmiLinux 9.2 / CentOS 8 Stream
105.1.2. Ubuntu docker-ce
105.1.3. 测试 Docker
105.1.4. 重置 Docker
105.1.5. 早起版本
105.2. Portainer - Docker 图形管理界面
105.2.1. 安装
105.2.2. 配置 Portainer
105.2.3. 添加代理出错
105.3. 配置 Docker
105.3.1. 开启远程访问
105.3.2. 镜像配置
105.3.3. DNS
105.3.4. ulimit 资源
105.4. docker 命令
105.4.1. docker - A self-sufficient runtime for containers
105.4.2. docker-compose - Define and run multi-container applications with Docker.
105.4.3. Docker Scan
105.5. 镜像管理
105.5.1. 搜索镜像
105.5.2. 获取镜像
105.5.3. 列出本地镜像
105.5.4. tag
105.5.5. 保存和载入镜像
105.5.6. 删除本地镜像
105.5.7. history 镜像历史纪录
105.5.8. format 用法
105.5.9. inspect
105.5.10. 查看镜像内容
105.6. 容器管理
105.6.1. 查看容器
105.6.2. 启动与终止容器
105.6.3. 进入容器
105.6.4. 运行容器内的命令
105.6.5. 导出和导入容器
105.6.6. 停止所有容器
105.6.7. 删除容器
105.6.8. log-driver
105.6.9. 操作系统
105.6.10. 查看容器内运行的进程
105.6.11. 更新容器资源配置
105.6.12. 查看容器的退出状态
105.6.13. 暂停与恢复容器
105.6.14. 对比容器的变化
105.6.15. 查看容器状态
105.6.16. 重启容器
105.6.17. DNS
105.7. 卷管理
105.7.1. 列出卷
105.7.2. 创建卷
105.7.3. 挂在镜像
105.7.4. 检查卷
105.7.5. 删除卷
105.7.6. 销毁所有未使用的卷
105.7.7. 在多个容器间共享卷
105.7.8. 容器绑定本地文件系统
105.7.9. 只读权限
105.8. Docker 网络管理
105.8.1. docker0 IP地址
105.8.2. 容器指定固定IP地址
105.8.3. 创建子网
105.8.4. 创建 overlay 网络
105.8.5. 网络命令空间
105.8.6. flannel 网络配置
105.9. 日志管理
105.9.1. 查看默认驱动
105.9.2. Fluentd 配置
105.9.3. Docker 配置
105.9.4. docker-compose 编排
105.9.5. 将日志输出到 /dev/stdout 和 /dev/stderr
105.10. Dockerfile
105.10.1. 基于 Dockerfile 创建镜像
105.10.2. 基于 Alpine 制作镜像
105.10.3. Dockerfile 缺失的工具
105.10.4. Dockerfile 语法
105.11. 仓库
105.11.1. Docker 官方仓库
105.11.2. 私有仓库
105.11.3. Harbor
105.12. Swarms
105.12.1. 管理 Swarms
105.12.2. Stack
105.12.3. 服务
105.12.4. swarm 卷管理
105.13. docker-compose.yml 容器编排
105.13.1. 版本号
105.13.2. 镜像
105.13.3. 容器名称
105.13.4. 启动策略
105.13.5. 容器用户
105.13.6. 挂在卷
105.13.7. 映射端口的标签
105.13.8. 添加 hosts 文件
105.13.9. 网络配置
105.13.10. links 主机别名
105.13.11. 链接外部容器
105.13.12. 服务依赖
105.13.13. working_dir
105.13.14. 设置环境变量
105.13.15. 临时文件系统
105.13.16. 编译 Dockerfile
105.13.17. resources 硬件资源分配
105.14. Docker Example
105.14.1. registry
105.14.2. Example Java - Spring boot with Docker
105.14.3. Redis
105.14.4. Nginx
105.14.5. MySQL
105.14.6. MongoDB
105.14.7. Node
105.15. Docker FAQ
105.15.1. 通过 IP 找容器
105.15.2. 常用工具
105.15.3. 检查 Docker 是否可用
105.15.4. no space left on device
105.15.5. Bitnami
106. Podman
106.1. 安装 Podman
106.1.1. RockyLinux 安装 Podman
106.1.2. Almalinux 9.0
106.1.3. MacOS 安装 Podman
106.1.4. 初始化 Podman
106.1.5. 让 Podman 支持 Docker Compose
106.1.6. 配置 Podman
106.1.7.
106.2. podman 管理
106.2.1. 虚拟机管理
106.2.2. 镜像管理
106.2.3. Registry
106.3. 按例
106.3.1. podman run 用法
106.3.2. mysql
106.3.3. 制作镜像
XI. Kubernetes
107. Minikube
107.1. CentOS 8 安装 minikube
107.1.1. CentOS
107.1.2. Mac OS
107.2. Quickstart
107.3. minikube 命令
107.3.1. minikube ip 地址
107.3.2. 启动 minikube
107.3.3. 停止 minikube
107.3.4. Docker 环境变量
107.3.5. SSH
107.3.6. 缓存镜像
107.3.7. 清理 minikube
107.3.8. Kubernetes 控制面板
107.3.9. service
107.3.10. 查看日志
107.3.11. 查看 Docker 环境变量
107.3.12. profile
107.3.13. addons
107.3.14. SSH
107.3.15. 查看IP地址
107.3.16. 镜像管理
107.3.17. kubectl
107.4. Minikube 案例演示
107.5. FAQ
107.5.1. This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
107.5.2. ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables
107.5.3. ERROR ImagePull
107.5.4. 证书已存在错误
107.5.5. http: server gave HTTP response to HTTPS client
107.5.6. provided port is not in the valid range. The range of valid ports is 30000-32767
107.5.7. Exiting due to MK_ENABLE: run callbacks: running callbacks: [verifying registry addon pods : timed out waiting for the condition: timed out waiting for the condition]
107.5.8. Exiting due to SVC_URL_TIMEOUT: http://127.0.0.1:11068/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ is not accessible: Temporary Error: unexpected response code: 503
107.5.9. Mac minikube ip 不通,ingress 不工作
108. microk8s
108.1. 安装 microk8s
108.1.1. 安装指定版本
108.2. 组件管理
108.2.1. dns
108.2.2. dashboard
108.3. kubectl
108.4. Kubernetes Addons
108.4.1.
109. Kubernetes 集群管理
109.1. 配置
109.1.1. KUBECONFIG
109.1.2. use-context
109.2. 如何从 docker 过渡到 kubectl 命令
109.2.1. 执行 Shell
109.2.2. 查看信息
109.2.3. 查看 pod 日志
109.2.4. 复制文件
109.2.5. edit
109.2.6. 端口转发
109.2.7. 操作系统资源配置
109.2.8. endpoints
109.2.9. explain
109.2.10. describe
109.3. namespace 命名空间
109.3.1. 查看命名空间
109.3.2. 创建命名空间
109.3.3. 使用 yaml 创建命名空间
109.3.4. 删除命名空间
109.4. label 标签
109.5. 服务管理
109.5.1. 列出服务
109.5.2. 创建服务
109.5.3. 查看服务详细信息
109.5.4. 更新服务
109.5.5. 删除服务
109.5.6. clusterip
109.5.7. 设置外部IP
109.5.8. externalname
109.5.9. 负载均衡
109.5.10. nodeport
109.5.11. Example
109.6. serviceaccount
109.7. Pod 管理
109.7.1. 查看 POD 状态
109.7.2. 运行 POD
109.7.3. 删除 pod
109.7.4. 查看 Pod 的事件
109.7.5. Taint(污点)和 Toleration(容忍)
109.7.6. 镜像拉取策略
109.7.7. 指定主机名
109.7.8. 环境变量
109.7.9. 健康状态检查
109.7.10. securityContext
109.7.11. nodeName 选择节点
109.7.12. nodeSelector 选择节点
109.7.13. nodeAffinity 选择节点
109.7.14. Taint(污点)和 Toleration(容忍)
109.7.15. strategy
109.8. 部署管理
109.8.1. expose
109.8.2. 部署容器
109.8.3. 删除 deployment
109.8.4. 扩容管理
109.8.5. rollout
109.8.6. 重启容器
109.8.7. 更新镜像
109.9. secret 密钥管理
109.9.1. 获取 Token
109.9.2. 创建 Secret
109.9.3. Private Registry 用户认证
109.9.4. 配置TLS SSL
109.10. ConfigMap
109.10.1. 创建 Key-Value 配置项
109.10.2. 从文件创建 ConfigMap
109.10.3. 从环境变量文件创建 ConfigMap
109.10.4. 查看 ConfigMap
109.10.5. 删除 ConfigMap
109.10.6. ConfigMap
109.11. Job/CronJob
109.11.1. CronJob
109.11.2. Job
109.12. clusterrolebinding
109.13. Volume
109.13.1. local
109.14. Ingress
109.14.1. 管理 Ingress
109.14.2. 挂载 SSL 证书上
109.14.3. 端口
109.14.4. URI 规则
109.14.5. vhost 虚拟主机
109.14.6. rewrite
109.14.7. annotations 配置
109.14.8. 金丝雀发布(灰度发布)
109.14.9. 解决 504 网关超时
110. kubectl example
110.1. 私有 registry
110.2. mongodb
110.3. tomcat
111. istio
111.1. 启动 istio
111.2. 禁用 istio
112. Kubeapps
113. Helm - The package manager for Kubernetes
113.1. 安装 Helm
113.1.1. AlmaLinux
113.1.2. Rocky Linux
113.1.3. Ubuntu
113.1.4. Mac
113.2. 快速开始
113.3. Helm 命令
113.3.1. 初始化 Helm
113.3.2. 查看仓库列表
113.3.3. 搜索
113.3.4. 查看包信息
113.3.5. 安装
113.3.6. 列表
113.3.7. 删除
113.3.8. 升级
113.3.9. 回滚
113.3.10. 查看状态
113.4. ingress-nginx
113.5. elastic
113.6. Helm The package manager for Kubernetes
113.7. Helm Faq
114. Rancher - Multi-Cluster Kubernetes Management
114.1. 安装 Rancher
114.1.1. Rancher Server
114.1.2. Rancher Kubernetes Engine (RKE) 2
114.1.3. Rancher Kubernetes Engine (RKE) 1
114.1.4. Rancher CLI
114.1.5. rancher-compose
114.2. 快速入门
114.2.1. API
114.3. Rancher Compose
114.3.1. Rancher Compose 命令
114.3.2. 操作演示
114.4. Rancher CLI
114.4.1. 登陆 Rancher
114.4.2. 查看集群
114.4.3. 查看节点
114.4.4. catalog
114.4.5. 查看设置
114.4.6. rancher kubectl
114.5. K3s
114.5.1. AutoK3s
114.5.2. 安装 K3s(Docker 模式)
114.5.3. 安装 K3s(VM 模式)
114.5.4. k3d
114.5.5. TLS 证书
114.5.6. 创建 Token
114.5.7. FAQ
114.6. Rancher Demo
114.6.1. Rancher 部署 Nginx
114.6.2. local-path-provisioner
114.7. Longhorn
114.7.1. 安装 Longhorn
114.7.2. 选择磁盘类型
114.7.3. 节点选择
114.7.4. FAQ
114.8. FAQ
114.8.1. 调试 Rancher 查看日志
114.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
114.8.3. cgroups v2
115. netkiller 容器编排工具
115.1. 安装 netkiller-devops
115.2. 使用 python 优雅地编排 Docker 容器
115.2.1. 安装依赖库
115.2.2. 创建一个 Services
115.2.3. 创建 Composes
115.2.4. 容器管理
115.2.5. 演示例子
115.2.6. 使用 Python 编排 Dockerfile
115.2.7.
115.2.8. logstash
115.3. 使用 Python 优雅地编排 Kubernetes
115.3.1. 快速演示编排Nginx
115.3.2. 创建命名空间
115.3.3. ConfigMap/Secret 编排演示
115.3.4. Pod 挂载 ConfigMap 编排演示
115.3.5. Pod 挂载 ConfigMap 设置环境变量
115.3.6. Ingress 挂载 SSL 证书
115.3.7. StatefulSet 部署 Redis
115.3.8. StorageClass
115.3.9. 部署 MySQL 到 kubernetes
115.3.10. MongoDB
115.3.11. Nacos
115.3.12. Redis
115.3.13. Kubernetes 部署 kube-explorer 图形化界面
115.3.14. ELK
115.3.15. sonarqube
XII. Virtualization
116. Virtual Machine(虚拟机)
116.1. Kernel-based Virtual Machine(KVM)
116.1.1. kvm install usage yum
116.1.2. Ubuntu
116.1.3. CentOS 6.2
116.1.4. Scientific Linux Virtualization
116.1.5. libvirt
116.1.6. FAQ
116.2. Xen
116.2.1. install
116.2.2. Manager
116.3. OpenVZ
116.3.1. 安装OpenVZ
116.3.2. 使用OpenVZ & 建立VPS
116.3.3. 设置VPS参数
116.4. vagrant - Tool for building and distributing virtualized development environments
116.4.1. vagrant for windows
116.5. 虚拟机管理
116.5.1. Proxmox - Open-source virtualization management platform Proxmox VE
116.5.2. OpenStack
116.5.3. CloudStack
116.5.4. OpenNode
116.5.5. OpenNEbula
XIII. 项目管理工具
117. Gitlab 项目管理
117.1. GitLab 安装与配置
117.1.1. Almalinux 9.0
117.1.2. CentOS 8 Stream 安装 Gitlab
117.1.3. Docker 方式安装 Gitlab
117.1.4. Yum 安装 GitLab
117.1.5. 绑定SSL证书
117.1.6. Gitlab 管理
117.2. 初始化 Gitlab
117.2.1. 操作系统初始化
117.2.2. 创建用户
117.2.3. 初始化组
117.2.4. 初始化标签
117.2.5. 初始化分支
117.2.6. 部署环境
117.3. 项目管理
117.3.1. 组织架构
117.3.2. 项目计划
117.3.3. 工作流
117.3.4. 议题
117.3.5. 并行开发
117.3.6. 升级与发布相关
117.3.7. 代码审查
117.4. 通过GPG签名提交代码
117.4.1. 创建证书
117.4.2. 配置 Gitlab GPG
117.4.3. 配置 Git
117.4.4. FAQ
117.5. CI / CD
117.5.1. 远程服务器配置
117.5.2. 配置 CI / CD
117.5.3. Shell 执行器
117.5.4. tags 的使用方法
117.5.5. Docker 执行器
117.5.6. Kubernetes executor
117.5.7. Java 持续集成相关
117.5.8. 数据库结构监控
117.5.9. 持续部署 Nacos
117.6. Pipeline 流水线
117.6.1. cache
117.6.2. stages
117.6.3. variables
117.6.4. script /before_script / after_script
117.6.5. only and except
117.6.6. 构建物
117.6.7. 允许失败
117.6.8. 定义何时开始job
117.6.9. services
117.6.10. tags
117.6.11. rules 规则
117.6.12. include 包含
117.6.13. 模版
117.6.14. release
117.6.15. 应用案例
117.7. 软件包与镜像库
117.7.1. Maven 仓库
117.7.2. Python Pypi 仓库
117.7.3. Node JS
117.7.4. Docker registry
117.8. 服务器端 hooks
117.8.1. 创建全局 Server hooks
117.8.2. 给单个仓库配置 Server hooks
117.9. 客户端 hooks
117.9.1. 集成禅道
117.10. WebHook
117.11. FAQ
117.11.1. 查看日志
117.11.2. debug runner
117.11.3. gitolite 向 gitlab 迁移
117.11.4. 修改主机名
117.11.5. ERROR: Uploading artifacts as "archive" to coordinator... too large archive
117.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
117.11.7. 磁盘 100% 怎样清理
118. Jenkins
118.1. 安装 Jenkins
118.1.1. OSCM 一键安装
118.1.2. Mac
118.1.3. CentOS
118.1.4. Ubuntu
118.1.5. Docker
118.1.6. Minikube
118.2. 配置 Jenkins
118.3. Jenkinsfile
118.3.1. Jenkinsfile - Declarative Pipeline
118.3.2. Jenkinsfile - Scripted Pipeline
118.3.3. 设置环境变量
118.3.4. agent
118.3.5. Steps
118.3.6. 版本控制
118.3.7. 节点与过程
118.3.8. 工作区
118.4. Jenkins Job DSL / Plugin
118.5. Jenkins Plugin
118.5.1. Blue Ocean
118.5.2. Locale Plugin (国际化插件)
118.5.3. github-plugin 插件
118.5.4. Docker
118.5.5. JaCoCo
118.5.6. SSH Pipeline Steps
118.5.7. Rancher
118.5.8. Kubernetes 插件
118.5.9. HTTP Request Plugin
118.5.10. Skip Certificate Check plugin
118.5.11. Android Sign Plugin
118.6. Jenkinsfile Pipeline Example
118.6.1. Maven 子模块范例
118.6.2. 使用指定镜像构建
118.6.3. 命令行制作 Docker 镜像
118.6.4. Yarn
118.6.5. Android
119. SonarQube
119.1. 安装
119.1.1. Kubernetes 安装 SonarQube
119.1.2. Docker
119.1.3. netkiller-devops 安装
119.1.4. SonarScanner
119.2. 配置
119.2.1. 登陆 SonarQube
119.2.2. 本地 maven 执行 SonarQube
119.2.3. 集成 Gitlab
119.2.4. SonarScanner
119.3. FAQ
119.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]
119.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
119.3.3. [ERROR] An unknown compilation problem occurred
119.3.4. can't have 2 modules with the following key
119.3.5. Kubernetes 运行 sonar-scanner
120. Dagger
121. 持续集成工具
121.1. Code Review
121.1.1. Phabricator - an open source, software engineering platform
121.1.2. Gerrit
121.1.3. TeamCity
121.2. Nexus Repository OSS
121.2.1. 安装 Nexus
121.2.2. Nexus UI
121.2.3. maven 设置
121.2.4. Node.js
121.2.5. Ruby
123. TRAC
123.1. Ubuntu 安装
123.1.1. source code
123.1.2. easy_install
123.1.3. Apache httpd
123.2. CentOS 安装
123.2.1. trac.ini
123.2.2. standalone
123.2.3. Using Authentication
123.2.4. trac-admin
123.3. Project Environment
123.3.1. Sqlite
123.3.2. MySQL
123.3.3. Plugin
123.4. trac.ini
123.4.1. repository
123.4.2. attachment 附件配置
123.5. trac-admin
123.5.1. adduser script
123.6. Trac 项目管理
123.6.1. Administration
123.6.2. Wiki
123.6.3. Timeline
123.6.4. Roadmap
123.6.5. Ticket
123.7. FAQ
123.7.1. TracError: Cannot load Python bindings for MySQL
123.8. Apache Bloodhound
124. Redmine
124.1. CentOS 安装
124.2. Redmine 运行
124.3. 插件
124.3.1. workflow
125. 项目管理工具
125.1. 禅道
125.2. TUTOS
XIV. 软件版本控制
126. Git - Fast Version Control System
126.1. Repositories 仓库管理
126.1.1. initial setup
126.1.2. 克隆代码
126.1.3. 切换分支
126.1.4. git-add - Add file contents to the index
126.1.5. Creating and Commiting
126.1.6. Status
126.1.7. Diff
126.1.8. Push
126.1.9. Pull
126.1.10. fetch
126.1.11. Creating a Patch
126.1.12. reset
126.2. 分支管理
126.2.1. 查看本地分支
126.2.2. 创建分支
126.2.3. 删除分支
126.2.4. 切换分支
126.2.5. 重命名分支
126.2.6. git-show-branch - Show branches and their commits
126.3. git log
126.3.1. hash-object
126.3.2. 一行显示 --oneline
126.3.3. 查看文件历史记录
126.3.4. 格式化
126.4. reflog
126.5. 远程仓库
126.5.1. 查看远程地址
126.5.2. 添加远程仓库
126.5.3. 修改 origin
126.5.4. 删除 origin
126.5.5. 仓库共享
126.6. git show - Show various types of objects
126.6.1. 查看指定版本的文件内容
126.7. 合并分支
126.7.1. 合并分支
126.7.2. rebase
126.7.3. 合并分支解决冲突
126.7.4. 终止合并
126.7.5. 合并单个文件
126.7.6. Git 合并特定 commits 到另一个分支
126.8. 比较文件
126.8.1. 比较 SHA
126.8.2. 分支比较
126.9. Submodule 子模块
126.9.1. 添加模块
126.9.2. checkout 子模块
126.9.3. 删除子模块
126.10. Git Large File Storage
126.10.1. 安装 LFS 支持
126.10.2. LFS lock
126.11. git config
126.11.1. git config
126.11.2. 查看配置
126.11.3. 编辑配置
126.11.4. 替换配置项
126.11.5. 配置默认分之
126.11.6. GPG签名
126.11.7. core.sshCommand
126.11.8. fatal: The remote end hung up unexpectedly
126.11.9. 忽略 SSL 检查
126.11.10. 配置忽略合并文件
126.11.11. .gitignore
126.11.12. .gitattributes
126.11.13. 配置模版目录
126.12. git-rev-parse - Pick out and massage parameters
126.12.1. 获得当前提交ID
126.13. git-daemon 服务器
126.13.1. git-daemon - A really simple server for git repositories
126.13.2. git-daemon-sysvinit
126.13.3. inet.conf / xinetd 方式启动
126.13.4. git-daemon-run
126.13.5. Testing
126.14. git-svn - Bidirectional operation between a single Subversion branch and git
126.15. Web Tools
126.15.1. viewgit
126.16. gitolite - SSH-based gatekeeper for git repositories
126.16.1. gitolite-admin
126.17. FAQ
126.17.1. 导出最后一次修改过的文件
126.17.2. 导出指定版本区间修改过的文件
126.17.3. 撤销当前修改,恢复到远程最后一次提交
126.17.4. 回撤提交
126.17.5. 撤回单个文件提交
126.17.6. 合并分支中的单个
126.17.7. 每个项目一个证书
126.17.8. fatal: Not possible to fast-forward, aborting.
126.17.9. receive.denyCurrentBranch
126.17.10. 更新所有项目以及分支
126.17.11. 找回丢失的分支
127. Subversion
127.1. Invoking the Server
127.1.1. Installing
127.1.2. standalone “daemon” process
127.1.3. classic Unix-like inetd daemon
127.1.4. hooks
127.1.5. WebDav
127.2. repository 管理
127.2.1. create repository
127.2.2. user admin
127.2.3. authz
127.2.4. dump
127.3. 使用Subversion
127.3.1. Initialized empty subversion repository for project
127.3.2. ignore
127.3.3. 关键字替换
127.3.4. lock 加锁/ unlock 解锁
127.3.5. import
127.3.6. export 指定版本
127.3.7. 修订版本关键字
127.3.8. 恢复旧版本
127.4. branch
127.4.1. create
127.4.2. remove
127.4.3. switch
127.4.4. merge
127.4.5. relocate
127.5. FAQ
127.5.1. 递归添加文件
127.5.2. 清除项目里的所有.svn目录
127.5.3. color diff
127.5.4. cvs2svn
127.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
127.5.6. 指定用户名与密码
128. cvs - Concurrent Versions System
128.1. installation
128.1.1. chroot
128.2. cvs login | logout
128.3. cvs import
128.4. cvs checkout
128.5. cvs update
128.6. cvs add
128.7. cvs status
128.8. cvs commit
128.9. cvs remove
128.10. cvs log
128.11. cvs annotate
128.12. cvs diff
128.13. rename file
128.14. revision
128.15. cvs export
128.16. cvs release
128.17. branch
128.17.1. milestone
128.17.2. patch branch
128.18. keywords
129. 常用命令
129.1. 获取IP地址
XV. Configuration Management(配置管理)
130. Ansible - SSH-based configuration management, deployment, and task execution system
130.1. install
130.2. Getting Started
130.3. ansible - run a command somewhere else
130.3.1. host-pattern
130.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
130.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
130.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
130.3.5. -s, --sudo run operations with sudo (nopasswd)
130.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
130.3.7. 使用实例
130.4. ansible-doc - Show Ansible module documentation
130.5. ansible-playbook - run an ansible playbook
130.5.1. 包含文件用法
131. Capistrano
132. Puppet
132.1. Installing Puppet CentOS 6.3
132.2. Puppet 签名
132.2.1. Agent 节点
132.2.2. Master 服务器
132.3. test
132.3.1. Master
132.3.2. Agent
132.4. 配置文件
132.4.1. /etc/sysconfig/puppet
132.4.2. /etc/puppet/fileserver.conf
132.5. manifests
132.5.1. node
132.5.2. group, user 用户组管理
132.5.3. file
132.5.4. package
132.5.5. service
132.5.6. exec
132.5.7. cron
132.6. modules
132.7. firewall 配置
132.8. debug
132.8.1. master
132.8.2. node
132.9. FAQ
132.9.1. err: Could not request certificate: No route to host - connect(2)
132.9.2. No help available unless you have RDoc::usage installed
133. SaltStack
133.1. 安装 Salt Stack
133.1.1. 服务端安装
133.1.2. 客户端安装
133.1.3. 防火墙配置
133.1.4. key 管理
133.1.5. 测试
133.1.6. Demo
133.2. salt-key - Salt key is used to manage Salt authentication keys
133.3. salt 命令
133.3.1. cmd
133.3.2. pkg.install
133.3.3. network.interfaces
133.3.4. salt example
133.4. /etc/salt/master
133.4.1. File Server settings
133.4.2. Pillar settings
133.4.3. Node Groups
133.4.4. File Server Backend
133.5. sls 脚本
133.5.1. pkg
133.5.2. service
133.6. FAQ
133.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
134. Chef
134.1. 安装 Chef
134.1.1. CentOS
135. Cobbler
136. Cfengine
137. func
138. (R)?ex Deployment & Configuration Management
139. 基于Web的系统管理软件
139.1. Webmin
139.1.1. webalizer
139.2. ajenti
XVI. 图形工具(Graphics)
140. Gnuplot
140.1. 安装 Gnuplot
140.1.1. CentOS 环境
140.1.2. Ubuntu 环境
140.1.3. 测试 Gnuplot 是否可用
140.2. terminal
140.3. output
140.4. title/xlabel/ylabel
140.5. xrange/yrange
140.5.1. 时间轴范围
140.5.2. 日期轴范围
140.6. xdata
140.6.1. Date/Time
140.7. plot
140.7.1. using
140.8. PHPlot
140.9. FAQ
140.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
140.9.2. 变量传递
141. Graphviz - Graph Visualization Software
141.1. Installation
141.1.1. Apt-get
141.1.2. Yum
141.2. The DOT Language
141.2.1. dot
141.2.2. twopi
141.2.3. gprof
141.3. Node, Edge and Graph Attributes
141.3.1. Color Names
141.3.2. Node Shapes
141.3.3. 箭头
141.4. Example
141.4.1. E-R
141.4.2. Network
141.4.3. workflow
142. RRDTool
142.1. install
142.2. rrdtool demo example
142.3. title
142.4. start / end
142.5. height / width
142.6. upper-limit / lower-limit
142.7. vertical-label
142.8. Data Source
142.9. Round Robin Archives
142.10. AREA, LINE and STACK
142.10.1. LINE
142.10.2. AREA
142.10.3. STACK
142.10.4. GPRINT
142.11. Example
142.11.1. Memory
142.11.2. example 1
142.11.3. example 1
143. OpenBR
144. OCR - Optical Character Recognition
144.1. Tesseract
144.2. cuneiform - multi-language OCR system
145. Open-Source tool in Java to draw UML Diagram
146. Asymptote: The Vector Graphics Language
146.1. UML
147. MetaPost
148. OpenStreetMap
148.1. OpenLayers
148.2. Leaflet
149. Baidu Map
149.1. BMap.Circle
XVII. 多媒体信息处理(Multimedia)
150. Audio
150.1. lame
151. Video
151.1. OpenShot
151.2. cinelerra-cv
151.3. FFmpeg
151.3.1. 安装
151.3.2. 视频格式转换
151.3.3. 提取视频中的音频
151.3.4. 添加字幕
151.3.5. 音频格式转换
152. 图像处理(Graphics)
152.1. GraphicsMagick
152.1.1. 安装
152.1.2. 识别图像信息
152.1.3. mogrify
152.1.4. convert
152.1.5. montage
152.1.6. 截屏
152.1.7. 显示图像
152.2. ImageMagick
152.2.1. install
152.2.2. convert
152.2.3. 查看支持字体列表
152.3. Photivo
152.4. How to add metadata to digital pictures from the command line
153. Music score
153.1. Synthesizer
153.1.1. ZynAddSubFX
153.2. Drums
153.2.1. Hydrogen
153.3. LilyPond
153.3.1. Example
153.4. MuseScore
153.5. ardour
153.6. LMMS
153.7. Qsynth
153.8. Rosegarden
153.9. TerminatorX
153.10. Pulseaudio
154. Stream
154.1. broadcast streaming
154.1.1. gnump3d - A streaming server for MP3 and OGG files
154.1.2. icecast2 - Ogg Vorbis and MP3 streaming media server
154.1.3. shoutcast
154.1.4. PeerCast
154.2. WebRTC
156. 常用命令
156.1. 获取IP地址
XVIII. Voice over IP
157. Gnu Gatekeeper
157.1. Gnu Gatekeeper Install
157.2. Gnu Gatekeeper Configure
157.3. Gnu Gatekeeper Test
157.3.1. Part I - Microsoft Windows NetMeeting
157.3.2. Part II - ohphone
158. OpenSIPS
158.1. 安装 OpenSIPS
158.1.1. centos 6.5 默认安装
158.1.2. 使用 yum.opensips.org 源安装
158.1.3. 编译安装
158.2. 数据库部署
158.2.1. DBTEXT
158.2.2. MySQL
158.2.3. PGSQL
158.2.4. Berkeley DB
158.3. 测试 opensips
159. PBX
159.1. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
159.2. FreeSWITCH
159.3. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
160. VOCAL (includes a SIP to H.323 translator)
161. SIP/H.323 客户端
161.1. linphone
161.2. Yate Client
XIX. 数字证书,编码与解码
162. UUID (Universally Unique Identifier)
162.1. GUID
162.2. Subversion
162.3. PHP UUID
162.4. JAVA UUID
162.5. PERL UUID
162.6. Python UUID
162.7. MySQL uuid()
162.8. linux command uuid
163. Encode & Decode
163.1. MIME (BASE64) 专题
163.1.1. Linux Command base64
163.1.2. PHP Base64
163.1.3. Python Base64
163.1.4. perl base64
163.1.5. Java Base64
163.1.6. C/C++ Base64
163.2. Uuencode
163.2.1. PHP uuencode
163.3. Quoted-Printable
163.3.1. C Quoted-Printable
163.3.2. Java Quoted-Printable
163.3.3. Python Quoted-Printable
163.4. Base58
163.4.1. php
163.4.2. Java Base58
164. Message Digest (数字摘要)
164.1. MD5专题
164.1.1. md5sum
164.1.2. PHP md5()
164.1.3. MySQL md5()
164.1.4. Java MD5
164.1.5. perl md5
164.2. SHA 专题
164.2.1. sha1sum
164.2.2. PHP sha1()
164.2.3. Java SHA
164.2.4. Perl
164.3. CRC32
164.3.1. PHP CRC32
164.3.2. Java CRC32
164.4. 第三方工具
164.4.1. htpasswd
164.4.2. htdigest
164.4.3. md5sum
164.4.4. sha1sum
165. DES crypt() 专题
165.1. C crypt()
165.2. PHP crypt()
165.3. perl crypt
165.4. mysql crypt
165.5. Java crypt
165.5.1. Java 8 DES
165.6. grub-md5-crypt - Encrypt a password in MD5 format.
166. AES
166.1. Java
166.1.1. AES/ECB/PKCS5Padding
166.1.2. AES/CBC/PKCS5PADDING
166.2. PHP
166.2.1. AES/ECB/PKCS5Padding
167. GnuPG
167.1. 安装 GnuPG
167.1.1. CentOS 8 Stream
167.1.2. Ubuntu
167.1.3. macOS
167.2. 创建密钥
167.2.1. 创建密钥并指定过期时间
167.2.2. 快速创建密钥对
167.3. 查看密钥
167.4. 吊销密钥
167.5. 删除密钥
167.6. 密钥倒入/导出
167.6.1. 导出密钥
167.6.2. 导入密钥
167.6.3. 导入所有密钥
167.6.4. 密钥迁移
167.7. 签名
167.8. 加密/解密文件
167.8.1. 加密文件
167.8.2. 解密
167.8.3. 指定用户ID
167.8.4. 签名+加密
167.9. 修改密钥
167.9.1. 显示帮助信息
167.9.2. 签名
167.9.3. 公钥信任配置
167.10. 加密备份 MySQL
167.10.1. 创建密钥对
167.10.2. 数据库备份
167.10.3. 数据库还原
167.11. FAQ
167.11.1. 指定 passphrase
167.11.2. 旧版本 1.4.11
167.12. GnuPG For Windows
167.12.1. 生成密钥对
167.12.2. 列出密钥
167.12.3. 验证签字
167.12.4. EMail-Security
167.13. Smart Card
167.14. PGP
167.15. OpenPGP
168. OpenSSL
168.1. openssl 命令参数
168.1.1. version
168.1.2. 测试加密算法的速度
168.1.3. req
168.1.4. x509
168.1.5. ca
168.1.6. crl
168.1.7. pkcs12
168.1.8. passwd
168.1.9. digest
168.1.10. enc
168.1.11. rsa
168.1.12. dsa
168.1.13. rc4
168.1.14. -config 指定配置文件
168.1.15. -subj 指定参数
168.1.16. rand
168.1.17. 去除私钥的密码
168.1.18. ciphers
168.2. web 服务器 ssl 证书
168.2.1. Nginx
168.3. s_server / s_client
168.3.1. SSL POP3 / SMTP / IMAP
168.3.2. server / client 文件传输
168.3.3. 检查证书是否支持指定的 cipher
168.3.4. HTTP SSL 证书
168.4. smime
168.5. Outlook smime x509 证书
168.5.1. 快速创建自签名证书
168.5.2. 企业或集团方案
168.6. 证书转换
168.6.1. CA证书
168.6.2. 创建CA证书有效期为一年
168.6.3. x509转换为pfx
168.6.4. PEM格式的ca.key转换为Microsoft可以识别的pvk格式
168.6.5. PKCS#12 到 PEM 的转换
168.6.6. 从 PFX 格式文件中提取私钥格式文件 (.key)
168.6.7. 转换 pem 到到 spc
168.6.8. PEM 到 PKCS#12 的转换
168.6.9. How to Convert PFX Certificate to PEM Format for SOAP
168.6.10. DER文件(.crt .cer .der)转为PEM格式文件
168.6.11. JKS 转 X509
168.6.12. jks to pem
168.7. 其他证书工具
168.8. OpenSSL 开发库
168.8.1. DES encryption with OpenSSL
169. 数据库与加密
169.1. MySQL 加密函数
169.1.1. AES_ENCRYPT / AES_DECRYPT
169.1.2. 通过PHP mcrypt 函数加密解密MySQL数据库
170. Java - keytool
170.1. 创建证书
170.2. Private key generation
170.3. Public Key Certificate (optional)
170.4. import your signed certificate
170.5. Import the certificate and attach it to your server key pair
170.6. Key pair verification
171. .Net makecert
171.1. 访问X.509证书
172. Secure Tunnel
172.1. OpenSSH Tunnel
172.1.1. SOCKS v5 Tunnel
172.2. SSL Tunnel
172.2.1. 通过SSL访问POP、IMAP、SMTP
172.3. DeleGate
173. 硬盘分区与文件系统加密
173.1. Microsoft 文件系统加密
173.1.1. Microsoft Encrypting File System (EFS)
173.1.2. BitLocker
174. Office
174.1. Calc
174.1.1. 函数
175. OpenStego - 图像文件水印加密
176. 邮件原文
176.1. Subject Unicode
176.2. TO/CC/BCC
176.3. 正文
176.4. POP Sniffer
176.5. PHP mail()
177. Smart card(智能卡)
177.1. OpenSC - tools and libraries for smart cards
177.1.1. 安装 OpenSC
177.2. openct-tool - OpenCT smart card utility
177.3. ccid - Generic USB CCID smart card reader driver
177.4. usbutils: Linux USB utilities
177.5. USB Token
177.5.1. Open[F]irst
177.5.2. [S]oPin 验证管理员
177.5.3. LED 灯控制
177.5.4. [L]ist
177.5.5. File[M]enu 文件菜单
177.5.6. Set[u]pMenu 设置菜单
177.5.7. Linux ePass
178. Credentials Organization
178.1. VeriSign
178.1.1. iTrusChina
178.1.2. Thawte
178.1.3. Geotrust
178.2. UserTrust
178.3. 境内其他CA机构
178.3.1. WoSign®、I'm Verified®、WoTrust®、沃通®
178.4. SSL FOR FREE
178.5. Let’s Encrypt
XX. X Window
179. install x window
179.1. xinput - utility to configure and test X input devices
180. X Setup
180.1. 取消开机启动画面
180.2. Automatic login
180.3. disable x window
181. Fonts 字体
181.1. fc-list 字体查看命令
181.1.1. 查看所有字体
181.1.2. 查看中文字体
181.2. 查看字体详情
181.3. 安装字体
181.4. fonts 字体
182. X Terminal
182.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
182.1.1. VNC
182.1.2. xdmcp
182.2. vinagre - a remote desktop viewer for the GNOME Desktop
182.3. rdesktop - A Remote Desktop Protocol client
182.3.1. -g: desktop geometry (WxH)
182.3.2. -f: full-screen mode
182.3.3. -A: enable SeamlessRDP mode
182.3.4. -z: enable rdp compression
182.3.5. -r: enable specified device redirection (this flag can be repeated)
182.4. tigervnc
182.5. TightVNC
183. Unity
183.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
184. X Window System
184.1. Fluxbox
184.2. LXDE
184.3. Xfce
184.4. Xming X Server for Windows
185. X Application Software
185.1. ubuntu-restricted-extras
185.2. Keyboard Input Methods(输入法)
185.3. 浏览器
185.3.1. Firefox
185.3.2. Chromium Web Browser
185.4. Download Software
185.5. PAC Manager
185.6. LibreOffice
185.7. VYM (View Your Mind)
185.8. greenshot
185.9. Window Switch
185.10. gparted
186. Office
186.1. Calc
186.1.1. 函数
187. IBM WebSphere
187.1. WebSphere Commerce Engerprise 7.0
187.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
187.2.1. WAS
187.2.2. Plugins
187.2.3. IHS
187.2.4. backup
187.3. UpdateInstaller (CommerceServer70)
187.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
187.5. creating a WebSphere Commerce instance
187.6. enableFeature
187.6.1. foundation
187.6.2. management-center
187.6.3. store-enhancements
187.6.4. checkEnablementStatus
187.6.5. check version
187.7. Start IBMIHS and AppServer
187.7.1. IBMIHS
187.7.2. AppServer
187.7.3. Starting and stopping the WebSphere Commerce Information Center
187.7.4. 管理入口
187.8. Initialization store
XXI. SBC - Single-board computers
188. Raspberry Pi
188.1. 配置工具
188.1.1. rpi-update
188.2. WiFi 配置
188.2.1. 网络状态
188.2.2. WIFI 配置
188.2.3. WiFi 热点配置
188.3. Android 9 Pie
XXII. Home Assistant
189. Home Assistant
189.1. 安装 Home Assistant
189.1.1. Docker 安装
189.1.2. Debian
189.1.3. Ubuntu
189.1.4. 升级
189.2. 配置文件
189.3. Home Assistant Community Store
189.3.1. 正常安装
189.3.2. 遇到 Github 无法访问的情况怎么处理
189.3.3. 手工安装
189.3.4. Node-Red
189.3.5. Xiaomi Miot Auto
189.4. ha 命令
189.4.1. 检查版本
189.4.2. network
189.4.3. 修改 DNS
189.4.4. supervisor 管理
189.4.5. core
189.4.6. jobs
189.5. FAQ
189.5.1. Media change: please insert the disc labeled
190. Node-Red
190.1. function
190.1.1. 银行方案
190.2. 方案
190.3. 支付接口
191. MQTT
191.1. 免费的 MQTT 测试服务器
191.2. mosquitto: Open Source MQTT v5/v3.1.x Broker
191.2.1. 安装
191.2.2. 配置
191.2.3. Docker 方式安装
191.3. Python 开发接口
191.4. MQTT 主题通配符
191.5. Retain
191.6. QoS
192. ChatGPT 接口
192.1. ChatGPT Web 界面
192.2. ChatGPT 接口
193. GPS
193.1. GPS 模块
193.2. GPS 协议
193.3. 安装 gpsd
193.4. traccar
194. FAQ
194.1. 通过SSH与控制台不能登录
1. 附录
1.1. 贡献用户列表
1.2. 参考文档
1.3. Red Hat 漏洞
1.4. National Vulnerability Database (NVD)
1.5. Common Vulnerabilities and Exposures
1.6. Red Hat Bug平台
1.7. Redhat Doc
1.8. System reduce
2. 历史记录

表格清单

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

范例清单

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