目标
一:教你实战
![img_e6f8907c9c2e6b5f736fc97c1f4536fe.png](https://yqfile.alicdn.com/img_e6f8907c9c2e6b5f736fc97c1f4536fe.png?x-oss-process=image/resize,w_1400/format,webp)
![img_2ae1ad6fc4280b18e0e7769ebaac384c.png](https://yqfile.alicdn.com/img_2ae1ad6fc4280b18e0e7769ebaac384c.png?x-oss-process=image/resize,w_1400/format,webp)
二:了解中间件架构
![img_fe332ab4857b4a8b6e609efa9e498a23.png](https://yqfile.alicdn.com/img_fe332ab4857b4a8b6e609efa9e498a23.png?x-oss-process=image/resize,w_1400/format,webp)
image.png
![img_44245214ca89700f9260598f5ddd19e8.png](https://yqfile.alicdn.com/img_44245214ca89700f9260598f5ddd19e8.png?x-oss-process=image/resize,w_1400/format,webp)
-
Nginx 性能优化
三:贯彻技术原理
![img_e1173260b2c9eb3f684c3d8c70dcda62.png](https://yqfile.alicdn.com/img_e1173260b2c9eb3f684c3d8c70dcda62.png?x-oss-process=image/resize,w_1400/format,webp)
四:理论结合实践
安排
![img_c29f2a7111a493f5b174fd22006c71bd.png](https://yqfile.alicdn.com/img_c29f2a7111a493f5b174fd22006c71bd.png?x-oss-process=image/resize,w_1400/format,webp)
基础篇
![img_5e577557a4aa6f6fdccddb353926461c.png](https://yqfile.alicdn.com/img_5e577557a4aa6f6fdccddb353926461c.png?x-oss-process=image/resize,w_1400/format,webp)
场景实践篇
![img_f1b4568a0dd688d12868dc6115d278a0.png](https://yqfile.alicdn.com/img_f1b4568a0dd688d12868dc6115d278a0.png?x-oss-process=image/resize,w_1400/format,webp)
深度学习篇
![img_f313759178268ee1aae1ca69b8102a89.png](https://yqfile.alicdn.com/img_f313759178268ee1aae1ca69b8102a89.png?x-oss-process=image/resize,w_1400/format,webp)
架构篇
![img_2a352a1a911d38b7d637bb6d40ae8395.png](https://yqfile.alicdn.com/img_2a352a1a911d38b7d637bb6d40ae8395.png?x-oss-process=image/resize,w_1400/format,webp)
学习环境
![img_6b6b5cb76a7a274e2c385009c580264a.png](https://yqfile.alicdn.com/img_6b6b5cb76a7a274e2c385009c580264a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_864d87a17748d6b9fa20d0a498eb32fc.png](https://yqfile.alicdn.com/img_864d87a17748d6b9fa20d0a498eb32fc.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f9b075a33cbacb32e87a3bf678b552ff.png](https://yqfile.alicdn.com/img_f9b075a33cbacb32e87a3bf678b552ff.png?x-oss-process=image/resize,w_1400/format,webp)
![img_9a63b6b034b70a5e546e2c6c7e536d04.png](https://yqfile.alicdn.com/img_9a63b6b034b70a5e546e2c6c7e536d04.png?x-oss-process=image/resize,w_1400/format,webp)
安装
![img_1a5e74c698e801999738819a045c5cc7.png](https://yqfile.alicdn.com/img_1a5e74c698e801999738819a045c5cc7.png?x-oss-process=image/resize,w_1400/format,webp)
一次初始化
![img_41f1fc0c8539cf20cefdc99d6ce04d20.png](https://yqfile.alicdn.com/img_41f1fc0c8539cf20cefdc99d6ce04d20.png?x-oss-process=image/resize,w_1400/format,webp)
验证 yum 源可用
![img_238828d4479b3bee317ce47135eaed8a.png](https://yqfile.alicdn.com/img_238828d4479b3bee317ce47135eaed8a.png?x-oss-process=image/resize,w_1400/format,webp)
确保关闭防火墙规则
![img_5e34ed0812bdeb1fd6f156911b149850.png](https://yqfile.alicdn.com/img_5e34ed0812bdeb1fd6f156911b149850.png?x-oss-process=image/resize,w_1400/format,webp)
确保关闭 SELinux
![img_809e0516bdcbed248459111b6199fdf5.png](https://yqfile.alicdn.com/img_809e0516bdcbed248459111b6199fdf5.png?x-oss-process=image/resize,w_1400/format,webp)
yum -y install gcc gcc-c++ autoconf pcre pcre-devel makeautomake 安装所需依赖
![img_4d06c71ab33cb601bdd321dfeeb16cd6.png](https://yqfile.alicdn.com/img_4d06c71ab33cb601bdd321dfeeb16cd6.png?x-oss-process=image/resize,w_1400/format,webp)
yum -y install wget httpd-tools vim 安装依赖包
![img_f8d3f6baeda65391866b80b8a72ce1ab.png](https://yqfile.alicdn.com/img_f8d3f6baeda65391866b80b8a72ce1ab.png?x-oss-process=image/resize,w_1400/format,webp)
初始化相关目录
基础篇
![img_ba6a8628e2da1be39e3c7e0d8cb69176.png](https://yqfile.alicdn.com/img_ba6a8628e2da1be39e3c7e0d8cb69176.png?x-oss-process=image/resize,w_1400/format,webp)
![img_4bfca7fef71185ac9aabb56cb00f5998.png](https://yqfile.alicdn.com/img_4bfca7fef71185ac9aabb56cb00f5998.png?x-oss-process=image/resize,w_1400/format,webp)
![img_18b3387b2916d5c936ae18a1a652913a.png](https://yqfile.alicdn.com/img_18b3387b2916d5c936ae18a1a652913a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_afe24e15a517806d32c62bd4510537da.png](https://yqfile.alicdn.com/img_afe24e15a517806d32c62bd4510537da.png?x-oss-process=image/resize,w_1400/format,webp)
image.png
![img_a6c902d560816faa75523ee321c10651.png](https://yqfile.alicdn.com/img_a6c902d560816faa75523ee321c10651.png?x-oss-process=image/resize,w_1400/format,webp)
![img_16558b1f294e4a08737343246a6acedb.png](https://yqfile.alicdn.com/img_16558b1f294e4a08737343246a6acedb.png?x-oss-process=image/resize,w_1400/format,webp)
![img_1703587c838397aa1d57ec8e623fdbd7.png](https://yqfile.alicdn.com/img_1703587c838397aa1d57ec8e623fdbd7.png?x-oss-process=image/resize,w_1400/format,webp)
![img_e4c6c1bac54411de0c4af2ddb6dfa6f9.png](https://yqfile.alicdn.com/img_e4c6c1bac54411de0c4af2ddb6dfa6f9.png?x-oss-process=image/resize,w_1400/format,webp)
![img_67d6d119f3134125e5aa7b89ce033be2.png](https://yqfile.alicdn.com/img_67d6d119f3134125e5aa7b89ce033be2.png?x-oss-process=image/resize,w_1400/format,webp)
![img_d87dfb20448d52b3205bb2cdd8d95a08.png](https://yqfile.alicdn.com/img_d87dfb20448d52b3205bb2cdd8d95a08.png?x-oss-process=image/resize,w_1400/format,webp)
![img_6c0fb5e3becb052c3ee8ecc5d73f8cb2.png](https://yqfile.alicdn.com/img_6c0fb5e3becb052c3ee8ecc5d73f8cb2.png?x-oss-process=image/resize,w_1400/format,webp)
![img_b6a726954fa22128e3c5fe98cc905f15.png](https://yqfile.alicdn.com/img_b6a726954fa22128e3c5fe98cc905f15.png?x-oss-process=image/resize,w_1400/format,webp)
![img_159672da7b6e347c091c6a881135e521.png](https://yqfile.alicdn.com/img_159672da7b6e347c091c6a881135e521.png?x-oss-process=image/resize,w_1400/format,webp)
![img_77f95ba0580437fefccc9516d521c70e.png](https://yqfile.alicdn.com/img_77f95ba0580437fefccc9516d521c70e.png?x-oss-process=image/resize,w_1400/format,webp)
![img_eaa8c93f1f1ab94731b9c8cc5269a762.png](https://yqfile.alicdn.com/img_eaa8c93f1f1ab94731b9c8cc5269a762.png?x-oss-process=image/resize,w_1400/format,webp)
![img_27b6101738db264379c97e534e069cfe.png](https://yqfile.alicdn.com/img_27b6101738db264379c97e534e069cfe.png?x-oss-process=image/resize,w_1400/format,webp)
![img_bb6b2e7f433771021636d25f0cafe950.png](https://yqfile.alicdn.com/img_bb6b2e7f433771021636d25f0cafe950.png?x-oss-process=image/resize,w_1400/format,webp)
![img_296c54481ed7e2b3c9ae21f43f2129d6.png](https://yqfile.alicdn.com/img_296c54481ed7e2b3c9ae21f43f2129d6.png?x-oss-process=image/resize,w_1400/format,webp)
使用官方 yum 源配置
![img_23147d8208b052fd85d186cb3a8dd3df.png](https://yqfile.alicdn.com/img_23147d8208b052fd85d186cb3a8dd3df.png?x-oss-process=image/resize,w_1400/format,webp)
![img_3ac71483490c5ea244187f6c74f401ff.png](https://yqfile.alicdn.com/img_3ac71483490c5ea244187f6c74f401ff.png?x-oss-process=image/resize,w_1400/format,webp)
![img_4de801dc148298ab3357ef578d05dc9d.png](https://yqfile.alicdn.com/img_4de801dc148298ab3357ef578d05dc9d.png?x-oss-process=image/resize,w_1400/format,webp)
![img_2f05084dd662f17e091841689534a570.png](https://yqfile.alicdn.com/img_2f05084dd662f17e091841689534a570.png?x-oss-process=image/resize,w_1400/format,webp)
![img_91a6acb1dfb75982765888125b4dffed.png](https://yqfile.alicdn.com/img_91a6acb1dfb75982765888125b4dffed.png?x-oss-process=image/resize,w_1400/format,webp)
![img_a1e33049fe815cae617978253eb344f4.png](https://yqfile.alicdn.com/img_a1e33049fe815cae617978253eb344f4.png?x-oss-process=image/resize,w_1400/format,webp)
rpm -ql nginx
![img_b26d4619b343d7ed203ec624fc88ad6c.png](https://yqfile.alicdn.com/img_b26d4619b343d7ed203ec624fc88ad6c.png?x-oss-process=image/resize,w_1400/format,webp)
![img_22a6dc35018196a983c20ca201aa094d.png](https://yqfile.alicdn.com/img_22a6dc35018196a983c20ca201aa094d.png?x-oss-process=image/resize,w_1400/format,webp)
![img_518098314e46880898d74ceb5c50bf9b.png](https://yqfile.alicdn.com/img_518098314e46880898d74ceb5c50bf9b.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f3e76078f424adeedd30fba359ff78b2.png](https://yqfile.alicdn.com/img_f3e76078f424adeedd30fba359ff78b2.png?x-oss-process=image/resize,w_1400/format,webp)
![img_2f22f174c3f371808746389f502f1329.png](https://yqfile.alicdn.com/img_2f22f174c3f371808746389f502f1329.png?x-oss-process=image/resize,w_1400/format,webp)
![img_6cc669b96d6671f80561c68159014629.png](https://yqfile.alicdn.com/img_6cc669b96d6671f80561c68159014629.png?x-oss-process=image/resize,w_1400/format,webp)
![img_269dd89bbf5bb2542be53d9c2539cc16.png](https://yqfile.alicdn.com/img_269dd89bbf5bb2542be53d9c2539cc16.png?x-oss-process=image/resize,w_1400/format,webp)
![img_e51b45a9aabcfee27248fbe3e66ec3bf.png](https://yqfile.alicdn.com/img_e51b45a9aabcfee27248fbe3e66ec3bf.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f78f666249b958cfb87970fca5851529.png](https://yqfile.alicdn.com/img_f78f666249b958cfb87970fca5851529.png?x-oss-process=image/resize,w_1400/format,webp)
![img_eda4411cf4c3e4d46a8de12b9258dc60.png](https://yqfile.alicdn.com/img_eda4411cf4c3e4d46a8de12b9258dc60.png?x-oss-process=image/resize,w_1400/format,webp)
![img_1b2e4a870a4ac39277d090f31c335a4a.png](https://yqfile.alicdn.com/img_1b2e4a870a4ac39277d090f31c335a4a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_c8d19e6c4f4bf3d61b6c77d30a8aaf09.png](https://yqfile.alicdn.com/img_c8d19e6c4f4bf3d61b6c77d30a8aaf09.png?x-oss-process=image/resize,w_1400/format,webp)
![img_0d2cdfd7c20898de3498c357af54a157.png](https://yqfile.alicdn.com/img_0d2cdfd7c20898de3498c357af54a157.png?x-oss-process=image/resize,w_1400/format,webp)
![img_0dde91ad285ebb4e271c6a20de5165ed.png](https://yqfile.alicdn.com/img_0dde91ad285ebb4e271c6a20de5165ed.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f909c2aa8f3381964c69cb103f6a02b6.png](https://yqfile.alicdn.com/img_f909c2aa8f3381964c69cb103f6a02b6.png?x-oss-process=image/resize,w_1400/format,webp)
![img_32767bcf1a3befba069f1fe4cae929a1.png](https://yqfile.alicdn.com/img_32767bcf1a3befba069f1fe4cae929a1.png?x-oss-process=image/resize,w_1400/format,webp)
![img_bcf7b87c9c0c7e2ed89e3b30adcabcfe.png](https://yqfile.alicdn.com/img_bcf7b87c9c0c7e2ed89e3b30adcabcfe.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f38fba5a807ce66fc9c121c25b6bd6f6.png](https://yqfile.alicdn.com/img_f38fba5a807ce66fc9c121c25b6bd6f6.png?x-oss-process=image/resize,w_1400/format,webp)
![img_cdb1983b9d87eb158e3aa3a2554f8d9b.png](https://yqfile.alicdn.com/img_cdb1983b9d87eb158e3aa3a2554f8d9b.png?x-oss-process=image/resize,w_1400/format,webp)
执行 curl 命令
![img_63449ab5bca13c758dc885daeb4e5e26.png](https://yqfile.alicdn.com/img_63449ab5bca13c758dc885daeb4e5e26.png?x-oss-process=image/resize,w_1400/format,webp)
![img_076fefc30f79d5b1901c46e78609b693.png](https://yqfile.alicdn.com/img_076fefc30f79d5b1901c46e78609b693.png?x-oss-process=image/resize,w_1400/format,webp)
![img_15a9fb734ed5dd5f488f7dc62a6fbfef.png](https://yqfile.alicdn.com/img_15a9fb734ed5dd5f488f7dc62a6fbfef.png?x-oss-process=image/resize,w_1400/format,webp)
![img_9741cae695e03d249c2029acf85183f9.png](https://yqfile.alicdn.com/img_9741cae695e03d249c2029acf85183f9.png?x-oss-process=image/resize,w_1400/format,webp)
![img_1a8fe5432ef270f66bf45969f5ceaec0.png](https://yqfile.alicdn.com/img_1a8fe5432ef270f66bf45969f5ceaec0.png?x-oss-process=image/resize,w_1400/format,webp)
![img_62ebf02667e3d4290aba9071da7b0a7c.png](https://yqfile.alicdn.com/img_62ebf02667e3d4290aba9071da7b0a7c.png?x-oss-process=image/resize,w_1400/format,webp)
![img_0e905ecab549523c4d4c8a43213e6e9a.png](https://yqfile.alicdn.com/img_0e905ecab549523c4d4c8a43213e6e9a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_896c8bc803987e674e0a858e1d18f93a.png](https://yqfile.alicdn.com/img_896c8bc803987e674e0a858e1d18f93a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f8d6fd7fe05d8e3519c5cf2d2194294e.png](https://yqfile.alicdn.com/img_f8d6fd7fe05d8e3519c5cf2d2194294e.png?x-oss-process=image/resize,w_1400/format,webp)
重启服务
![img_c814c39f843c01ca08fd3e13e2991ffb.png](https://yqfile.alicdn.com/img_c814c39f843c01ca08fd3e13e2991ffb.png?x-oss-process=image/resize,w_1400/format,webp)
![img_8fd9180fd0117db5f3bc02b7c8ebf891.png](https://yqfile.alicdn.com/img_8fd9180fd0117db5f3bc02b7c8ebf891.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f698be82ec08c5bcce432d70df6a8576.png](https://yqfile.alicdn.com/img_f698be82ec08c5bcce432d70df6a8576.png?x-oss-process=image/resize,w_1400/format,webp)
![img_246d564f78dabb2793ea7f386a05d3fb.png](https://yqfile.alicdn.com/img_246d564f78dabb2793ea7f386a05d3fb.png?x-oss-process=image/resize,w_1400/format,webp)
提前备份
![img_9fb04926ca741dfa4ac2b588fe7d074f.png](https://yqfile.alicdn.com/img_9fb04926ca741dfa4ac2b588fe7d074f.png?x-oss-process=image/resize,w_1400/format,webp)
![img_81c31ae1b0408e1dee7c1269feddf622.png](https://yqfile.alicdn.com/img_81c31ae1b0408e1dee7c1269feddf622.png?x-oss-process=image/resize,w_1400/format,webp)
![img_85f9b2ef4b5ed2265b126fa1b0425bd3.png](https://yqfile.alicdn.com/img_85f9b2ef4b5ed2265b126fa1b0425bd3.png?x-oss-process=image/resize,w_1400/format,webp)
![img_a81c7d633901a865fe84638fd960d3fc.png](https://yqfile.alicdn.com/img_a81c7d633901a865fe84638fd960d3fc.png?x-oss-process=image/resize,w_1400/format,webp)
![img_b5e9075e3cd12269d7fc3c42502af680.png](https://yqfile.alicdn.com/img_b5e9075e3cd12269d7fc3c42502af680.png?x-oss-process=image/resize,w_1400/format,webp)
![img_170ad64a364752e508a76105acd902c5.png](https://yqfile.alicdn.com/img_170ad64a364752e508a76105acd902c5.png?x-oss-process=image/resize,w_1400/format,webp)
进阶学习
静态资源 Web 服务
![img_d9ad03907cb305611e29a7b7712a6dd5.png](https://yqfile.alicdn.com/img_d9ad03907cb305611e29a7b7712a6dd5.png?x-oss-process=image/resize,w_1400/format,webp)
![img_8b6299e8cc714345ee2a2fabbd1b8678.png](https://yqfile.alicdn.com/img_8b6299e8cc714345ee2a2fabbd1b8678.png?x-oss-process=image/resize,w_1400/format,webp)
![img_5c60749c23e9afd4c04775e9ac33b29a.png](https://yqfile.alicdn.com/img_5c60749c23e9afd4c04775e9ac33b29a.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f615e9bcef018780fa050a2969a3fd1e.png](https://yqfile.alicdn.com/img_f615e9bcef018780fa050a2969a3fd1e.png?x-oss-process=image/resize,w_1400/format,webp)
![img_77a3612f7933fbbf9fbf0a956958f50f.png](https://yqfile.alicdn.com/img_77a3612f7933fbbf9fbf0a956958f50f.png?x-oss-process=image/resize,w_1400/format,webp)
![img_c9224ea9125e6fe328ffb283d0972d6f.png](https://yqfile.alicdn.com/img_c9224ea9125e6fe328ffb283d0972d6f.png?x-oss-process=image/resize,w_1400/format,webp)
![img_3dcca01a00436dd9fbb0fccb10cfc8e7.png](https://yqfile.alicdn.com/img_3dcca01a00436dd9fbb0fccb10cfc8e7.png?x-oss-process=image/resize,w_1400/format,webp)
![img_6634ac17e9968a4c792be286b2d90bb0.png](https://yqfile.alicdn.com/img_6634ac17e9968a4c792be286b2d90bb0.png?x-oss-process=image/resize,w_1400/format,webp)
![img_54a085d112d7150fc1c89ab5923229ce.png](https://yqfile.alicdn.com/img_54a085d112d7150fc1c89ab5923229ce.png?x-oss-process=image/resize,w_1400/format,webp)
![img_5ab2d3f5526aea0da5efa6cd9d0e9939.png](https://yqfile.alicdn.com/img_5ab2d3f5526aea0da5efa6cd9d0e9939.png?x-oss-process=image/resize,w_1400/format,webp)
代理服务
负载均衡调度器 SLB
动态缓存
9 Nginx的访问控制
![img_2e9b306e60bd9512699b0f9fe00a9ecd.png](https://yqfile.alicdn.com/img_2e9b306e60bd9512699b0f9fe00a9ecd.png?x-oss-process=image/resize,w_1400/format,webp)
9.1 access_module 配置语法介绍
![img_107741d123d7b8de12df235ee7c5cf63.png](https://yqfile.alicdn.com/img_107741d123d7b8de12df235ee7c5cf63.png?x-oss-process=image/resize,w_1400/format,webp)