越简单越好!

在AnolisOS8.10下安装OpenClaw

发表于 2026-03-13 11:35 | 6次阅读 0次点赞   Anolis

# 系统配置

dnf -y update

dnf -y install gcc gcc-c++ gdb net-tools telnet git


# 安装nodejs,npm

curl -fsSL https://rpm.nodesource.com/setup_24.x | sudo bash -

如果报错,可以把脚本下下来,把以下内容删除掉

# Check if we are on an RPM-based system
if ! [ -f /etc/redhat-release ] && ! grep -q "Amazon Linux" /etc/system-release 2>/dev/null; then
    handle_error 1 "This script is intended for RPM-based systems. Please run it on an RPM-based system."
fi

dnf install nodejs -y


# 通过npm安装openClaw

npm install -g openclaw@latest


1. 运行新手引导:openclaw onboard --install-daemon     具体配置选择根据自己的情况做选择,我的操作请看文章最后部分

2. 快速检查:openclaw doctor

3. 检查 Gateway 网关健康状态:openclaw status + openclaw health

4. 打开仪表板:openclaw dashboard


# 接入QQBot

首先到 https://q.qq.com/qqbot/openclaw/ 扫码创建QQBot,保存ApplD:AppSecret

openclaw plugins install @tencent-connect/openclaw-qqbot@latest

openclaw channels add --channel qqbot --token "ApplD:AppSecret"

openclaw gateway restart



在新手引导:openclaw onboard --install-daemon这里做如下配置:

│ I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
│  Yes
│
◇  Onboarding mode
│  QuickStart
│
◇  Model/auth provider
│  Custom Provider
│
◇  API Base URL
│  http://xxxx:xxxx
│
◇  How do you want to provide this API key?
│  Paste API key now
│
◇  API Key (leave blank if not required)
│  api-b82006ba0533aa37c5a96fb24d710d27188f175b609fb66041012dc258f7640c
│
◇  Endpoint compatibility
│  Anthropic-compatible
│
◇  Model ID
│  claude-opus-4-6
│
◇  Endpoint ID
│  AI.Test.250
│
Configured custom provider: ai-test-250/claude-opus-4-6
◇  Select channel (QuickStart)
│  Skip for now
│
◇  Search provider
│  Skip for now
│
◇  Configure skills now? (recommended)
│  Yes
│
◇  Install missing skill dependencies
│  clawhub, github, nano-pdf, openai-whisper, summarize
│
◇  Show Homebrew install command?
│  Yes
│
◇  Preferred node manager for skill installs
│  npm
│
◇  Set GOOGLE_PLACES_API_KEY for goplaces?
│  No
│
◇  Set GEMINI_API_KEY for nano-banana-pro?
│  No
│
◇  Set NOTION_API_KEY for notion?
│  No
│
◇  Set OPENAI_API_KEY for openai-image-gen?
│  No
│
◇  Set OPENAI_API_KEY for openai-whisper-api?
│  No
│
◇  Set ELEVENLABS_API_KEY for sag?
│  No
│


返回顶部 ^