写了个nginx编译安装脚本 版本:nginx-1.19.2 #!/bin/bash # 安装依赖关系包 yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel gcc gcc-c++ autoconf automak ...
分类:
其他好文 时间:
2020-08-26 19:03:54
阅读次数:
73
#!/bin/bash#Date:2017-05-05ByAllen_Jol#---------YUmInstallrelatedcomponents------sleep3yuminstall-yyum-yinstallmakegccgcc-c++cmakeopensslopenssl-develzlibzlib-develmkdir-p/usr/local/nginxmkdir/lnmpsoftwarecd/lnmpsoftware#-----------------DownloadNginx------..
分类:
其他好文 时间:
2017-07-13 19:05:48
阅读次数:
150
#!/bin/bash
DIR=$(cd"$(dirname"$0")"&&pwd)
SRCDIR=/usr/local/src
nginxVersion="1.10.1"
nginxUser=nginx
nginxGroup=nginx
if[$(id-u)-ne0];then
echo"Pleaserunasroot"
exit1
fi
DISTRO=""
Distributions="CentOSUbuntuAmazonRed"
foriin$Distributions
do
cat/e..
分类:
其他好文 时间:
2016-09-02 01:05:05
阅读次数:
169
#!/bin/bash
DIR=$(cd"$(dirname"$0")"&&pwd)
SRCDIR=/usr/local/src
nginxVersion="1.10.1"
nginxUser=nginx
nginxGroup=nginx
if[$(id-u)-ne0];then
echo"Pleaserunasroot"
exit1
fi
DISTRO=""
Distributions="CentOSUbuntuAmazon"
foriin$Distributions
do
cat/etc/..
分类:
其他好文 时间:
2016-08-23 01:42:39
阅读次数:
194