反向代理和负载均衡的区别fastcgi动态程序交互接口如phpurl_hash (web 缓存节点,图片服务器),ip_hash(会话保持)一致性 HASH 缓存问题max_conns 最大连接数(可以压力测试用上)……继续阅读 » 1年前 (2021-03-06) 169浏览 0评论0个赞
vi proxy.conf 新配置文件……继续阅读 » 1年前 (2021-03-06) 161浏览 0评论0个赞
(1) 修改hostname10.7 hostname lb01 -> logout rz -y 上传已经下好的pcre 和 nginxwget https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.gz ( perl 兼容的正则表达式,伪静态,url…)wget nginx-1.6.2……继续阅读 » 1年前 (2021-03-06) 178浏览 0评论0个赞
netstat -lntup默认情况下,它监听的端口是80 ,ip是本机的所有ip……继续阅读 » 1年前 (2021-03-05) 177浏览 0评论0个赞
1,nginx 服务器内核参数生产配置优化2,当请求到web 服务器 报错了,此时nginx 代理先不给前端,会向下找再请求新的web 服务器 。nginx 反向代理根据状态码优雅跳转服务器访问参数3 , nginx 反向代理健康检查……继续阅读 » 1年前 (2021-03-04) 151浏览 0评论0个赞
一、环境准备[root@Server ~]# cat /etc/centos-releaseCentOS Linux release 7.6.1810 (Core) [root@Server ~]# uname -r3.10.0-957.10.1.el7.x86_64关闭防火墙systemctl stop firewalld.service关闭防火墙开机……继续阅读 » 1年前 (2021-02-25) 163浏览 0评论0个赞
centos7.6快速搭建lamp环境调试过程最小化安装系统后先更新[root@Server ~]# yum update -y[root@Server ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@Server ~]# uname -r3.10.0-95……继续阅读 » 1年前 (2021-02-23) 190浏览 0评论0个赞
一、环境准备[root@Server ~]# cat /etc/centos-releaseCentOS Linux release 7.6.1810 (Core) [root@Server ~]# uname -r3.10.0-957.10.1.el7.x86_64关闭防火墙systemctl stop firewalld.service关闭防火墙开机……继续阅读 » 1年前 (2021-02-15) 182浏览 0评论0个赞
rpm -qa nginx 查询有没有安装nginx……继续阅读 » 1年前 (2021-02-13) 156浏览 0评论0个赞
Apache是一个基金会的名字,httpd才是我们需要安装的软件包apr和apr-util是一个通用的函数库,它让httpd可以不关联底层操作系统平台,可以很方便的移植,如果不安装这两个,httpd就无法工作。步骤1、下载httpd、apr和apr-utilwget http://mirrors.cnnic.cn/apache/httpd……继续阅读 » 1年前 (2021-02-11) 168浏览 0评论0个赞