惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
F
Fortinet All Blogs
J
Java Code Geeks
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
M
MIT News - Artificial intelligence
腾讯CDC
Last Week in AI
Last Week in AI
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
博客园 - 叶小钗
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
L
LangChain Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - fengjian1585

麒麟linx v10 sp3 cgroup v1 变更为cgroup v2 k8s Gateway API 详解 linux 挂载点覆盖清理原数据 coze 入门学习 关闭ingress 8443 端口 tomcat 设置 catalina.out 按天切割 Harbor 启用 Trivy 禁用 MinIO 的 Web Console 重定向功能 堆设置了8G,java进程却占用了12G内存 k8s优化选项 pod启动后一直containerCreating状态解决 Kubernetes Cilium网络组件和CoreDNS配置 mkfs对磁盘设置标签 K8S的CoreDns配置文件添加域名解析 nginx代理两套k8s ingress 不同域名 pip 搭建源 使用 kubectl debug 创建临时调试容器 openvpn server证书过期处理 - fengjian1585 Harbor Swagger接口泄露漏洞处理 "too many open files" 文件句柄 Kafka 常见故障及解决方案 华为昇腾 910B GPU Nginx与Upstream之间产生大量TIME_WAIT连接的解决办法 debian libc.musl-x86_64.so.1 => not found
手机安装 openclaw
fengjian1585 · 2026-02-26 · via 博客园 - fengjian1585

1 . 安装termux,termux是一个适用于 Android 的终端模拟器,其环境类似于 Linux 环境。 无需Root或设置即可使用。
下载地址:https://gitee.com/OpenclawCN/termux-app/
termux-appv0.118.3+github-debug universal.apk  可以下载最大的

2.更新系统并安装核心组件
#更新所有软件包

pkg  update -y  &&  pkg  upgrade  -y

3.#安装Ubuntu 管理器、API、桥接工具和常用工具(就是套壳也可以不安装)

pkg  install  proot-distro termux-api openssh* -y

Proot-distro :是虚拟目录
Termux-api 是命令行的接口

4. 安装ubuntu

进入termux, 输入命令安装Ubuntu 
 proot-distro install ubuntu

5. 进入ubuntu

proot-distro login ubuntu

为了登录ubuntu不用每次执行命令,把命令添加到环境变量中
echo "alias u='proot-distro login ubuntu'" >> ~/.bashrc

6. ubuntu 中安装 nodejs

现在需要更新Ubuntu的软件依赖库
apt update && apt upgrade -y
接下来安装 node.js npm git apt install curl git build
-essential python3 -y
在Ubuntu里安装node22.4或者24.
04 curl -fsSL https://deb.nodesource.com/setup_24.x |bash - apt install nodejs -y

 npm config set registry http://registry.npmjs.om
检查是否安装成功 Node

-v  npm -v 出现版本号 说明安装成功

7. 安装 openclaw

npm install -g openclaw@latest


8 openclaw配置

  🦞 OpenClaw Installer
  Siri's competent cousin.

✓ Detected: linux
✓ Node.js v22.22.0 found
✓ Git already installed
→ Installing OpenClaw 2026.2.6-3...
✓ OpenClaw installed

🦞 OpenClaw installed successfully (2026.2.6-3)!
Home sweet home. Don't worry, I won't rearrange the furniture.

Starting setup...


🦞 OpenClaw 2026.2.6-3 (85ed6c7) — curl for conversations.

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██
██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██
██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                  🦞 OPENCLAW 🦞                    

┌  OpenClaw onboard

image

image

image

image

浏览器打开 https://chat.qwen.ai/authorize?user_code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, 访问后可以使用。

image

选择默认模型 Keep current (qwen-portal/coder-model) 即可。接下来会提示选择 channel,这里先跳过,后续再添加。之前飞书都没有内置的,现在新版本飞书已经内置了 

image

image

image

image

◇  Configure DM access policies now? (default: pairing) #
│  Yes
│
◇  Feishu DM access ─────────────────────────────────────────────────────────────────────────╮
│                                                                                            │
│  Default: pairing (unknown DMs get a pairing code).                                        │
│  Approve: openclaw pairing approve feishu <code>                                           │
│  Allowlist DMs: channels.feishu.dmPolicy="allowlist" + channels.feishu.allowFrom entries.  │
│  Public DMs: channels.feishu.dmPolicy="open" + channels.feishu.allowFrom includes "*".     │
│  Multi-user DMs: set session.dmScope="per-channel-peer" (or "per-account-channel-peer"     │
│  for multi-account channels) to isolate sessions.                                          │
│  Docs: start/pairing                     │
│                                                                                            │
├────────────────────────────────────────────────────────────────────────────────────────────╯
│
◇  Feishu DM policy
│  Open (public inbound DMs) # 公开
│
◇  Add display names for these accounts? (optional)
│  No # 不需要
│
└  Channels updated.

image

image

image

image

image

image

image

image

image

image

image

image

image

开通获取阿里云百炼 API Key

OpenClaw 支持使用 models.providers(或 models.json)来添加自定义模型提供商或与 OpenAI/Anthropic 兼容的代理服务。

阿里云百炼的模型 API 调用支持 OpenAI-compatible 接口,你只需要登录 阿里云百炼大模型服务平台 准备好:

如何获取 API key?

登录 阿里云百炼大模型服务平台,点击密钥管理(北京或新加坡)页面,单击创建 API-KEY,复制即可通过API KEY调用大模型。

如果你使用的是百炼 Coding Plan,记得替换 API key 和模型调用地址:

image

 OpenClaw 模型引用是 provider/model 的格式,我们需要按照 Moltbot 可解析的方式把模型信息放到配置里。你可以选择 Web UI 方式,或手动编辑配置文件,进行配置。

image

手动编辑

或者手动编辑配置信息到~/.openclaw/openclaw.json 里。这里以阿里云百炼于 2026.01.26 刚发布的 qwen3-max-2026-01-23 模型举例,你可以直接复制粘贴这段配置说明

{
  agents: {
    defaults: {
      model: { primary: "bailian/qwen3-max-2026-01-23" },
      models: {
        "bailian/qwen3-max-2026-01-23": { alias: "通义千问 Max Thinking 版" }
      }
    }
  },
  models: {
    mode: "merge",
    providers: {
      bailian: {
        baseUrl: "https://dashscope.aliyuncs.com/compatible-mode/v1",
        apiKey: "${DASHSCOPE_API_KEY}",
        api: "openai-completions",
        models: [
          {
            id: "qwen3-max-2026-01-23",
            name: "通义千问 Max Thinking 版",
            reasoning: false,
            input: ["text"],
            cost: { input: 0.0025, output: 0.01, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 262144,
            maxTokens: 32768
          }
        ]
      }
    }
  }
}

  安装skill方法, 但是安装基本上限制

root@localhost:~/.openclaw/skills# npx clawhub@latest install remind-me

通过飞书机器人,直接让安装skills 比较方便

1.  kubernetes
2. ansible
3. remind-me
4. find-skills
5. ai-news-digest
6. imap-smtp-email

1. kuberetens   问:在看看k8s 节点状态是否正常

image


 问:用ssh 远程登录查看 10.189.98.11,查看磁盘空间,公钥私有已经打通,执行返回

image

 问:打开手机 闪光灯,openclaw就部署在 手机中,可以直接通过 termux-api 进行调用

image

 问:15:30 提醒我喝水

image

5. ai-news-digest  问:自动生成 一份AI 行业早报

image

使用邮件管理技能 (imap-smtp-email)

image

image

image

通过页面 添加models

image

image

redhat系列linux安装nodejs

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

dnf install nsolid    git  -y

npm config set registry https://registry.npmmirror.com

创建钉钉应用

钉钉开发者后台:https://open-dev.dingtalk.com/

  1. 访问 钉钉开发者后台
  2. 创建企业内部应用

image

  1. 添加「机器人」能力

image

  1. 进行机器人配置,重点:配置消息接收模式为 Stream 模式

image

image

  1. 配置权限管理

      在应用的权限管理页面,需要开启以下权限:

      1. ✅ Card.Instance.Write — 创建和投放卡片实例
      2. ✅ Card.Streaming.Write — 对卡片进行流式更新

      步骤:

    1. 进入应用 → 权限管理
    2. 搜索「Card」相关权限
    3. 勾选上述两个权限

保存权限配置

image

  1. 发布应用

image

安装钉钉插件

钉钉插件下载:https://github.com/soimy/openclaw-channel-dingtalk

直接运行 openclaw 插件安装命令,openclaw 会自动处理下载、安装依赖和注册:

openclaw plugins install https://github.com/soimy/clawdbot-channel-dingtalk.git

如果失败

git clone https://github.com/soimy/clawdbot-channel-dingtalk.git

mv clawdbot-channel-dingtalk .openclaw/extensions/
cd .openclaw/extensions/clawdbot-channel-dingtalk
npm install


# 当运行中,进行重启
openclaw gateway --verbose

配置 OpenClaw

从开发者后台应用中获取:

  • Agent ID (应用 ID)
  • Client ID (AppKey)
  • Client Secret (AppSecret)
  • Robot Code (与 Client ID 相同)

如图:

image

访问http://127.0.0.1:18789/channels ,找到DingTalk设置卡片进行配置:

image

# 当运行中,进行重启
openclaw gateway --verbose

image

image

在一个上gateway,创建多个agent,分别为 main, 云运维团队,云工具团队,云运营团队,每个团队都有不同的职责, main根据职责分配任务,这个需要怎么配置

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

学习资料
https://codecity.feishu.cn/wiki/MGwRwZifHioRxmkSRricaPx0noc