基于 AWS + Clawdbot 的终极低成本、高隐私 AI 助理方案。| By NLBW.
别废话,直接开始。你需要一台干净的 Debian 服务器。
这是最详细的部分!
列出安装 Node.js v22 的命令:
# 使用官方安装脚本安装 Node.js v22 LTS
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g clawdbot
详细解释运行 clawdbot onboard 后会发生什么:
用简单的语言描述:选择 Qwen -> 浏览器授权 -> 粘贴 Telegram Token 的过程。(强调:傻瓜式回车即可)
clawdbot onboard
提供安装 Brave Search (联网) 和 Crypto Tracker (币价) 的确切命令:
# 启用 Brave Search 技能(联网搜索)
clawdbot skill enable web-search
# 启用加密货币追踪器技能(可选)
clawdbot skill enable crypto-tracker
解释如何通过 clawdbot configure 交互式填入 API Key:
clawdbot configure
简述 PM2 的作用。提供 pm2 start 和 pm2 save 的命令,确保 AI 7x24 小时在线。
# 全局安装 PM2 进程管理器
sudo npm install -g pm2
# 启动 Clawdbot 网关服务
pm2 start clawdbot --name ai-agent -- gateway
# 设置开机自启
pm2 startup
pm2 save
一笔带过 Nginx 和 Certbot 的安装,展示最终获得绿锁的命令:
# 安装 Nginx
sudo apt install nginx
# 安装 Certbot
sudo apt install certbot python3-certbot-nginx
# 申请 SSL 证书
sudo certbot --nginx -d your-domain.com