问题修复
This commit is contained in:
Binary file not shown.
@@ -21,7 +21,7 @@ fn_nginx="nginx-1.20.1.tar.gz"
|
||||
#定义配置参数
|
||||
|
||||
# 自定义 ip
|
||||
ip="172.19.0.14" #服务器的IP,根据实际情况修改
|
||||
ip="43.135.68.128" #服务器的IP,根据实际情况修改
|
||||
|
||||
# 命令行获取当前的 ip
|
||||
# ip = `ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"`
|
||||
@@ -54,10 +54,14 @@ tar -zxvf ${fn_fastdfs_nginx_module}
|
||||
tar -zxvf ${fn_nginx}
|
||||
|
||||
#获取安装文件解压缩后的目录名称sp
|
||||
sp_libfastcommon=${fn_libfastcommon%.*}
|
||||
sp_fastdfs=${fn_fastdfs%.*}
|
||||
sp_fastdfs_nginx_module=${fn_fastdfs_nginx_module%.*}
|
||||
sp_nginx=${fn_nginx%.*}
|
||||
tp_libfastcommon=${fn_libfastcommon%.*}
|
||||
sp_libfastcommon=${tp_libfastcommon%.*}
|
||||
tp_fastdfs=${fn_fastdfs%.*}
|
||||
sp_fastdfs=${tp_fastdfs%.*}
|
||||
tp_fastdfs_nginx_module=${fn_fastdfs_nginx_module%.*}
|
||||
sp_fastdfs_nginx_module=${tp_fastdfs_nginx_module%.*}
|
||||
tp_nginx=${fn_nginx%.*}
|
||||
sp_nginx=${tp_nginx%.*}
|
||||
|
||||
echo -e "${GREENCOLOR}安装fastdfs依赖包${NC}"
|
||||
yum install -y gcc-c++
|
||||
|
||||
Reference in New Issue
Block a user