Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

Netkiller Linux 手札

Netkiller Linux Cookbook

Mr. Neo Chan, 陳景峰 (BG7NYT)

 


中國廣東省深圳市寶安區龍華鎮
518109
+86 755 29812080
+86 755 29812080

版權聲明

轉載請與作者聯繫,轉載時請務必標明文章原始出處和作者信息及本聲明。

文檔出處:
http://netkiller.github.io
http://netkiller.sourceforge.net

微信掃瞄二維碼進入 Netkiller 微信訂閲號

QQ群:128659835 請註明“讀者”

2017-02-13

內容摘要

本文檔講述Linux系統涵蓋了系統管理與配置包括:

[注意]對初學Linux的愛好者忠告

玩Linux最忌reboot(重新啟動)這是windows玩家壞習慣

Linux只要接上電源你就不要再想用reboot,shutdown,halt,poweroff命令,Linux系統和應用軟件一般備有reload,reconfigure,restart/start/stop...不需要安裝軟件或配置伺服器後使用reboot重新引導計算機

在Linux系統裡SIGHUP信號被定義為刷新配置檔案,有些程序沒有提供reload參數,你可以給進程發送HUP信號,讓它刷新配置檔案,而不用restart.通過pkill,killall,kill 都可以發送HUP信號例如: pkill -HUP httpd

我的系列文檔:

操作系統

Netkiller Linux 手札
Netkiller FreeBSD 手札
Netkiller Shell 手札
Netkiller Security 手札
Netkiller Web 手札
Netkiller Monitoring 手札
Netkiller Storage 手札
Netkiller Mail 手札
Netkiller Virtualization 手札

以下文檔停止更新合併到 《Netkiller Linux 手札》

Netkiller Debian 手札 Netkiller CentOS 手札 Netkiller Multimedia 手札    

目錄

1. 自述
1.1. 本文目的
1.2. 內容簡介
1.3. 讀者對象
1.4. 作者簡介
1.5. 打賞(Donations)
1.5.1. 微信(Wechat)
1.5.2. 支付寶(Alipay)
1.5.3. PayPal Donations
1.5.4. 銀行(Bank)
1. Introduction
1.1. Linux 發行版本
1.1.1. Linux 下載排名
1.1.2. Debian 衍生版本
1.1.3. Redhat 衍生版本
1.1.4. FreeBSD 包風格的Linux 發行版
1.2. HDD Partition
1.3. Getting Started Guides
1.3.1. Scientific Linux
1.3.2. Redhat Linux
1.3.3. CentOS 6
1.3.4. 5.x 減肥
1.3.5. 6.x Mini 安裝後需要做的一些事
I. System Administrator
3. 獲取系統信息
3.1. Distribution information
3.2. System Infomation
3.2.1. Cpu Bit
3.3. shutdown
3.4. Profile
3.4.1. shell
4. Kernel
4.1. 編譯安裝內核
4.2. sysctl - configure kernel parameters at runtime
4.2.1. sysctl.d
4.2.2. vm.overcommit_memory
4.3. /sys
4.3.1. /sys/class/net/
4.4. /proc
4.4.1. 進程內存監控
4.4.2. ulimit 狀態
5. Kernel modules
5.1. modprobe - program to add and remove modules from the Linux Kernel
6. Package Management
6.1. apt-cache
6.1.1. search
6.1.2. depends
6.1.3. policy
6.2. Apt-Get
6.2.1. Search
6.2.2. Installation
6.2.3. Update
6.2.4. Remove
6.2.5. purge
6.3. aptitude
6.4. Automatic Updates
6.4.1. 升級過程中連結中斷怎麼辦?
6.5. dpkg
6.5.1. -i|--install 安裝.deb包
6.5.2. -r|--remove 卸載.deb包
6.5.3. -L|--listfiles <package> ... List files `owned' by package(s). 列出包中的檔案
6.5.4. -l|--list [<pattern> ...] List packages concisely. 列出.deb包
6.5.5. Status
6.5.6. dpkg-deb - Debian package archive (.deb) manipulation tool
6.5.7. dpkg-reconfigure
6.6. Upgrading
6.6.1. GUI
6.6.2. CLI
6.6.3. CDROM
6.7. 製作.deb安裝包
6.7.1. checkinstall — Track installation of local software, and produce a binary manageable with your package management software.
6.7.2. dh_make - prepare Debian packaging for an original source archive
6.7.3. control
7. Package Manager
7.1. Yum Resource & Yum Mirror
7.1.1. Fedora resource
7.1.2. rpmforge-release
7.1.3. atomic
7.1.4. famillecollet
7.1.5. rpmfind.net
7.1.6. pkgs.org
7.1.7. China Resource
7.1.8. 製作本地共享源
7.2. yum - Yellowdog Updater Modified
7.2.1. YUM 源管理
7.2.2. install
7.2.3. localinstall
7.2.4. list
7.2.5. search
7.2.6. update / upgrade
7.2.7. remove
7.2.8. installed
7.2.9. group
7.2.10. 查看包的依賴關係
7.2.11. provides / whatprovides
7.3. rpm - RPM Package Manager
7.3.1. install/upgrade/remove
7.3.2. query
7.4. rpmbuild - Build RPM Package(s)
7.4.1. RPM_directory_macros
7.4.2. --define 專遞模板變數
7.4.3.
7.4.4. FAQ
8. Device information
8.1. dmesg - print or control the kernel ring buffer
8.2. smartctl - Control and Monitor Utility for SMART Disks
8.3. CPU 資源管理
8.3.1. lscpu - display information about the CPU architecture
8.3.2. chcpu - configure CPUs
8.4. lspci - list all PCI devices
8.5. lshw - list hardware
8.5.1. only show a certain class of hardware
8.6. hwinfo - Hardware Information
8.7. dmidecode - DMI table decoder
8.8. ethtool - Display or change ethernet card settings
8.9. usb device
8.10. lsscsi - list SCSI devices (or hosts) and their attributes
8.11. HBA
8.12. lsblk - list block devices
8.13. kudzu - detects and configures new and/or changed hardware on a system
8.14. udev - Linux dynamic device management
9. 區域/語言/時間
9.1. Ubuntu
9.1.1. time zone
9.1.2. to change system date/time
9.1.3. Language
9.2. CentOS 區域設置
9.2.1. 時區設置 CentOS 6
9.2.2. 日期、時間
9.2.3. 語言
10. console / terminal
10.1. serial console
10.2. console timeout
10.3. TUI (Text User Interface)
10.4. framebuffer
11. Harddisk
11.1. 查看分區分區 UUID
11.2. Label
11.2.1. Ext2
11.3. swap 交換分區
11.3.1. swapon failed: Invalid argument
11.4. Show partition
11.5. Create partition
11.6. Clone partition
11.7. estimate disk / directory / file space usage
11.8. Convert from ext3 to ext4 File system
11.9. GPT
11.9.1. 設置GTP磁碟
11.9.2. 查看分區
11.9.3. 創建分區
11.9.4. 刪除分區
11.9.5. 退出
11.9.6. mount
11.10. loop devices
11.10.1. losetup - set up and control loop devices
12. Removable Storage
12.1. usb flash
12.2. CD / DVD
12.2.1. Mount an ISO file
12.2.2. create iso file from CD
12.2.3. burner
12.2.4. ISO Mirror
13. File System
13.1. /etc/fstab
13.1.1. /etc/fstab 例子
13.2. Mount partition
13.2.1. Mount
13.2.2. Umount
13.2.3. bind directory
13.3. ext2
13.4. ext3
13.5. ReiserFS
13.6. EXT4
13.6.1. install
13.6.2. format
13.6.3. label
13.6.4. mount/umount
13.6.5. LVM 卷
13.7. LVM
13.8. Btrfs
13.8.1. /etc/fstab
13.8.2. btrfs
13.8.3. Mount Btrfs
13.8.4. subvolumes
13.8.5. snapshot
13.8.6. btrfsctl
13.8.7. btrfs-vol
13.8.8. btrfs-convert
13.8.9. btrfsck
13.8.10. btrfs-debug-tree
13.9. zfs
13.10. iSCSI
13.10.1. GFS
13.11. GFS - Cluster Storage
13.12. glusterfs
13.13. RAM FS
13.14. tmpfs
13.15. ftp fs
13.16. SSHFS (sshfs - filesystem client based on SSH File Transfer Protocol)
13.17. davfs2 - mount a WebDAV resource as a regular file system
13.18. redisfs
13.19. File system test
13.19.1. ext4 vs btrfs
13.19.2. xfs vs jfs vs reiserfs
13.19.3. RAID10 (146G*8) vs EMC VNX 5300 (8G Fibre Channel)
13.19.4. Dell 2950(RAID5 500G SATA * 6) vs MD1200
13.20. 磁碟占用100%刪除檔案後不是放的解決方法
14. Networking
14.1. ping
14.2. ss - another utility to investigate sockets
14.3. hosts
14.3.1. /etc/hostname
14.3.2. hostnamectl - Control the system hostname
14.3.3. /etc/host.conf
14.3.4. /etc/hosts
14.3.5. hosts.allow / hosts.deny
14.3.6. /etc/resolv.conf
14.4. Hostname
14.5. Network adapter
14.5.1. 介面名稱
14.6. Ethernet Interfaces
14.6.1. ifquery
14.6.2. DHCP
14.6.3. Static IP
14.7. Mask
14.8. Gateway
14.9. Configuring Name Server Lookups
14.10. IP forwarding(IP轉發)
14.11. bonding
14.11.1. Ubuntu
14.12. Finding optimal MTU
14.13. wireless
14.13.1. rfkill - tool for enabling and disabling wireless devices
14.13.2. iwlist - Get more detailed wireless information from a wireless interface
14.13.3. iwconfig - configure a wireless network interface
14.13.4. /proc/net/wireless
14.14. Linux IP And Router
14.14.1. netmask
14.14.2. arp - manipulate the system ARP cache
14.14.3. iproute2
14.14.4. 策略路由
14.14.5. 負載均衡
14.14.6. MASQUERADE
14.14.7. ip tunnel
14.14.8. VLAN
14.14.9. Zebra
14.15. CentOS 網絡配置
14.15.1. Gateway
14.15.2. bonding
14.15.3. brctl
14.15.4. nmtui
15. Logging
15.1. rsyslog
15.1.1. rsyslog.conf
15.2. logrotate - rotates, compresses, and mails system logs
15.2.1. /etc/logrotate.conf
15.2.2. /etc/logrotate.d/
15.3. syslog-ng
15.4. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
15.4.1. /etc/sysconfig/syslog
15.4.2. /etc/syslog.conf
15.4.3. logger
15.4.4. To Log Messages Over UDP Network
16. 設備管理
16.1. Debian/Ubuntu
16.1.1. update-rc.d - install and remove System-V style init script links
16.1.2. invoke-rc.d - executes System-V style init script actions
16.1.3. runlevel
16.1.4. sysv-rc-conf
16.1.5. xinetd - replacement for inetd with many enhancements
16.1.6. Scheduled Tasks
16.1.7. sv - control and manage services monitored by runsv
16.2. Services
16.2.1. systemctl
16.2.2. service
16.2.3. xinetd.d
16.2.4. rpcinfo
16.2.5. SELINUX
17. Process
17.1. top - display Linux tasks
17.2. ps - report a snapshot of the current processes
17.2.1. ps axef
17.2.2. ps -eo pid,cmd
17.2.3. ps jax
17.2.4. zombie process
17.3. mpstat
17.4. pstree - display a tree of processes
17.5. pid
17.5.1. pgrep, pkill - look up or signal processes based on name and other attributes
17.5.2. pidof -- find the process ID of a running program.
17.6. jobs
17.6.1. &
17.6.2. Ctrl + Z
17.6.3. jobs
17.6.4. fg / bg
17.6.5. nohup - run a command immune to hangups, with output to a non-tty
17.7. ionice - get/set program io scheduling class and priority
17.8. /proc 目錄與進程的關係
17.8.1. /proc/*/fd/ 進程所打開的檔案
18. Permission
18.1. User
18.1.1. Add a new user
18.1.2. remove an existed user
18.1.3. usermod - modify a user account
18.1.4. lock / unlock
18.2. Group
18.2.1. Add a new group
18.2.2. Add a user to the group
18.2.3. /etc/group
18.3. umask
18.4. Access Permissions
18.4.1. chown - change file owner and group
18.4.2. chgrp - change group ownership
18.4.3. chmod - change file access permissions
18.5. chattr - change file attributes on a Linux second extended file system
18.6. su - run a shell with substitute user and group IDs
18.7. runuser - run a command with substitute user and group ID
18.8. sudo, sudoedit - execute a command as another user
18.8.1. /etc/sudoers
18.8.2. /etc/sudoers
18.8.3. 設置示例
18.8.4. NOPASSWD
18.8.5. 允許或禁止命令
18.8.6. Cmnd_Alias 用法
18.8.7. wheel 組
18.8.8. 注意事項
18.9. ACL - Access Control List
18.9.1. getfacl - get file access control lists
18.9.2. setfacl - set file access control lists
19. /etc
19.1. /etc/inputrc
19.2. /etc/shells
20. kickstart
20.1. install kickstart
20.2. ks.cfg
20.3. boot 參數
21. System Utilities 配置工具
21.1. CentOS 6
21.1.1. system-config-date
21.1.2. system-config-firewall
21.1.3. system-config-securitylevel
21.1.4. system-config-language
21.1.5. system-config-keyboard
21.1.6. system-config-network
21.1.7. ntsysv
21.1.8. lokkit
21.1.9. system-config-kdump
21.1.10. system-config-services
21.1.11. authconfig-tui
22. crontab
22.1. /etc/crontab
II. Shell
23. Bash Shell
23.1. bash - GNU Bourne-Again SHell
23.1.1. -n 檢查腳本是否有語法錯誤
23.1.2. -x 顯示詳細運行過程
23.2. Introduction
23.2.1. chsh - change login shell
23.2.2. 切換身份
23.2.3. test 命令
23.2.4. I/O 重定向
23.2.5. pipes (FIFOs)
23.2.6. mktemp - create a temporary file or directory 臨時目錄與檔案
23.2.7. History 命令歷史記錄
23.2.8. hash - hash database access method
23.2.9. prompt
23.3. variable
23.3.1. 系統變數
23.3.2. 表達式
23.3.3. Internal Environment Variables
23.3.4. set 設置變數
23.3.5. unset 變數銷毀
23.3.6. 設置變數預設值
23.3.7. export 設置全局變數
23.3.8. declare
23.3.9. Numerical 數值運算
23.3.10. Strings 字元串操作
23.3.11. Array 數組
23.3.12. read 賦值多個變數
23.3.13. eval
23.4. conditions if and case
23.4.1. if
23.4.2. case
23.5. Loops for, while and until
23.5.1. for
23.5.2. while
23.5.3. until
23.6. Functions
23.6.1. Local variables
23.7. User interfaces
23.7.1. input
23.8. subshell
23.9. Example
23.9.1. 有趣的Shell
23.9.2. backup
23.9.3. CPU 核心數
23.9.4. Password
23.9.5. processes
23.9.6. Shell 技巧
23.9.7. to convert utf-8 from gb2312 code
23.9.8. 使用內存的百分比
23.9.9. 合併apache被cronlog分割的log檔案
23.9.10. Linux 交集 差集 並集
24. Z Shell
24.1. installing Z shell
24.2. Oh My ZSH!
24.3. Starting file
24.3.1. ~/.zshrc
24.4. Prompting
24.5. Aliases
24.6. History
24.7. FAQ
24.7.1. Home/End key
25. Berkeley UNIX C shell (csh)
25.1.
26. KornShell
26.1.
27. Shell command
27.1. Help Commands
27.1.1. man - an interface to the on-line reference manuals
27.2. getconf - Query system configuration variables
27.3. Directory and File System Related
27.3.1. dirname
27.3.2. filename
27.3.3. test - check file types and compare values
27.3.4. file — determine file type
27.3.5. stat
27.3.6. mkdir - make directories
27.3.7. rename
27.3.8. touch
27.3.9. truncate
27.3.10. ls - list directory contents
27.3.11. cp - copy files and directories
27.3.12. rm - remove files or directories
27.3.13. df - report file system disk space usage
27.3.14. du - estimate file space usage
27.3.15. tac - concatenate and print files in reverse
27.3.16. split - split a file into pieces
27.3.17. find - search for files in a directory hierarchy
27.4. package / compress and decompress
27.4.1. tar — The GNU version of the tar archiving utility
27.4.2. cpio - copy files to and from archives
27.4.3. gzip
27.4.4. zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
27.4.5. RAR
27.4.6. 7-Zip
27.4.7.
27.5. date and time
27.5.1. 日期格式
27.5.2. -d --date=
27.5.3. 時間戳
27.5.4. RFC 2822
27.5.5. UTC
27.6. Numeric
27.6.1. 數值運算
27.6.2. seq - print a sequence of numbers
27.6.3. bc - An arbitrary precision calculator language
27.7. Text Processing
27.7.1. iconv - Convert encoding of given files from one encoding to another
27.7.2. 字元串處理命令expr
27.7.3. cat - concatenate files and print on the standard output
27.7.4. nl - number lines of files
27.7.5. od - dump files in octal and other formats
27.7.6. tr - translate or delete characters
27.7.7. cut - remove sections from each line of files
27.7.8. printf - format and print data
27.7.9. Free `recode' converts files between various character sets and surfaces.
27.7.10. /dev/urandom 隨機字元串
27.7.11. col - filter reverse line feeds from input
27.7.12. apg - generates several random passwords
27.7.13. head/tail
27.7.14. 反轉字元串或檔案內容
27.8. grep, egrep, fgrep, rgrep - print lines matching a pattern
27.8.1. 刪除空行
27.8.2. -v, --invert-match
27.8.3. Output control
27.8.4. Context control
27.8.5. Regexp selection and interpretation
27.8.6. fgrep
27.8.7. egrep
27.9. sort - sort lines of text files
27.9.1. 對列排序
27.9.2. -s, --stable stabilize sort by disabling last-resort comparison
27.10. uniq
27.11. 表格操作/行列轉換
27.11.1. column - columnate lists
27.11.2. paste - merge lines of files
27.11.3. join
27.12. standard input/output
27.12.1. xargs - build and execute command lines from standard input
27.13. flock - manage locks from shell scripts
27.14. Logging
27.14.1. logger - a shell command interface to the syslog(3) system log module
27.15. Password
27.15.1. Shadow password suite configuration.
27.15.2. newusers - update and create new users in batch
27.15.3. chpasswd - update passwords in batch mode
27.16. binutils
27.16.1. strings - print the strings of printable characters in files.
29. Utility Programs
29.1. ed, red - text editor
29.2. vim
29.2.1. 查找與替換
29.2.2. 插入檔案
29.2.3. 批處理
29.2.4. line()
29.2.5. set fileformat
29.3. awk
29.3.1. 處理列
29.3.2. printf
29.3.3. Pattern(字元匹配)
29.3.4. Built-in Variables (NR/NF)
29.3.5. Built-in Functions
29.3.6. 過濾相同的行
29.4. sed
29.4.1. 查找與替換
29.4.2. 編輯檔案
29.4.3. 內容打印
29.4.4. 編輯操作
29.4.5. 管道操作
29.5. CURL - transfer a URL
29.5.1. 基本用法
29.5.2. data
29.5.3. connect-timeout
29.5.4. max-time
29.5.5. compressed
29.5.6. vhosts
29.5.7. -w, --write-out <format> 輸出格式定義
29.5.8. -A/--user-agent <agent string>
29.5.9. referer
29.5.10. -v
29.5.11. -o, --output FILE Write output to <file> instead of stdout
29.5.12. -H/--header <line> Custom header to pass to server (H)
29.5.13. curl-config
29.5.14. RestFul 應用 JSON 數據處理
29.5.15. FAQ
29.6. expect
29.6.1. 模擬登錄 telnet 獲取Cisco配置
29.6.2. 模擬登錄 ssh
29.6.3. SCP
29.7. expect-lite - quick and easy command line automation tool
29.8. sshpass - noninteractive ssh password provider
29.9. Klish - Kommand Line Interface Shell (the fork of clish project)
29.9.1. 安裝Klish
29.9.2. 為用戶指定clish作為預設Shell
29.9.3. FAQ
29.10. Limited command Shell (lshell)
29.11. wget - retrieves files from the web
29.11.1. Logging and input file
29.11.2. HTTP options
29.11.3. Recursive download
29.11.4. --no-passive-ftp disable the "passive" transfer mode.
29.12. TUI
29.12.1. screen - screen manager with VT100/ANSI terminal emulation
29.12.2. tmux — terminal multiplexer
29.12.3. byobu - wrapper script for seeding a user's byobu configuration and launching a text based window manager (either screen or tmux)
29.12.4. htop - interactive process viewer
29.12.5. elinks
29.12.6. chat
29.13. parallel - build and execute shell command lines from standard input in parallel
30. Shell Terminal
30.1. terminal
30.1.1. resize - set TERMCAP and terminal settings to current xterm window size
30.1.2. tset, reset - terminal initialization
30.1.3. stty - change and print terminal line settings
30.2. tput
30.2.1. Change the prompt color using tput
30.3. dialog
30.3.1. --inputbox
30.4. whiptail - display dialog boxes from shell scripts
30.4.1. --msgbox
30.4.2. --infobox
30.4.3. --yesno
30.4.4. --inputbox
30.4.5. --passwordbox
30.4.6. --textbox
30.4.7. --checklist
30.4.8. --radiolist
30.4.9. --menu
30.4.10. --gauge
III. Network Application
31. network tools
31.1. curl / w3m / lynx
32. OpenNTPD
32.1. install
32.1.1. ntpd - Network Time Protocol (NTP) daemon
32.1.2. Ubuntu
32.1.3. ntpdate
32.2. ntpdate
32.2.1. CentOS 7
32.2.2. CentOS 6
32.3. ntpd.conf / ntp.conf
32.3.1. server 配置
32.3.2. ntp 安全設置
32.4. ntpstat - show network time synchronisation status
32.5. ntpq - standard NTP query program
33. DHCP
33.1. DHCP Server
33.2. dhclient
33.3. release matching connections
34. DNS/Bind
34.1. 安裝 bind9
34.2. forwarders
34.3. Load Balancing
34.4. view
34.5. Master / Slave
34.5.1. master /etc/named.conf
34.5.2. slave /etc/named.conf
34.5.3. FAQ
34.6. DNS tools
34.6.1. dig - DNS lookup utility
34.6.2. nslookup - query Internet name servers interactively
34.7. DNS
34.7.1. OpenDNS
34.7.2. Google DNS
34.8. NamedManager
35. dnsmasq
35.1. Install
35.1.1. CentOS / Redhat
35.1.2. Debian / Ubuntu
35.1.3. Firewall 設置
35.2. /etc/dnsmasq.conf
35.3. dnsmasq.resolv.conf
35.4. dnsmasq.hosts
35.5. /etc/dnsmasq.d/dnsmasq.server.conf
35.6. /etc/dnsmasq.d/dnsmasq.address.conf
35.6.1. 域名劫持
35.7. FAQ
36. rinetd — internet “redirection server”
36.1. rinetd install
36.1.1. ubuntu
36.1.2. centos
36.2. rinetd.conf
36.3. 防禦腳本
36.4. rinetd.log
37. News Group (innd)
37.1. Ubuntu
37.2. CentOS
37.3. User Authentication
37.4. usenet 管理
37.5. 通過SSL連接
37.6. src.rpm 安裝
37.7. 常用新聞組
38. IRC - Internet Relay Chat
38.1. IRC Protcol
38.2. IRC Commands
38.3. ircd-irc2 - The original IRCNet IRC server daemon
38.4. ircd-hybrid
38.5. IRC Client
38.5.1. ircII - interface to the Internet Relay Chat system
38.5.2. HydraIRC
38.5.3. XChat
38.5.4. Web IRC
38.5.5. Irssi - a modular IRC client for UNIX
38.5.6. F-IRC
39. jabber XMPP
39.1. ejabberd - Distributed, fault-tolerant Jabber/XMPP server written in Erlang
39.1.1. ejabberdctl
39.2. tigase
39.3. Openfire
39.4. DJabberd
39.5. freetalk - A console based Jabber client
39.6. library
39.6.1. python-xmpp
40. Proxy Server
40.1. Apache Proxy
40.2. Squid - Internet Object Cache (WWW proxy cache)
40.2.1. 源碼安裝
40.2.2. debian/ubuntu 安裝
40.2.3. 配置
40.2.4. Squid 管理
40.2.5. 禁止頁面被Cache
40.2.6. Squid 實用案例
40.2.7. squid+icap+clamav
40.3. Web page proxy
40.3.1. Surrogafier
40.3.2. CGIproxy
40.3.3. PHPProxy
40.3.4. BBlocked
40.3.5. Glype
40.3.6. Zelune
40.4. SOCKS
40.4.1. Socks5
40.4.2. dante-server - SOCKS (v4 and v5) proxy daemon(danted)
40.4.3. SSH Socks5 Tunnel
40.4.4. hpsockd - HP SOCKS server
41. Firewall
41.1. TCP/IP 相關內核配置項
41.1.1. net.ipv4.ip_forward
41.1.2. net.ipv4.icmp_echo_ignore_all
41.2. iptables - administration tools for packet filtering and NAT
41.2.1. Getting Started
41.2.2. 用戶自定義規則連
41.2.3. Protocols 協議
41.2.4. Interfaces 網絡適配器介面
41.2.5. 源IP地址
41.2.6. Ports 連接埠
41.2.7. NAT
41.2.8. Module(模組)
41.2.9. IPV6
41.2.10. iptables-xml - Convert iptables-save format to XML
41.2.11. access.log IP封鎖腳本
41.2.12. Example
41.3. ulogd - The Netfilter Userspace Logging Daemon
41.4. ufw - program for managing a netfilter firewall
41.4.1. /etc/default/ufw
41.4.2. ip_forward
41.4.3. DHCP
41.4.4. Samba
41.5. Firewalld
41.5.1. firewalld
41.5.2. 如果你不習慣使用firewalld想用回Iptables
41.6. Shorewall
41.6.1. Installation Instructions
41.6.2. Configuring Shorewall
41.7. Firewall GUI Tools
41.8. Endian Firewall
41.9. Smooth Firewall
41.10. Sphirewall
42. Stunnel - universal SSL tunnel
43. OpenSSH
43.1. 安裝 OpenSSH
43.2. /etc/ssh/
43.2.1. sshd_config
43.2.2. ssh_config
43.2.3. ~/.ssh/config
43.3. ssh client
43.3.1. -o option 參數詳解
43.4. OpenSSH Tunnel
43.4.1. SOCKS v5 Tunnel
43.5. ssh-keygen — authentication key generation, management and conversion
43.5.1. .ssh/known_hosts
43.6. ssh-keyscan
43.7. ssh-copy-id - install your public key in a remote machine's authorized_keys
43.8. ssh-agent
43.8.1. ssh-add
43.8.2. Lock / Unlock agent
43.8.3. Set lifetime (in seconds) when adding identities.
43.9. OpenSSH for Windows
43.9.1. Putty Client
43.10. Google Authenticator - Android Apps on Google Play
43.11. FAQ
43.11.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
43.11.2. 去掉 passphrase
43.11.3. 打印調試信息
44. VPN (Virtual Private Network)
44.1. OpenVPN (openvpn - Virtual Private Network daemon)
44.1.1. 源碼安裝
44.1.2. Openvpn Server
44.1.3. openvpn - secure IP tunnel daemon.
44.1.4. 吊銷(revoke)用戶證書
44.1.5. Openvpn Client
44.1.6. OpenVPN GUI for Windows
44.1.7. point-to-point VPNs
44.1.8. VPN 案例
44.1.9. OpenVPN安全
44.2. pptpd
44.2.1. Server 服務端
44.2.2. Client 客戶端
44.2.3. FAQ
44.3. l2tpd - dummy package for l2tpd to xl2tpd transition
44.4. strongswan - IPSec utilities for strongSwan
44.4.1. 安裝 strongswan VPN 伺服器
44.4.2. 防火牆配置
44.4.3. 配置 IPSEC
44.4.4. Windows 10 VPN 客戶端配置
44.4.5. FAQ
44.5. openswan - IPSEC utilities for Openswan
44.6. Ipsec VPN
44.6.1. ipsec-tools - IPsec tools for Linux
44.7. N2N VPN
44.8. Hypersocket VPN
45. Point to Point
45.1. download
45.1.1. rtorrent - ncurses BitTorrent client based on LibTorrent
45.1.2. mldonkey-server - Door to the 'donkey' network
45.1.3. amule - client for the eD2k and Kad networks, like eMule
IV. Web Application
46. Apache httpd
46.1. Install
46.1.1. Quick install apache with aptitude
46.1.2. CentOS 6
46.1.3. Compile and then install Apache
46.1.4. XAMPP
46.2. Module
46.2.1. Output a list of modules compiled into the server.
46.2.2. Core
46.2.3. mpm
46.2.4. Apache Log
46.2.5. mod_access
46.2.6. VirtualHost
46.2.7. Alias / AliasMatch
46.2.8. Redirect / RedirectMatch
46.2.9. Rewrite
46.2.10. Proxy
46.2.11. Deflate
46.2.12. Expires
46.2.13. Cache
46.2.14. usertrack
46.2.15. Charset
46.2.16. Dir
46.2.17. Includes
46.2.18. Apache Status
46.2.19. Mod Perl
46.2.20. mod_pagespeed -
46.2.21. Module FAQ
46.2.22. mod_setenvif
46.2.23. PHP 程序安全問題 php_admin_value
46.2.24. mod_spdy
46.3. 設置Apache實現防盜連
46.4. .htaccess
46.5. Error Prompt
46.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
46.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
47. Nginx
47.1. Installing
47.1.1. Installing by apt-get under the debain/ubuntu
47.1.2. CentOS
47.1.3. installing by source
47.1.4. -V show version and configure options then exit
47.1.5. config test
47.1.6. rotate log
47.1.7. CentOS 7
47.2. nginx 配置檔案
47.2.1. http 配置
47.2.2. events
47.2.3. gzip
47.2.4. server_tokens
47.2.5. ssi
47.2.6. server
47.2.7. HTTP2 配置 SSL證書
47.2.8. rewrite
47.2.9. upstream 負載均衡
47.2.10. fastcgi
47.2.11. return
47.2.12. Nginx 變數
47.3. Proxy
47.3.1. proxy_cache
47.3.2. rewrite + proxy_pass
47.3.3. request_filename + proxy_pass
47.3.4. $request_uri 與 proxy_pass 聯合使用
47.3.5. try_files 與 proxy_pass 共用
47.3.6. Proxy 與 SSI
47.3.7. Host
47.3.8. expires
47.3.9. X-Forwarded-For
47.3.10. X-Sendfile
47.3.11. proxy_http_version
47.3.12. proxy_set_header
47.3.13. timeout 超時時間
47.3.14. example
47.4. Nginx module
47.4.1. stub_status
47.4.2. sub_filter 頁面中查找和替換
47.4.3. auth_basic
47.4.4. valid_referers
47.4.5. ngx_http_flv_module
47.4.6. ngx_http_mp4_module
47.4.7. limit_zone
47.4.8. image_filter
47.5. Example
47.5.1. Nginx + Tomcat
47.5.2. 攔截index.html
47.5.3. Session 的 Cookie 域處理
47.6. FAQ
47.6.1. 405 Not Allowed?
47.6.2. 502 Bad Gateway?
47.6.3. 413 Request Entity Too Large
47.6.4. 502 Bad Gateway?
47.6.5. 499 Client Closed Request
47.6.6. proxy_pass
47.6.7. proxy_pass SESSION 丟失問題
47.6.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
47.6.9. server_name 與 SSI 注意事項
47.6.10. location 跨 document_root 引用,引用 document_root 之外的資源
47.6.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
48. Apache Tomcat
48.1. Tomcat 安裝與配置
48.1.1. Tomcat 6
48.1.2. Tomcat 7
48.1.3. Java 8 + Tomcat 8
48.1.4. 防火牆配置
48.1.5. 同時運行多實例
48.1.6. Testing file
48.1.7. mod_jk
48.1.8. mod_proxy_ajp
48.1.9. RewriteEngine 連接 Tomcat
48.2. 配置 Tomcat 伺服器
48.2.1. server.xml
48.2.2. tomcat-users.xml
48.2.3. context.xml
48.2.4. logging.properties
48.2.5. catalina.properties
48.3. 虛擬主機配置
48.3.1. 方案一
48.3.2. 方案二
48.3.3. Alias 別名
48.3.4. access_log
48.3.5. Context 配置
48.3.6. 主機綁定IP地址
48.4. SSI
48.5. Logging 日誌
48.5.1. 開啟 debug 模式
48.5.2. 切割 catalina.out 日誌
48.6. Init.d Script
48.6.1. Script 1
48.6.2. Shell Script 2
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. Web Server Optimization
52.1. ulimit
52.1.1. open files
52.2. khttpd
52.3. php.ini
52.3.1. Resource Limits
52.3.2. File Uploads
52.3.3. Session Shared
52.3.4. PATHINFO
52.4. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
52.5. Zend Optimizer
52.6. eaccelerator
53. varnish - a state-of-the-art, high-performance HTTP accelerator
53.1. Varnish Install
53.2. varnish utility
53.2.1. status
53.2.2. varnishadm
53.2.3. varnishtop
53.2.4. varnishhist
53.2.5. varnishsizes
53.3. log file
53.4. Varnish Configuration Language - VCL
53.4.1. unset / set
53.5. example
54. Apache Traffic Server
54.1. Install
54.2. Configure
55. Cherokee
55.1. Installing Cherokee
56. Jetty
57. Other Web Server
57.1. Python SimpleHTTPServer
58. web 伺服器排名
58.1. HTTP狀態碼
59. HTTP2
59.1. Chrome
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.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.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.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.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
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. Unison File Synchronizer
71.3.1. local
71.3.2. remote
71.3.3. config
71.4. csync2 - cluster synchronization tool
71.4.1. server
71.4.2. node
71.4.3. test
71.4.4. Advanced Configuration
71.4.5. 編譯安裝
71.5. 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.2. Parallel NFS(pNFS)
72.3. Samba
72.3.1. install
72.3.2. smb.conf
72.3.3. testparm - check an smb.conf configuration file for internal correctness
72.3.4. smbstatus - report on current Samba connections
72.3.5. smbpasswd - change a user's SMB password
72.3.6. nmblookup - NetBIOS over TCP/IP client used to lookup NetBIOS names
72.3.7. smbfs/smbmount/smbumount
72.3.8. smbclient - ftp-like client to access SMB/CIFS resources on servers
72.3.9. smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
72.3.10. by Example
72.3.11. 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. dump / restore
76.3. Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows.
76.3.1. Install Backup Server
76.3.2. Install Backup Client
76.4. Amanda: Open Source Backup
76.5. Attic - 擁有重複數據刪除技術的備份軟件
76.5.1. 安裝 Attic
76.5.2. 快速開始
76.6. SafeKeep
76.7. 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
94. NET SNMP (Simple Network Management Protocol)
94.1. 安裝SNMP
94.1.1. Ubuntu
94.1.2. CentOS
94.2. 配置SNMP
94.2.1. community 配置
94.2.2. 定義可操作的範圍
94.3. SNMP 命令
94.3.1. snmpwalk
94.3.2. snmpget
94.3.3. snmptest
94.4. Cisco MBI
94.4.1. Cisco 3750
94.4.2. Cisco ASA 5550
95. Zabbix
95.1. Installing and Configuring Zabbix
95.1.1. Ubuntu
95.1.2. CentOS Zabbix 2.4
95.1.3. Zabbix 3.x CentOS 7
95.2. web ui
95.2.1. 警告腳本
95.3. zabbix-java-gateway - Zabbix java gateway
95.4. zabbix-agent
95.4.1. Ubuntu
95.4.2. CentOS 7
95.4.3. zabbix_agentd 命令
95.4.4. Nginx status 監控
95.4.5. redis
95.4.6. MongoDB
95.4.7. PHP-FPM
95.4.8. Elasticsearch
95.4.9. Postfix
95.4.10. TCP stats
95.4.11. 應用依賴檢查
95.4.12. Oracle
96. Cacti
96.1. Install Cacti for Ubuntu
96.2. Yum 安裝
96.3. Source Install
96.4. Web 安裝
96.5. Cacti plugins
96.5.1. Percona monitoring plugins
96.6. Template
96.6.1. Nginx
96.6.2. php-fpm
96.6.3. MySQL
96.6.4. Redis
96.6.5. Percona JMX Monitoring Template for Cacti
97. Nagios
97.1. Install
97.1.1. Nagios core
97.1.2. Monitor Client nrpe
97.1.3. Monitoring Windows Machines
97.1.4. PNP4Nagios 圖表插件
97.2. nagios
97.3. nrpe node
97.4. 配置 Nagios
97.4.1. authorized
97.4.2. contacts
97.4.3. hostgroups
97.4.4. generic-service
97.4.5. SOUND OPTIONS
97.4.6. SMS 短信
97.4.7. nrpe plugins
97.5. 配置監控設備
97.5.1. routers
97.5.2. host
97.5.3. service
97.6. Nagios Plugins
97.6.1. check_ping
97.6.2. check_procs
97.6.3. check_users
97.6.4. check_http
97.6.5. check_mysql
97.6.6. Disk
97.6.7. check_tcp
97.6.8. check_log
97.6.9. check_traffic
97.6.10. Nagios nrpe plugins
97.6.11. check_nt
97.6.12. nsca - Nagios Service Check Acceptor
97.6.13. jmx
97.7. FAQ
97.7.1. Macro Name
97.7.2. 插件開發手冊
98. ElasticSearch + Logstash + Kibana
98.1. ElasticSearch + Logstash + Kibana 安裝
98.1.1. ElasticSearch 安裝
98.1.2. Kibana 安裝
98.1.3. Logstash 安裝
98.1.4. Beats 安裝
98.2. 配置 Broker(Redis)
98.2.1. indexer
98.2.2. shipper
98.3. logstash 配置項
98.3.1. input
98.3.2. filter
98.3.3. output
98.4. FAQ
98.4.1. 查看 Kibana 資料庫
98.4.2. logstash 無法寫入 elasticsearch
98.4.3. 標準輸出
99. Logs 分析
99.1. log
99.1.1. logwatch
99.1.2. logcheck : Analyzes log files and sends noticeable events as email
99.1.3. nulog
99.2. Web
99.2.1. Apache Log
99.2.2. awstats
99.2.3. webalizer
99.2.4. Sarg - Squid Analysis Report Generator
99.2.5. goaccess - Fast web log analyzer and interactive viewer.
99.3. Tomcat
99.3.1. 截取 0-3 點區間的日誌
99.3.2. 監控Redis
99.4. Mail
99.4.1. pflogsumm.pl - Produce Postfix MTA logfile summary
99.5. OpenSSH 日誌 /var/log/secure
99.5.1. 查看登陸用戶
99.6. rinetd.log
99.7. php-syslog-ng
99.8. Log Analyzer
99.9. Splunk
99.10. Octopussy
99.11. eventlog-to-syslog
99.12. Apache Flume
99.12.1. 安裝 Apache flume
99.12.2. 基本配置
99.12.3. 配置 MySQL 存儲日誌
99.12.4. 配置 HDFS 存儲日誌
100. MRTG
100.1. Ubuntu 安裝
100.2. CentOS 安裝
100.3. 監控多個設備
100.4. 批量生成監控配置檔案
100.5. 圖片尺寸
101. Munin
101.1. Ubuntu
101.1.1. Installation Monitor Server
101.1.2. Installation Node
101.1.3. Additional Plugins
101.1.4. plugins
101.2. CentOS
101.3. 用戶認證
101.4. munin-node and plugins
101.4.1. munin-node.conf
101.4.2. mysql plugin
101.4.3. apache plugin
101.4.4. memcached plugin
101.5. munin.conf
101.6. munin-node
101.6.1. munin-node.conf
102. Ntop
102.1. Installation
102.1.1. Ubuntu
102.1.2. CentOS
102.2. Web UI
102.3. Plugins
102.3.1. NetFlow
103. Bandwidth
103.1. apt-get install
103.2. CentOS rpm/yum
103.3. source code
103.4. /etc/bandwidthd.conf
104. NetFlow
104.1. flow-tools - collects and processes NetFlow data
104.1.1. flow-capture
104.1.2. NetFlow into MySQL with flow-tools
104.2. netams - Network Traffic Accounting and Monitoring Software
104.2.1. netams-web
105. Ganglia
105.1. Server
105.2. Client
105.3. Plugin
105.4. Installing Ganglia on Centos
106. lvs-rrd
107. Observium
107.1. Installation
108. OpenTSDB
109. Graphite
110. Graphite - Scalable Realtime Graphing
111. BIG BROTHER
112. Big Sister
113. OpenNMS
114. Performance Co-Pilot
115. Clumon Performance Monitor
116. Zenoss
117. 商業軟件
118. Hyperic HQ
119. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
120. HawtIO
121. moloch
122. varnish - a state-of-the-art, high-performance HTTP accelerator
122.1. Varnish Install
122.2. varnish utility
122.2.1. status
122.2.2. varnishadm
122.2.3. varnishtop
122.2.4. varnishhist
122.2.5. varnishsizes
122.3. log file
122.4. Varnish Configuration Language - VCL
122.4.1. unset / set
122.5. example
123. Apache Traffic Server
123.1. Install
123.2. Configure
VIII. Server Load Balancing
124. heartbeat
124.1. heartbeat+ldirectord
124.1.1. heartbeat
124.1.2. ldirectord
124.1.3. test
124.2. Pacemaker
125. Linux Virtual Server
125.1. 環境配置
125.2. VS/NAT
125.3. VS/TUN
125.4. VS/DR
125.4.1. 配置檔案
125.5. ipvsadm script
125.6. Timeout
125.7. debug
125.8. ipvsadm monitor
126. keepalived
126.1. 安裝
126.2. test
126.3. HAProxy and Keepalived (Virtual IP)
127. Piranha - Cluster administation tools
127.1. install
127.2. configure
127.3. real server
127.4. Example
127.4.1. Master
127.4.2. Slave
127.4.3. MySQL
128. HAProxy - fast and reliable load balancing reverse proxy
128.1. Installing
128.1.1. Ubuntu
128.1.2. CentOS
128.2. haproxy.cfg
128.2.1. stats
128.2.2. listen 方式
128.2.3. frontend/backend 方式
128.2.4. option
128.2.5. balance
128.2.6. server
128.3. Example 配置實例
128.3.1. HTTP 配置實例
128.3.2. Squid
128.3.3. haproxy + mysql 配置實例
128.3.4. HTTPS SSL證書卸載配置實例
128.3.5. 使用TCP模式實現SSL穿透
128.3.6. SMTP
129. balance - Load balancing solution and generic tcp proxy
129.1. balance
129.1.1. 編譯安裝
129.1.2. Ubuntu 安裝
129.1.3. 測試安裝是否正確
129.1.4. 用法
129.2. BalanceNG
129.3. RBridge
130. Perlbal
130.1. install
131. Pacemaker
132. Example
132.1. 雙負載均衡的用法
132.2. 單台負載均衡的用法
132.3. 廣域網負載均衡的用法
133. FAQ
133.1. Haproxy 與 Nginx
IX. Distributed Computing
134. Open Source Distributed Computing
134.1. Boinc (berkeley 分散式計算平台)
134.1.1. rc.local
134.2. ubuntu apt-get 安裝
134.3. CentOS 安裝
134.4. boinccmd
134.4.1. attach_project
134.4.2. nomorework | allowmorework 禁止下載任務 / 允許下載任務
135. Twitter Storm
135.1. 單機版
135.2. lein 安裝
136. High performance Computing
136.1. Distributed Computing
136.1.1. OpenMosix
136.1.2. OpenSSI
136.2. Parallel Computing
136.2.1. EnFusion
136.2.2. SCore
136.2.3. Beowulf
138. Spark
139. Tachyon
140. Apache ZooKeeper
140.1. 安裝配置
140.1.1. 單節點安裝
140.1.2. 多節點安裝
140.2. 管理 ZooKeeper
140.2.1. help
140.2.2. ls
140.2.3. create
140.2.4. get
140.2.5. set
140.2.6. delete
141. Hadoop
141.1. 單機安裝(CentOS 7 + Server JRE 1.8 + Hadoop-2.8.0)
141.1.1. 安裝 Java 環境
141.1.2. 安裝 Hadoop
141.1.3. 啟動 Hadoop
141.1.4. 啟動與停止 hadoop
141.2. 分散式模式
141.3. 單機安裝 CentOS 5 + hadoop-0.20.0
141.4. 分散式安裝(CentOS 6 + hadoop-1.1.2)
141.4.1. 準備工作
141.4.2. NameNode 配置名稱節點
141.4.3. DataNode 配置數據節點
141.4.4. Hadoop UI (WEB界面)
141.4.5. 測試Hadoop
141.5. Hadoop - HDFS
141.5.1. 創建目錄
141.5.2. 檔案列表
141.5.3. 顯示檔案
141.5.4. 上傳檔案
141.5.5. 下載檔案
141.5.6. 用戶權限
141.5.7. 訪問權限
141.6. Web UI - Browse Hadoop Services
141.6.1. Cluster and Apps Information (ResourceManager)
141.6.2. NodeManager Information
141.6.3. Hadoop Overview of NameNode service
141.6.4. Hadoop file system browsing (Directory Browse)
141.7. FAQ
141.7.1. hadoop-1.1.2-1.x86_64.rpm 包含哪些檔案內容
141.7.2. 啟動 Hadoop 後 9000 連接埠不存在
X. Security
142. Authentication
142.1. /etc/login.defs
142.2. PAM 插件認證
142.2.1. pam_tally2.so
142.2.2. pam_listfile.so
142.2.3. pam_access.so
142.2.4. pam_wheel.so
142.3. Network Authentication
142.3.1. Network Information Service (NIS)
142.3.2. OpenLDAP
142.3.3. Kerberos
142.3.4. FreeRADIUS (Remote Authentication Dial In User Service)
142.3.5. SASL (Simple Authentication and Security Layer)
142.3.6. GSSAPI (Generic Security Services Application Program Interface)
143. Sniffer
143.1. nmap - Network exploration tool and security / port scanner
143.1.1. 連接埠掃瞄
143.1.2. HOST DISCOVERY
143.1.3. SCAN TECHNIQUES
143.1.4. PORT SPECIFICATION AND SCAN ORDER
143.1.5. SCRIPT SCAN
143.1.6. OS DETECTION
143.1.7. OUTPUT
143.1.8. 排除指定的主機
143.1.9. 查看本地路由與介面
143.1.10. MISC
143.1.11. Nmap Scripting Engine (NSE)
143.2. tcpdump - A powerful tool for network monitoring and data acquisition
143.2.1. 監控網絡適配器介面
143.2.2. 監控主機
143.2.3. 監控TCP連接埠
143.2.4. 監控協議
143.2.5. 輸出到檔案
143.2.6. src / dst
143.2.7. 保存結果
143.2.8. Cisco Discovery Protocol (CDP)
143.2.9. Flags
143.2.10. 案例
143.3. cdpr - Cisco Discovery Protocol Reporter
143.4. ncat - Concatenate and redirect sockets
143.4.1. TCP 數據傳輸
143.4.2. UDP 數據傳輸
143.4.3. 始終保持伺服器開啟
143.4.4. 傳輸視頻流
143.5. ngrep - Network layer grep tool
143.5.1. 匹配關鍵字
143.5.2. 指定網絡介面
143.6. Unicornscan,Zenmap,nast
143.7. netstat-nat - Show the natted connections on a linux iptable firewall
143.8. Tcpreplay
143.9. Wireshark
144. sqlmap - automatic SQL injection and database takeover tool
144.1. Installation
144.2. 開始入住實驗
144.2.1. 測試腳本
144.2.2. sqlmap.ini
144.3. Request參數
144.3.1. --method, --data
144.3.2. --cookie
144.3.3. --referer
144.3.4. --user-agent
144.3.5. --headers
144.3.6. --referer
144.3.7. auth
144.3.8. --proxy
144.3.9. --threads
144.3.10. --delay
144.3.11. --timeout
144.4. Injection
144.4.1. --dbms
144.4.2. --prefix
144.4.3. --postfix
144.4.4. --string
144.4.5. --regexp
144.4.6. --excl-str
144.4.7. --excl-reg
144.5. Techniques
144.5.1. --stacked-test
144.5.2. --time-test
144.5.3. --union-test
144.5.4. --union-tech
144.5.5. --union-use
144.6. Enumeration
144.6.1. dbs
144.6.2. --count
144.6.3. --dump/--dump-all
144.6.4. --sql-query
144.6.5. --sql-shell
144.7. Miscellaneous
144.7.1. --update
144.7.2. --save
145. Vulnerability Scanner
145.1. Nessus
145.2. OpenVAS
146. Injection & Penetration
146.1. Backtrack Linux
147. SELinux
147.1. getsebool - get SELinux boolean value
147.2. sestatus - SELinux status tool
147.3. setsebool - set SELinux boolean value
147.4. chcon - change file SELinux security context
147.5. rsync
148. Suricata Engine
149. psad
150. fwknop
151. fwsnort
152. nftables
153. Haka
XI. Configuration Management(配置管理)
154. Ansible - SSH-based configuration management, deployment, and task execution system
154.1. install
154.2. Getting Started
154.3. ansible - run a command somewhere else
154.3.1. host-pattern
154.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
154.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
154.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
154.3.5. -s, --sudo run operations with sudo (nopasswd)
154.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
154.3.7. 使用實例
154.4. ansible-doc - Show Ansible module documentation
154.5. ansible-playbook - run an ansible playbook
154.5.1. 包含檔案用法
155. Capistrano
156. Puppet
156.1. Installing Puppet CentOS 6.3
156.2. Puppet 簽名
156.2.1. Agent 節點
156.2.2. Master 伺服器
156.3. test
156.3.1. Master
156.3.2. Agent
156.4. 配置檔案
156.4.1. /etc/sysconfig/puppet
156.4.2. /etc/puppet/fileserver.conf
156.5. manifests
156.5.1. node
156.5.2. group, user 用戶組管理
156.5.3. file
156.5.4. package
156.5.5. service
156.5.6. exec
156.5.7. cron
156.6. modules
156.7. firewall 配置
156.8. debug
156.8.1. master
156.8.2. node
156.9. FAQ
156.9.1. err: Could not request certificate: No route to host - connect(2)
156.9.2. No help available unless you have RDoc::usage installed
157. SaltStack
157.1. 安裝 Salt Stack
157.1.1. 服務端安裝
157.1.2. 客戶端安裝
157.1.3. 防火牆配置
157.1.4. key 管理
157.1.5. 測試
157.1.6. Demo
157.2. salt-key - Salt key is used to manage Salt authentication keys
157.3. salt 命令
157.3.1. cmd
157.3.2. pkg.install
157.3.3. network.interfaces
157.3.4. salt example
157.4. /etc/salt/master
157.4.1. File Server settings
157.4.2. Pillar settings
157.4.3. Node Groups
157.4.4. File Server Backend
157.5. sls 腳本
157.5.1. pkg
157.5.2. service
157.6. FAQ
157.6.1. Git fileserver backend is enabled in configuration but could not be loaded, is git-python installed
158. Chef
158.1. 安裝 Chef
158.1.1. CentOS
159. Cobbler
160. Cfengine
161. func
162. (R)?ex Deployment & Configuration Management
163. 基于Web的系統管理軟件
163.1. Webmin
163.1.1. webalizer
163.2. ajenti
XII. Virtualization
164. Docker
164.1. Installation
164.1.1. CentOS 6
164.1.2. CentOS 7 docker-ce
164.1.3. Ubuntu
164.1.4. Ubuntu docker-ce
164.2. 鏡像
164.2.1. 搜索鏡像
164.2.2. 獲取鏡像
164.2.3. 列出本地鏡像
164.2.4. 保存和載入鏡像
164.2.5. 刪除本地鏡像
164.2.6. 基于 Dockerfile 創建鏡像
164.3. 容器
164.3.1. 啟動與終止容器
164.3.2. 進入容器
164.3.3. 導出和導入容器
164.3.4. 刪除容器
164.4. 倉庫
164.4.1. 登陸倉庫
164.4.2. 獲取鏡像
164.4.3. 上傳鏡像
164.5. 卷管理
164.5.1. 列出卷
164.5.2. 創建卷
164.5.3. 掛在鏡像
164.5.4. 檢查卷
164.5.5. 刪除卷
164.5.6. 銷毀所有未使用的卷
164.5.7. 在多個容器間共享卷
164.5.8. 容器綁定本地檔案系統
164.6. 操作系統
164.6.1. /etc/hosts 配置
164.6.2. sysctl
164.6.3. ulimits
164.7. docker 命令
164.7.1. run
164.7.2. start / stop / restart
164.7.3. ps
164.7.4. top
164.7.5. inspect
164.7.6. images
164.7.7. logs
164.7.8. history
164.8. Docker Example
164.8.1. Example Java - Spring boot with Docker
164.8.2. Redis
164.8.3. Nginx
165. Kernel-based Virtual Machine(KVM)
165.1. kvm install usage yum
165.1.1. brctl / tunctl
165.1.2. virt-install
165.2. Ubuntu
165.3. CentOS 6.2
165.4. Scientific Linux Virtualization
165.5. libvirt
165.5.1. virsh
165.5.2. Virtual Machine Manager
165.6. FAQ
165.6.1. No hypervisor options were found for this connection
165.6.2. 如何判斷當前伺服器是實體機還是虛擬機
166. Xen
166.1. install
166.2. Manager
167. OpenVZ
167.1. 安裝OpenVZ
167.2. 使用OpenVZ & 建立VPS
167.2.1. 安裝操作系統模板
167.2.2. 創建OpenVZ操作系統節點(VPS)
167.3. 設置VPS參數
168. 虛擬機界面
168.1. OpenStack
168.2. CloudStack
168.3. OpenNode
168.4. OpenNEbula
169. vagrant - Tool for building and distributing virtualized development environments
169.1. vagrant for windows
XIII. Multimedia
170. Audio
170.1. ardour
170.2. LMMS
170.3. Qsynth
170.4. Rosegarden
170.5. TerminatorX
170.6. Pulseaudio
170.7. Synthesizer
170.7.1. ZynAddSubFX
170.8. Drums
170.8.1. Hydrogen
171. Video
171.1. OpenShot
171.2. cinelerra-cv
171.3. FFmpeg
172. Graphics
172.1. ImageMagick
172.1.1. install
172.1.2. convert
172.2. GraphicsMagick
172.2.1. 安裝
172.2.2. mogrify
172.3. Photivo
172.4. How to add metadata to digital pictures from the command line
173. Music score
173.1. LilyPond
173.1.1. Example
173.2. MuseScore
174. Stream
174.1. broadcast streaming
174.1.1. gnump3d - A streaming server for MP3 and OGG files
174.1.2. icecast2 - Ogg Vorbis and MP3 streaming media server
174.1.3. shoutcast
174.1.4. PeerCast
174.2. WebRTC
175. 其他命令
XIV. Voice over IP
176. Gnu Gatekeeper
176.1. Gnu Gatekeeper Install
176.2. Gnu Gatekeeper Configure
176.3. Gnu Gatekeeper Test
176.3.1. Part I - Microsoft Windows NetMeeting
176.3.2. Part II - ohphone
177. OpenSIPS
177.1. 安裝 OpenSIPS
177.1.1. centos 6.5 預設安裝
177.1.2. 使用 yum.opensips.org 源安裝
177.1.3. 編譯安裝
177.2. 資料庫部署
177.2.1. DBTEXT
177.2.2. MySQL
177.2.3. PGSQL
177.2.4. Berkeley DB
177.3. 測試 opensips
178. PBX
178.1. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
178.2. FreeSWITCH
178.3. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)
179. VOCAL (includes a SIP to H.323 translator)
180. SIP/H.323 客戶端
180.1. linphone
180.2. Yate Client
XV. 項目管理工具
181. TRAC
181.1. Ubuntu 安裝
181.1.1. source code
181.1.2. easy_install
181.1.3. Apache httpd
181.2. CentOS 安裝
181.2.1. trac.ini
181.2.2. standalone
181.2.3. Using Authentication
181.2.4. trac-admin
181.3. Project Environment
181.3.1. Sqlite
181.3.2. MySQL
181.3.3. Plugin
181.4. trac.ini
181.4.1. repository
181.4.2. attachment 附件配置
181.5. trac-admin
181.5.1. adduser script
181.6. FAQ
181.6.1. TracError: Cannot load Python bindings for MySQL
181.7. Apache Bloodhound
182. GitLab
182.1. 安裝 GitLab
182.2. GitLab Runner
182.3. 用戶管理
182.4. 組管理
182.5. 項目管理
182.6. FAQ
182.6.1. gitolite 向 gitlab 遷移
182.6.2. 修改主機名
183. Redmine
183.1. CentOS 安裝
183.2. Redmine 運行
183.3. 插件
183.3.1. workflow
184. TUTOS
185. Open Source Requirements Management Tool
186. Git - Fast Version Control System
186.1. Repositories 倉庫管理
186.1.1. initial setup
186.1.2. checkout
186.1.3. Creating and Commiting
186.1.4. Manager remote
186.1.5. Status
186.1.6. Diff
186.1.6.1. --name-only 僅顯示檔案名
186.1.7. Cloning
186.1.8. Push
186.1.9. Pull
186.1.10. fetch
186.1.11. Creating a Patch
186.1.12. reset
186.2. Manipulating branches
186.2.1. list branches
186.2.2. create branches
186.2.3. delete branches
186.2.4. switch branch
186.2.5. git-show-branch - Show branches and their commits
186.3. Sharing Repositories with others
186.3.1. Setting up a git server
186.4. command
186.4.1. git-add - Add file contents to the index
186.4.2. git-status - Show the working tree status
186.4.3. git-commit - Record changes to the repository
186.4.4. git-show - Show various types of objects
186.4.5. git-checkout - Checkout and switch to a branch
186.4.5.1. checkout master
186.4.5.2. checkout branch
186.4.6. git config
186.4.7. git log
186.5. git-daemon 伺服器
186.5.1. git-daemon - A really simple server for git repositories
186.5.2. git-daemon-sysvinit
186.5.3. inet.conf / xinetd 方式啟動
186.5.4. git-daemon-run
186.5.5. Testing
186.6. git-svn - Bidirectional operation between a single Subversion branch and git
186.7. .gitignore
186.8. .gitattributes
186.8.1. SVN Keywords
186.9. gitolite - SSH-based gatekeeper for git repositories
186.9.1. gitolite-admin
186.9.1.1. gitolite.conf
186.10. Web Tools
186.10.1. viewgit
186.11. FAQ
186.11.1. 導出最後一次修改過的檔案
186.11.2. 導出指定版本區間修改過的檔案
186.11.3. fatal: The remote end hung up unexpectedly
186.11.4. 回撤提交
187. Subversion
187.1. Invoking the Server
187.1.1. Installing
187.1.1.1. Ubuntu
187.1.1.2. CentOS 5
187.1.1.3. CentOS 6
187.1.2. standalone “daemon” process
187.1.2.1. starting subversion for debian/ubuntu
187.1.2.2. starting subversion daemon script for CentOS/Radhat
187.1.3. classic Unix-like inetd daemon
187.1.4. hooks
187.1.4.1. post-commit
187.1.5. WebDav
187.1.5.1. davfs2 - mount a WebDAV resource as a regular file system
187.2. repository 管理
187.2.1. create repository
187.2.2. user admin
187.2.3. authz
187.2.4. dump
187.3. 使用Subversion
187.3.1. Initialized empty subversion repository for project
187.3.2. ignore
187.3.3. 關鍵字替換
187.3.4. lock 加鎖/ unlock 解鎖
187.3.5. import
187.3.6. export 指定版本
187.3.7. 修訂版本關鍵字
187.3.8. 恢復舊版本
187.4. branch
187.4.1. create
187.4.2. remove
187.4.3. switch
187.4.4. merge
187.4.5. relocate
187.5. FAQ
187.5.1. 遞歸添加檔案
187.5.2. 清除項目裡的所有.svn目錄
187.5.3. color diff
187.5.4. cvs2svn
187.5.5. Macromedia Dreamweaver MX 2004 + WebDAV +Subversion
187.5.6. 指定用戶名與密碼
188. cvs - Concurrent Versions System
188.1. installation
188.1.1. chroot
188.2. cvs login | logout
188.3. cvs import
188.4. cvs checkout
188.5. cvs update
188.6. cvs add
188.7. cvs status
188.8. cvs commit
188.9. cvs remove
188.10. cvs log
188.11. cvs annotate
188.12. cvs diff
188.13. rename file
188.14. revision
188.15. cvs export
188.16. cvs release
188.17. branch
188.17.1. milestone
188.17.2. patch branch
188.18. keywords
189. 其他命令
190. IBM WebSphere
190.1. WebSphere Commerce Engerprise 7.0
190.2. UpdateInstaller (AppServer, Plugins, IBMIHS)
190.2.1. WAS
190.2.2. Plugins
190.2.3. IHS
190.2.4. backup
190.3. UpdateInstaller (CommerceServer70)
190.4. WebSphere Commerce Engerprise 7.0 Feature Pack 2.iso
190.5. creating a WebSphere Commerce instance
190.6. enableFeature
190.6.1. foundation
190.6.2. management-center
190.6.3. store-enhancements
190.6.4. checkEnablementStatus
190.6.5. check version
190.7. Start IBMIHS and AppServer
190.7.1. IBMIHS
190.7.2. AppServer
190.7.3. Starting and stopping the WebSphere Commerce Information Center
190.7.4. 管理入口
190.8. Initialization store
XVI. X Window
191. install x window
191.1. xinput - utility to configure and test X input devices
192. X Setup
192.1. 取消開機啟動畫面
192.2. Automatic login
192.3. fonts 字型
192.4. disable x window
193. X Terminal
193.1. tsclient - Terminal Server Client supporting XDMCP, VNC and RDP
193.1.1. VNC
193.1.2. xdmcp
193.2. vinagre - a remote desktop viewer for the GNOME Desktop
193.3. rdesktop - A Remote Desktop Protocol client
193.3.1. -g: desktop geometry (WxH)
193.3.2. -f: full-screen mode
193.3.3. -A: enable SeamlessRDP mode
193.3.4. -z: enable rdp compression
193.3.5. -r: enable specified device redirection (this flag can be repeated)
193.4. tigervnc
193.5. TightVNC
194. Unity
194.1. Enable/Disable Auto Hide For Unity 2-D Launcher In Ubuntu 11.10
195. X Window System
195.1. Fluxbox
195.2. LXDE
195.3. Xfce
195.4. Xming X Server for Windows
196. X Application Software
196.1. ubuntu-restricted-extras
196.2. Keyboard Input Methods(輸入法)
196.3. 瀏覽器
196.3.1. Firefox
196.3.2. Chromium Web Browser
196.4. Download Software
196.5. PAC Manager
196.6. LibreOffice
196.7. VYM (View Your Mind)
196.8. greenshot
196.9. Window Switch
196.10. gparted
197. Office
197.1. Calc
197.1.1. 函數
198. FAQ
198.1. 通過SSH與控制台不能登錄
1. 附錄
1.1. 貢獻用戶列表
1.2. 參考文檔
1.3. Red Hat 漏洞
1.4. National Vulnerability Database (NVD)
1.5. Red Hat Bug平台
1.6. Redhat Doc
1.7. System reduce
2. 歷史記錄

表格清單

1.1. Linux server partition
1.2. Linux desktop partition
23.1. 檔案目錄表達式
23.2. 字元串表達式
23.3. 組合表達式
41.1. net.ipv4.ip_forward
75.1. Volume Group Management
8. 表格標題

範例清單

11.1. 增加交換分區
11.2. GPT Example
11.3. 創建擴展分區
14.1. bonding example
14.2. 命令行建立WiFi連結步驟
23.1. A "Power User" Prompt
23.2. A Prompt the Width of Your Term
23.3. The Elegant Useless Clock Prompt
23.4. Basic conditional example if .. then
23.5. Conditionals with variables
23.6. case
23.7. Functions with parameters sample
23.8. Using select to make simple menus
23.9. Using the command line
23.10. Reading user input with read
23.11. read
23.12. random password
27.1. backup(find + tar)
29.1. example for expect
29.2. example for expect
29.3. example 1
29.4. *.exp
29.5. parallel - build and execute shell command lines from standard input in parallel
30.1. whiptail - yesno
30.2. whiptail - inputbox
30.3. whiptail - passwordbox
30.4. whiptail - passwordbox
30.5. whiptail - example 1
30.6. whiptail - radiolist
41.1. /etc/sysconfig/iptables
41.2. connlimit 實例
41.3. CentOS 5.6
44.1. openvpn.conf
44.2. server.conf
44.3. Openvpn 橋接模式伺服器配置實例
44.4. 雙網卡配置實例
44.5. client.conf
44.6. server.ovpn
44.7. client.ovpn
44.8. office.conf
44.9. home.ovpn
46.1. index.php
46.2. autolamp.sh
46.3. R=301
46.4. mod_perl.conf
47.1. Expires Examples
47.2. nginx expires
47.3. Example: valid_referers
47.4. Nginx + Tomcat
48.1. /etc/profile.d/java.sh
48.2. /etc/init.d/tomcat
48.3. Example /srv/apache-tomcat/conf
48.4. tomcat firewall
48.5. /etc/rc.d/init.d/www
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
53.1. default.vcl
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
88.1. nmon
95.1. zabbix-agent 配置實例
96.1. cacti config.php
97.1.
99.1. config.php
100.1. mrtg
122.1. default.vcl
126.1. keepalived.conf
126.2. /etc/keepalived/keepalived.conf
127.1. piranha master
127.2. piranha slave
128.1. haproxy + mysql 配置實例
128.2. Haproxy MySQL (Master + Master)
142.1. /etc/pam.d/sshd - pam_tally2.so
142.2. /etc/pam.d/sshd - pam_listfile.so
156.1. puppetd
156.2. puppetca
157.1. salt command
165.1. virsh
187.1. authz