摘要: 架构图 环境 | hostname | WanIP | LanIP | use | | | | | | | lb01 | 10.0.0.5 | 172.16.1.5 | 负载均衡器 | | web01 | - | 172.16.1.7 | web服务器 | | web02 | - | 172.16. 阅读全文
posted @ 2020-07-17 21:29 Gshelldon 阅读(219) 评论(0) 推荐(0) 编辑
摘要: https实践 常用端口 ssh 22 telnet 23 ftp 21 rsync 873 http 80 mysql 3306 redis 6379 https 443 dns 53 php 9000 tomcat 8080 https介绍 什么是https? http是超文本传输协议。 阅读全文
posted @ 2020-07-17 21:23 Gshelldon 阅读(485) 评论(0) 推荐(0) 编辑
摘要: nginx 动静分离 不需要运维来做,开发做的。 动态请求:该请求会调用数据库中的数据。 静态请求:用户请求不会调用数据库。 动态页面:后端开发写的需要调用数据库的页面(python、java、C、php) 静态页面:前端开发写的不需要调用数据库。 单台服务器动静分离 多台服务器动静分离 环境准备 阅读全文
posted @ 2020-07-17 21:01 Gshelldon 阅读(144) 评论(0) 推荐(0) 编辑
摘要: nginx的四层转发功能 架构图 配置过程 配置web服务器 # 1、配置web01,更改配置文件 [root@web01 /etc/nginx/conf.d]# vi test1.conf server { listen 8007; server_name test.gong.com; root /website/test 阅读全文
posted @ 2020-07-17 20:52 Gshelldon 阅读(10100) 评论(0) 推荐(0) 编辑
摘要: myphpadmin项目理解cookie和session 当我们平时上网的时候,在刷新之后或者退出浏览器再次打开浏览器不需要登陆网页了,这就是利用了cookie和session; 环境配置 hostname wanIP lanIP 角色 web01 10.0.0.7 172.16.1.7 网站服务器 阅读全文
posted @ 2020-07-17 20:41 Gshelldon 阅读(329) 评论(0) 推荐(0) 编辑