Nginx+Keepalived实现Web服务器高可用

Nginx+Keepalived实现Web服务器高可用
服务复制#添加运行用户  shell > useradd -s/sbin/nologin -M www  #安装依赖  shell > yum -y install pcre-devel zlib-devel openssl-devel  #编译安装  shell > cd /root/soft  shell > tar xvf nginx-1.14.2.tar.gz  shell > cd nginx-1.14.2  shell > ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module && make && make install 1.2.3.4.5.6.7.8.9.
滇ICP备2023000592号-31