老男孩 Linux云计算运维 就业班正在火热招生,坐席有限,【立即抢占报名名额】
内容简介:
无
作者简介:
李泳谊 Linux运维学科总监,江湖人称:悠久之翼,李导。 老男孩教育Linux学科总监讲师,多年Linux一线实战经验及Linux教学经验,曾就职于大型互联网公司维护数百台服务器全年0宕机率,擅长以图形表达讲解抽象概念,善于用简单易懂的例子讲解重点难点,严肃不失幽默,著有《跟老男孩学Linux三剑客》一书,多次获得优秀员工称号,学员满意度多次满分。
书籍目录:
第1章 企业集群架构概述......................................................1
1.1 架构基础知识概述.............................................................................1
1.2 架构如何演变->三星级酒店,已知.................................................1
1.3 架构如何演变->服务器架构,未知.................................................3
1.4 架构访问流程->用户视角.................................................................4
1.5 架构访问流程->运维视角.................................................................4
1.6 架构如何演变->服务器架构扩展.....................................................4
1.7 架构环境规划.............................................................4
1.8 集群架构系统基础环境准备.............................................................5
第2章 Rsync 备份服务实战...........................................................................6
2.1 Rsync 基本概述...........................................................6
2.2 Rsync 应用场景...........................................................7
2.3 Rsync 传输模式...........................................................9
2.4 Rsync 服务实践.........................................................11
2.5 Rsync 备份案例.........................................................13
第3章 NFS 网络文件系统实战 ...................................................................18
3.1 NFS 基本概述 ...........................................................18
3.2 NFS 应用场景 ...........................................................18
3.3 NFS 实现原理 ...........................................................19
3.4 NFS 服务安装 ...........................................................20
3.5 NFS 挂载卸载 ...........................................................21
3.6 NFS 配置详解 ...........................................................22
3.7 NFS 存储小结 ...........................................................24
3.8 NFS 案例实践 ...........................................................25
第4章 Sersync 实时同步实战......................................................................29
4.1 实时同步概述...........................................................29
4.2 实时同步实践...........................................................29
第5章 SSH 远程管理服务实战 ...................................................................34
5.1 SSH 基本概述 ...........................................................34
5.2 SSH 相关命令 ...........................................................40
5.3 SSH 连接方式 ...........................................................41
5.4 SSH 秘钥实践 ...........................................................43
5.5 SSH 安全防护 ...........................................................45
第6章 Ansible 自动化配置入门..................................................................46
6.1 自动化运维的含义...........................................................................46
6.2 Ansible 基础及安装 .........................................................................47
6.3 Ansible inventory.......................................................48
6.4 Ansible Ad-Hoc..........................................................49
第7章 Ansible 自动化配置进阶..................................................................54
7.1 Playbook 剧本初识 ...........................................................................54
7.1.1 1.什么是 playbook,..........................................................................54
7.2 Playbook 变量使用 ...........................................................................55
7.3 Playbook 变量注册 ...........................................................................57
7.4 Playbook 条件语句 ...........................................................................58
7.5 Playbook 循环语句 ...........................................................................58
7.6 Playbook 异常处理 ...........................................................................60
7.7 Playbook tags 标签............................................................................61
7.8 Playbook Handlers.............................................................................63
7.9 Playbook Include .......................................................64
7.10 10.Playbook 项目实践 ....................................................................65
第8章 Ansible 自动化配置实战..................................................................74
8.1 Ansible Roles 角色 ............................................................................74
8.2 Ansible Roles 实战 ............................................................................74
8.3 ——- ..........................................................................76
第9章 Nginx 基础 Http 原理 .......................................................................79
9.1 Http 协议概述 ...........................................................79
9.2 Http 工作原理 ...........................................................81
9.3 Http 请求响应 ...........................................................81
9.4 Http 访问流程 ...........................................................83
第10章 Nginx We b 快速入门 ......................................................................85
10.1 Nginx 基本简述.......................................................85
10.2 Nginx 快速安装.......................................................86
10.3 Nginx 默认配置.......................................................88
10.4 Nginx 网站配置.......................................................89
10.5 Nginx 虚拟主机.......................................................90
10.6 Nginx 日志管理.......................................................94
第11章 Nginx 常用基础模块.......................................................................97
11.1 Nginx 目录索引.......................................................97
11.2 Nginx 状态监控.......................................................97
11.3 Nginx 访问控制.......................................................98
11.4 Nginx 访问限制.............................................................................100
11.5 Nginx Location ......................................................102
第12章 Nginx 搭建流行架构.....................................................................105
12.1 LNMP 架构概述 ...........................................................................105
12.2 LNMP 架构环境部署 ...................................................................106
12.3 LNMP 架构环境配置 ...................................................................107
12.4 部署博客产品 Wordpress ............................................................110
12.5 部署知乎产品 Wecenter...............................................................118
12.6 拆分数据库至至独立服务器.......................................................124
12.7 扩展多台相同的 Web 服务器 .....................................................126
12.8 拆分静态资源至独立服务器.......................................................128
第13章 Nginx 反向代理服务.....................................................................132
13.1 Nginx 代理服务基本概述.............................................................132
13.2 Nginx 代理服务常见模式.............................................................133
13.3 Nginx 代理服务支持协议.............................................................134
13.4 Nginx 反向代理配置语法.............................................................135
13.5 Nginx 反向代理场景实践.............................................................137
第14章 Nginx 反向代理服务.....................................................................139
14.1 Nginx 代理服务基本概述.............................................................139
14.2 Nginx 代理服务常见模式.............................................................140
14.3 Nginx 代理服务支持协议.............................................................141
14.4 Nginx 反向代理配置语法.............................................................142
14.5 Nginx 反向代理场景实践.............................................................144
第15章 Nginx 代理缓存服务.....................................................................146
15.1 缓存常见类型.......................................................146
15.2 缓存配置语法.......................................................148
15.3 缓存配置实践.......................................................149
15.4 缓存如何清理.......................................................151
15.5 指定页面不缓存...........................................................................154
15.6 缓存日志记录.......................................................155
第16章 Nginx 七层负载均衡.....................................................................156
16.1 Nginx 负载均衡基本概述.............................................................156
16.2 Nginx 负载均衡配置场景.............................................................158
16.3 Nginx 负载均衡调度算法.............................................................161
16.4 Nginx 负载均衡后端状态.............................................................162
第17章 Nginx 动静分离实战.....................................................................164
17.1 Nginx 动静分离基本概述.............................................................164
17.2 Nginx 动静分离场景实践.............................................................164
17.3 Nginx 资源分离场景实践.............................................................169
第18章 Nginx Rewrite 重写.......................................................................174
18.1 Rewrite 基本概述..........................................................................174
18.2 Rewrite 标记 Flag..........................................................................174
18.3 Rewrite 规则实践..........................................................................177
18.4 Rewrite 规则补充..........................................................................180
第19章 Nginx HTTPS 实践 ......................................................................182
19.1 HTTPS 安全证书基本概述 ..........................................................182
19.2 Nginx 单台实现 HTTPS 实战 ......................................................182
19.3 Nginx 集群实现 HTTPS 实践 ......................................................185
第20章 Nginx 高可用架构.........................................................................188
20.1 Keepalived 高可用概述 ................................................................188
20.2 Keepalived 高可用安装 ................................................................188
20.3 Keepalived 高可用配置 ................................................................191
20.4 keepalived 高可用裂脑 .................................................................193
第21章 Nginx 性能优化.............................................................................195
21.1 性能优化概述.......................................................195
21.2 系统性能优化.......................................................197
21.3 静态资源优化.......................................................197
21.3.1 3.1.CPU 亲和.........................................................198
21.3.2 3.2 文件读取 ..........................................................199
21.3.3 3.3 文件压缩 ..........................................................199
21.3.4 3.4.静态缓存 ..........................................................205
21.3.5 3.5.跨域访问 ..........................................................206
21.3.6 3.6.防止盗链 ..........................................................210
21.3.7 3.7.通用配置 ..........................................................211
21.4 4.php-fpm 优化......................................................212
第22章 Nginx 常见问题.............................................................................217
22.1 Nginx 多 Server 优先级................................................................217
22.2 Nginx 禁止 IP 直接访问...............................................................219
22.3 Nginx 包含文件 Include................................................................219
22.4 Nginx 路径 root 与 alias................................................................219
22.5 Nginx try_file 路径匹配................................................................220
22.6 Nginx 调整上传文件大小.............................................................221
22.7 Nginx 优雅显示错误页面.............................................................222
22.8 Nginx 架构总结.............................................................................222
第23章 Zabbix 监控快速入门 ...................................................................224
23.1 监控知识基本概述.......................................................................224
23.2 单机时代如何监控.......................................................................224
23.3 zabbix 监控快速安装....................................................................226
23.4 Zabbix 监控基础架构 ...................................................................233
23.5 zabbix 快速监控主机....................................................................234
23.6 zabbix 自定义监控初试................................................................236
第24章 Zabbix 自定义监控项 ...................................................................238
24.1 zabbix 自定义监控深入................................................................238
24.2 zabbix 自定义配置阈值................................................................239
24.3 zabbix 自定义告警方式................................................................243
24.4 Zabbix 自定义告警升级 ...............................................................250
24.5 zabbix 自定义监控图形................................................................251
24.6 Zabbix 自定义监控模板 ...............................................................254
第25章 Zabbix 应用服务监控 ...................................................................255
25.1 Zabbix 监控 Nginx ........................................................................255
25.2 Zabbix 监控 PHP...........................................................................258
25.3 Zabbix 监控 MySQL.....................................................................262
25.4 Zabbix 监控 Redis.........................................................................264
25.5 Zabbix 监控 JVM ..........................................................................269
第26章 ZabbixWEB 网站监控 ..................................................................275
26.1 We b 场景监测概述 .......................................................................275
26.1.1 1.Web 网站中什么是动态网站,什么是静态网站..............................................275
26.1.2 2.当用户访问 Web 网站时,session 和 cookie 是如何进行工作的.........................................275
26.1.3 3.使用 curl 模拟用户访问网站 ......................................................275
26.2 We b 场景监测实战 .......................................................................275
26.2.1 1.使用 curl 命令模拟登陆 za bbix.................................................275
26.2.2 2.使用 curl 命令获取 za bbix 队列信息.........................................276
26.2.3 3.Web 场景监控步骤与监控流程..................................................276
第27章 Zabbix 自动化监控 .......................................................................277
27.1 Zabbix 自动发现(被动).................................................................277
27.2 Zabbix 自动注册(主动).................................................................279
27.3 Zabbix 主被模式区别 ...................................................................281
第28章 Zabbix 分布式监控 .......................................................................284
28.1 ZabbixProxy 分布式概述..............................................................284
28.2 ZabbixPorxy 分布式实践..............................................................285
28.3 Zabbix API 批量添加主机............................................................290
28.4 Zabbix 监控性能优化 ...................................................................293
书籍前言:
无