Fix
This commit is contained in:
12
install.sh
Normal file → Executable file
12
install.sh
Normal file → Executable file
@@ -55,13 +55,13 @@ else
|
||||
fi
|
||||
|
||||
if [ "{$DIST}" == "Fedora" ]; then
|
||||
dnf install gcc gcc-c++ autoconf automake -y
|
||||
dnf install gcc gcc-c++ autoconf automake make -y
|
||||
elif [ "{$DIST}" == "Ubuntu" ] || [ "${DIST}" == "Debian" ]; then
|
||||
apt-get install gcc g++ autoconf automake -y
|
||||
apt-get install gcc g++ autoconf automake make -y
|
||||
elif [ "{$DIST}" == "CentOS" ]; then
|
||||
yum install gcc gcc-c++ autoconf automake -y
|
||||
yum install gcc gcc-c++ autoconf automake make -y
|
||||
elif [ "${DistroBasedOn}" == "suse" ]; then
|
||||
zypper install gcc gcc-c++ autoconf automake -y
|
||||
zypper install -y gcc gcc-c++ autoconf automake make -y
|
||||
fi
|
||||
|
||||
cd pcre-8.40
|
||||
@@ -79,6 +79,10 @@ cd openssl-1.0.2f
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
cd ngx_pagespeed-latest-beta
|
||||
wget https://dl.google.com/dl/page-speed/psol/1.12.34.2-x64.tar.gz
|
||||
tar -xzvf 1.12.34.2-x64.tar.gz
|
||||
cd ..
|
||||
|
||||
./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-pcre=pcre-8.40 --with-zlib=zlib-1.2.11 --with-http_ssl_module --with-stream --with-mail=dynamic --with-ipv6 --with-http_v2_module --with-http_realip_module --with-http_dav_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_slice_module --with-http_stub_status_module --with-http_addition_module --add-module=naxsi-0.55.3 --add-module=ngx-fancyindex --add-dynamic-module=headers-more-nginx-module-0.32 --add-module=ngx_pagespeed-latest-beta
|
||||
make
|
||||
|
||||
Reference in New Issue
Block a user