openclaw AI 模型的关系

image-20260311152316453

openclaw

官方网站

https://openclaw.ai/
主体部署


skills 技能使用说明书
https://clawhub.ai/skills?sort=downloads

建议 Ubuntu 24

前提条件

systemctl  status ufw.service
systemctl  stop ufw.service
修改阿里云仓库源
cat /etc/apt/sources.list

更新源
apt update  更新本地软件仓库的索引
apt upgrade  日常升级 → 安全、保守

安装依赖
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git build-essential

curl -fsSL https://openclaw.ai/install.sh | bash

curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon
--install-daemon 会把 Gateway 注册成 systemd 服务,开机自启 + 后台运行。
openclaw gateway start       # 启动 gateway(如果没用 daemon)
openclaw status              # 查看运行状态
openclaw dashboard           # 浏览器打开管理面板
如果是 Ubuntu 20的话  cmake 版本低 要升级
# 先完全移除旧版 cmake(防止冲突)
sudo apt remove --purge cmake cmake-data -y
sudo apt autoremove -y

# 添加 Kitware 官方源(2024年后密钥有更新,按最新方式来)
sudo apt update
sudo apt install -y gpg wget

# 下载并添加密钥(使用最新方式)
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | \
  gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null

# 添加源(针对 Ubuntu 20.04 focal)
echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main" | \
  sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null

# 更新并安装指定版本(3.22系列最新补丁版)
sudo apt update
sudo apt install cmake=3.22.* -y

# 或者直接装最新可用的 3.22
sudo apt install cmake -y
脚本跑完 ,随意选 ,都是在配置文件内 都可以改

image-20260310160930918

openclaw onboard --install-daemon  
# 执行
posted @ 2026-03-10 19:51  mmszxc  阅读(3)  评论(0)    收藏  举报