在树莓派上部署openclaw
- 内容介绍
- 文章标签
- 相关推荐
1. 系统选择
Raspberry Pi OS Lite
https://www.raspberrypi.com/software/operating-systems/
2. 更换软件源
树莓派可以直接使用debian的软件源
https://mirrors.tuna.tsinghua.edu.cn/help/debian/
安装我喜欢用的apt前端oma
https://github.com/AOSC-Dev/oma?tab=readme-ov-file#installation
3. 网络问题
因为没有桌面,所以这里选择了v2raya来解决网络问题,主要是他有基于web的控制台使用方便
https://v2raya.org/docs/prologue/installation/debian/
4. 部署
curl -fsSL <https://openclaw.ai/install.sh> | bash
如果不出意外,就可以进入选择配置的模式,或者跳过指引
curl -fsSL <https://openclaw.ai/install.sh> | bash -s -- --no-onboard
在部署完成后 可以直接通过ssh隧道连接到树莓派来使用,但是太麻烦了,所以我开启了如下设置
openclaw config set gateway.controlUi.allowedOrigins '["*"]'
允许来源设置为全部
openclaw config set gateway.controlUi.dangerouslyDisableDe
1. 系统选择
Raspberry Pi OS Lite
https://www.raspberrypi.com/software/operating-systems/
2. 更换软件源
树莓派可以直接使用debian的软件源
https://mirrors.tuna.tsinghua.edu.cn/help/debian/
安装我喜欢用的apt前端oma
https://github.com/AOSC-Dev/oma?tab=readme-ov-file#installation
3. 网络问题
因为没有桌面,所以这里选择了v2raya来解决网络问题,主要是他有基于web的控制台使用方便
https://v2raya.org/docs/prologue/installation/debian/
4. 部署
curl -fsSL <https://openclaw.ai/install.sh> | bash
如果不出意外,就可以进入选择配置的模式,或者跳过指引
curl -fsSL <https://openclaw.ai/install.sh> | bash -s -- --no-onboard
在部署完成后 可以直接通过ssh隧道连接到树莓派来使用,但是太麻烦了,所以我开启了如下设置
openclaw config set gateway.controlUi.allowedOrigins '["*"]'
允许来源设置为全部
openclaw config set gateway.controlUi.dangerouslyDisableDe

