Files
LangBot/docs/zh/deploy/langbot/one-click/1panel.mdx
RockChinQ 9d2042478a Add 'docs/' from commit '51dddcb3f891d60bc38645e88b2dbd515344da81'
git-subtree-dir: docs
git-subtree-mainline: 0582d1b3d4
git-subtree-split: 51dddcb3f8
2026-10-27 08:04:35 +00:00

51 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "1Panel部署"
description: "使用 1Panel 一键部署 LangBot,无需命令行即可安装开源 AI 聊天机器人平台。"
---
使用[1Panel](https://www.bt.cn/new/download.html?r=dk_LangBot)一键部署 LangBot。
<Info>
使用[阿里云,服务器价格低至 38 元一年,更可以享受8折优惠](https://www.aliyun.com/minisite/goods?userCode=ys4ad8gs),一键安装1Panel更方便
</Info>
## 安装1Panel
> 服务器系统推荐(来自1Panel):Debian 12,Ubuntu 22等
>
> 本文默认所述的是拥有公网IPv4地址的服务器,如果是家用机器没有公网 IP,可以通过下文中的内网来访问相关页面
打开[1Panel](https://www.bt.cn/new/download.html?r=dk_LangBot),使用1Panel官方提供的Linux面板安装脚本,根据自己使用的系统选择对应的脚本
![安装1Panel](/images/zh/deploy/langbot/one-click/1p_install_01.png)
复制对应脚本,粘贴到服务器执行。
等待一段时间后,1Panel安装完成
然后将`外部地址`复制到浏览器打开。
## 安装LangBot
打开`应用商店`,选择`AI`类别,点击安装 LangBot
![安装 LangBot ](/images/zh/deploy/langbot/one-click/1p_langbot_01.png)
勾选`端口外部访问`,点击确认即可
![安装 LangBot ](/images/zh/deploy/langbot/one-click/1p_langbot_02.png)
稍等片刻,安装完成
点击左侧`容器`,选择`容器`类目,即可看到 LangBot 容器栏
![查看 LangBot 容器信息](/images/zh/deploy/langbot/one-click/1p_langbot_03.png)
复制服务器公网地址,例如`http://xxx.xxx.xxx.xxx:5300`(xxx.xxx.xxx.xxx为1Panel 明白所在服务器的 IP,5300为端口号)
打开后输入管理员邮箱和密码,然后点击初始化。
然后就可以在可视化界面进行配置了。
接下来请继续阅读[配置消息平台](/zh/usage/platforms/readme)页。