「 脚本家园」Linux离线服务器openresty1.19.9.1自动化安装脚本

「 脚本家园」Linux离线服务器openresty1.19.9.1自动化安装脚本

编程文章jaq1232025-08-18 7:05:412A+A-

脚本家园介绍

脚本家园:解决非联网服务器应用安装。需要增加版本、软件支持、安装报错在作者有能力的前提下可以在短时间内义务开发脚本。以下脚本如果有需要可以直接私信,全部免费无套路。

不说话先看效果

已发布自动脚本

JDK17.0.1

Docker 20.1.0.12

Nginx 1.20.2

Redis 6.2.6

Mysql 8.0.27

Mysql 5.7.36

openresty 1.19.9.1



待发布脚本

JDK 11.0.13

JDK 8.311

Maven 3.8.4

Python 3.10.2

minio RELEASE.2022-02-05


1. 下载并上传到服务器任意目录

下载地址:
链接:https://pan.baidu.com/s/10HeKHwguVmXbCQ45i6alBA 
提取码:f19x 

2. 切换目录

cd openresty_1.19.9.1

3. 添加执行权限

chmod +x install.py

4. 安装

./install.py    

5. 使用前注意

penresty已经启动端口为:80,进程检测正常。
        如不能访问,请检查防火墙。临时测试可以全部关闭防火墙,命令:systemctl stop firewalld
    资源路径:/usr/local/openresty/nginx/html/
    安装路径:/usr/local/openresty/
    启动命令:/usr/local/openresty/nginx/sbin/nginx
    刷新配置命令:/usr/local/openresty/nginx/sbin/nginx -s reload
    配置文件路径:/usr/local/openresty/nginx/conf/



点击这里复制本文地址 以上内容由jaq123整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

苍茫编程网 © All Rights Reserved.  蜀ICP备2024111239号-21