Web deploymentWeb 版部署
Web deploymentWeb 版部署
Start with ClawPanel, then choose the runtime you want to manage.先理解 ClawPanel 产品路径,再进入安装、配置、渠道和故障恢复。
Web 版部署指南
ClawPanel Web 版无需安装桌面客户端,部署在 Linux 服务器上,通过浏览器远程管理 OpenClaw。
部署方式一:官方一键脚本
以下脚本来自 ClawPanel 官方仓库。部署脚本会检测系统,缺少或版本过低时安装 Node.js 22 LTS,安装 OpenClaw 中文运行时,克隆 ClawPanel,构建 Web 版并创建服务。
curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
部署完成后访问 http://服务器IP:1420。完整说明见 Linux 部署指南。
部署方式二:手动部署
- 安装 Node.js 22 LTS
# Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
# 验证
node --version
- 安装 OpenClaw 中文运行时
npm install -g @qingchencloud/openclaw-zh --registry https://registry.npmmirror.com
openclaw --version
- 克隆并安装 ClawPanel
cd /opt
sudo git clone https://github.com/qingchencloud/clawpanel.git
sudo chown -R $(whoami) clawpanel
cd clawpanel
npm install
npm run build
- 启动服务
cd /opt/clawpanel
npm run serve -- --port 1420
- 配置 systemd(推荐)
[Unit]
Description=ClawPanel Web
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/clawpanel
ExecStart=/usr/bin/node scripts/serve.js --port 1420
Environment=PATH=/usr/local/bin:/usr/bin:/bin
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
安全建议
- 使用 Nginx 反向代理 + HTTPS
- 设置访问密码(在 ClawPanel 设置页面中配置)
- 限制访问 IP 范围
- 不要将端口直接暴露到公网
Web deployment
ClawPanel Web can run on a Linux server and be accessed from a browser for remote administration.
Official one-line script
The script below comes from the official ClawPanel repository. It checks the system, installs Node.js 22 LTS when needed, installs the OpenClaw Chinese runtime, clones ClawPanel, builds the Web app and creates a service.
curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash
After deployment, open http://server-ip:1420. Read the full Linux deployment guide.
Manual deployment
# Install Node.js 22 on Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install OpenClaw Chinese runtime
npm install -g @qingchencloud/openclaw-zh --registry https://registry.npmmirror.com
openclaw --version
# Clone and build
cd /opt
sudo git clone https://github.com/qingchencloud/clawpanel.git
sudo chown -R $(whoami) clawpanel
cd clawpanel
npm install
npm run build
npm run serve -- --port 1420
Production notes
- Put the service behind Nginx, HTTPS and access control
- Do not expose the raw port directly to the public Internet
- Use systemd or another supervisor to keep the service running