云服务器

clawdbot 快速体验

1、购买云服务器选择clawdbot镜像

2、在云服务器操作
  1. 在云服务器终端执行以下命令
  2. NEW_TOKEN=$(openssl rand -base64 32)
  3. clawdbot config set gateway.auth.token "$NEW_TOKEN" #设置token
  4. clawdbot config set gateway.controlUi.allowInsecureAuth true #设置允许http访问
  5. clawdbot config set gateway.bind "custom" #设置外网访问
  6. clawdbot config set gateway.mode "local"
  7. clawdbot gateway install #安装服务
  8. clawdbot gateway start #启动服务
  9. clawdbot gateway status # 查看服务状态
  10. cat /root/.clawdbot/clawdbot.json | grep token #打印token
3、在浏览器打开

http://ip:18789/ #访问服务

输入token 点击 connect

要接入AI看详细教程《AI工具 clawdbot 配置