File tree Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Expand file tree Collapse file tree 6 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ # 使用 1Panel 可视化安装 OpenResty
3+
4+ !!! note ""
5+ ** OpenResty** 是一个基于 Nginx 的高性能 Web 应用服务器,它将 Nginx 与 Lua 编程语言集成在一起,提供了强大的功能和灵活性。
6+
7+ ## 1. 打开应用商店
8+
9+ !!! note ""
10+ 进入 1Panel 控制台后,点击左侧菜单的 ** 「应用商店」** 。
11+
12+ ![ img.png] ( ../../img/app/appstore.png )
13+
14+ ## 2. 搜索 OpenResty 并安装
15+
16+ !!! note ""
17+ 在右上角搜索框输入 ** OpenResty** ,点击应用卡片进入详情页,选择 ** 安装** 。
18+
19+ ![ img.png] ( ../../img/app/openresty.png )
20+
21+ ## 3. 配置安装参数
22+
23+ !!! note ""
24+ 你可以根据需要选择:
25+
26+ - **名称**(输入框默认应用名称)
27+ - **版本**(建议使用最新稳定版)
28+ - **HTTP 端口**(默认 80,如果与现有服务冲突可调整)
29+ - **HTTPS 端口**(默认 443,如果与现有服务冲突可调整)
30+ - **网站目录**(默认网站目录会放置在 1Panel 安装目录下,如需修改请以绝对路径填写)
31+
32+ 确认设置无误后,点击 **确定** 按钮开始安装。
33+
34+ ![ img.png] ( ../../img/app/openresty_install.png )
35+
36+ ## 4. 查看运行状态
37+
38+ !!! note ""
39+ 进入 ** 已安装** 页面,即可查看 OpenResty 的运行状态。你可以对应用执行以下操作:
40+
41+ - **重建**:重新创建应用
42+ - **重启**:重启正在运行的应用
43+ - **启动 / 停止**:启动或停止应用
44+ - **卸载**:移除应用及其数据
45+ - **查看参数**:查看应用启动配置
46+ - **查看日志**:查看应用实时日志
47+ - **进入容器终端**:在容器内执行命令
48+ - **备份 / 恢复**:对应用数据进行备份和恢复
49+
50+ ![ img.png] ( ../../img/app/openresty_installed.png )
51+
52+ ## 5. 使用 OpenResty
53+
54+ !!! note ""
55+ 进入 1Panel 左侧的 ** 网站** 菜单,即可创建新网站并使用 OpenResty 服务。
Original file line number Diff line number Diff line change 5555 - 安装部署 : user_manual/appstore/install.md
5656 - 应用操作 : user_manual/appstore/installed.md
5757 - 应用商店设置 : user_manual/appstore/setting.md
58+ - 常用软件安装 :
59+ - OpenResty 安装 : user_manual/appstore/openresty.md
5860 - 网站 :
5961 - 概述 : user_manual/websites/websites.md
6062 - 创建网站 : user_manual/websites/website_create.md
You can’t perform that action at this time.
0 commit comments