![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
lglspace
纸上得来终觉浅,绝知此事要躬行!
展开
-
centos7安装nginx
环境准备 yum install -y lrzsz wget vim unzip net-tools gcc openssl openssl-devel pcre pcre-devel zlib zlib-devel 注:有些组件不是必需的,是为方便操作的 下载及安装 groupadd nginx useradd -s /sbin/nologin -M -g nginx nginx mkdir ...原创 2019-09-06 12:34:16 · 125 阅读 · 0 评论 -
centos7中Nginx+Keepalived高可用集群配置
IP配置说明 主机:192.168.12.106 备用机:192.168.12.107 VIP: 192.168.12.100 1、安装keepalived+nginx yum -y install keepalived nginx安装可参考:https://blog.csdn.net/lglspace/article/details/100577118 2、配制文件 主机 /etc/keepa...转载 2019-09-06 15:55:41 · 325 阅读 · 0 评论