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

  发布时间:2025-11-05 09:11:36   作者:玩站小弟   我要评论
复制#添加运行用户 shell>useradd-s/sbin/nologin-Mwww #安装依赖 shell>yum-y 。
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.
  • Tag:

相关文章

最新评论