安装 nginx与keepalived
首先安装 openssl、perl pcre 、 zlib 库和模块 openssl 库 wget https: // www.openssl.org/source/openssl-1.1.1-pre8.tar.gz tar -zxvf openssl- 1.1 . 1 -pre8. tar .gz cd openssl - 1.1 . 1 - pre8 . /config && make && make install 然后再设置一下软连接 ln -sf /usr/local/lib64/libssl.so. 1.1 /lib64/libssl.so. 1.1 ln -sf /usr/local/lib64/libcrypto.so. 1.1 /lib64/libcrypto.so. 1.1 perl pcre 模块 wget https: // ftp.pcre.org/pub/pcre/pcre-8.42.tar.gz tar -zxvf pcre- 8.42 . tar .gz cd pcre - 8.42 . /configure && make && make install zlib 库 wget http: // www.zlib.net/fossils/zlib-1.2.11.tar.gz tar -zxvf zlib- 1.2 . 11 . tar .gz cd