すべてのプロダクト
Search
ドキュメントセンター

Alibaba Cloud Linux:Alibaba Cloud Linux 4 Agentic Edition (Agentic OS) クイックスタート

最終更新日:Sep 11, 2026

Alibaba Cloud Linux 4 Agentic Edition (Agentic OS) は、Alibaba Cloud Linux をベースに構築されたエージェントファーストのオペレーティングシステムです。このクイックスタートでは、Agentic Edition イメージを使用して Elastic Compute Service (ECS) インスタンスを作成し、自然言語でオペレーティングシステムの管理を開始する方法について説明します。

前提条件

  • Alibaba Cloud アカウント。作成する ECS インスタンスに対して課金されます。

  • (オプション) 例 2: 1文でOpenClawをインストール を試す場合は、以下の認証情報を準備してください。

    • DingTalk の AppKey と AppSecret。これらを取得するには、DingTalk Developer Console で社内用エンタープライズアプリケーションを作成してください。

    • DashScope API キー。これを取得するには、Model Studio コンソールにアクセスしてください。

ステップ 1:Agentic Edition イメージを使用した ECS インスタンスの取得

新しい ECS インスタンスを作成するか、既存の x86 ベースのインスタンスのオペレーティングシステムを交換できます。

新しいインスタンスの作成

  1. インスタンス作成ページに移動するか、イメージ選択ページに移動してインスタンスを作成します。

  2. インスタンスタイプを選択します。アーキテクチャには [X86 computing] を選択し、次に対応するインスタンスタイプを選択します。スムーズな操作のため、4 GiB を超えるメモリを持つインスタンスタイプを選択してください。

  3. イメージとして [Alibaba Cloud Linux] を選択し、次にドロップダウンメニューから [Alibaba Cloud Linux 4 LTS 64-bit Agentic Edition] を選択します。

  4. [Assign Public IP] を選択します。Elastic IP アドレス (EIP) またはインターネット帯域幅を使用できます。

  5. プロンプトに従って残りのパラメータ設定を完了します。詳細については、「カスタムインスタンスの作成」をご参照ください。

既存インスタンスのオペレーティングシステムの交換

すでに x86 ベースの ECS インスタンスをお持ちの場合は、新しいインスタンスを購入する代わりに、オペレーティングシステムを交換して Agentic Edition イメージに切り替えることができます。

警告

オペレーティングシステムを交換すると、システムディスクも交換され、元のシステムディスク上のすべてのデータが消去されます。続行する前に、スナップショットを作成してデータをバックアップしてください。

  1. ECS コンソールで、[Instances] を選択し、対象のインスタンスを選択します。

  2. [More] > [Disk and Image] > [Replace Operating System] を選択します。

  3. イメージとして、[Public Images] > [Alibaba Cloud Linux] > [Alibaba Cloud Linux 4 LTS 64-bit Agentic Edition] を選択します。

ステップ 2:初期セットアップの完了

インスタンスにログインすると、Copilot Shell (cosh) が自動的に起動します。シェルコマンドを直接実行し、自然言語でシステムと対話できます。

初回使用時には、モデルの認可を設定する必要があります。cosh を初めて起動すると、以下のプロンプトが表示されます。設定不要で迅速にセットアップするには、Aliyun Authentication を選択してください。

╭ Agent question ──────────────────────────────────────────────────────────────────────────╮
│  Authentication Required — Select your AI provider:                                    │
│ Select one:                                                                              │
│ > [1] Aliyun Authentication                                                              │
│       Free with limited quota                                                            │
│   [2] Coding Plan                                                                        │
│       For individual developers • Weekly quota included                                  │
│   [3] Token Plan                                                                         │
│       For teams and companies • Usage-based billing with dedicated capacity              │
│   [4] DashScope (Model Studio)                                                           │
│       Connect with an existing Bailian API key                                           │
│   [5] OpenAI Compatible                                                                  │
│       Use an existing OpenAI-compatible Base URL and API key                             │
│ Keys: Left/Right move | Enter send                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────╯

以下の表で、各認可オプションについて説明します。

オプション 説明
Aliyun Authentication (推奨) 制限付きクォータで無料。
Coding Plan 個人の開発者向け。週次クォータが含まれます。
Token Plan チームおよび企業向け。専用容量による従量課金制。
DashScope (Model Studio) 既存の Bailian API キーで接続。
OpenAI Compatible 既存の OpenAI 互換 Base URL と API キーを使用。

認可方法の違いについては、「設定の管理」をご参照ください。

ステップ 3:対話の開始

初期セットアップ後、cosh で自然言語を使用してシステムと対話できます。Agentic OS には、運用、セキュリティ強化、トラブルシューティングのためのシステムレベルのスキルが含まれており、カーネルのアップグレード、脆弱性パッチの適用、パフォーマンスチューニングなどのタスクを自然言語でサポートします。

以下に、典型的な対話の例を示します。

例 1:ディストリビューションとハードウェアの詳細の確認

入力: システムのディストリビューション情報を確認し、ハードウェアの詳細をまとめてください。

> Check the system's distro information and tell me the hardware details.
+ The user wants to know the system's distribution information and hardware details. I'll run several commands to gather this information in parallel.
✓ Shell cat /etc/os-release (Check Linux distribution info)
  NAME="Alibaba Cloud Linux"
  VERSION="4"
  ID="alinux"
  ID_LIKE="anolis"
  VERSION_ID="4"
  VARIANT="Agentic OS Edition"
  VARIANT_ID="openanolis"
  ALINUX_MINOR_ID="0"
  ALINUX_UPDATE_ID="2"
  PLATFORM_ID="platform:alnx4"
  PRETTY_NAME="Alibaba Cloud Linux 4.0.2 (Agentic OS Edition)"
  ANSI_COLOR="0;31"
  HOME_URL="https://www.aliyun.com/"
  BUG_REPORT_URL="https://www.aliyun.com/"
✓ Shell uname -a (Get kernel and system info)
  tmpfs             3.1G  8.6M  3.1G   1% /run
  /dev/xxx          200M  6.3M  194M   4% /boot/efi
  tmpfs             1.6G  4.0K  1.6G   1% /run/user/0
+ I've gathered all the system information. Let me summarize the key hardware details for the user.
+ System Information
  Distribution: Alibaba Cloud Linux 4.0.2 (Agentic OS Edition)
  - Kernel: 6.6.102-5.2.alnx4.x86_64
  - Architecture: x86_64
  Hardware Details
| Component      | Details                                  |
| CPU            | Intel Xeon Platinum 8475B                |
| Cores/Threads  | 2 cores, 4 threads (2 threads per core)  |
| CPU Speed      | 800 MHz - 3800 MHz                       |
| Cache          | L1: 160KB, L2: 4MB, L3: 97.5MB          |
| Virtualization | KVM (Alibaba Cloud)                      |
| RAM            | 16 GB (15 GiB usable)                    |
| Storage        | 40 GB NVMe SSD (/dev/xxx)                |
| Swap           | None configured                          |
  The system is running on Alibaba Cloud ECS with a virtualized Intel Xeon processor.

例 2:1文でOpenClawをインストール

この例を実行する前に、前提条件 に記載されている DingTalk と Model Studio の認証情報を準備してください。

入力: OpenClaw をインストールし、指定した API キーと DingTalk 認証情報で設定します。

Tips: Enter / to open the command palette. Press Tab to autocomplete slash commands and saved prompts.
> Help me install OpenClaw, API-Key: xxx                    DingTalk appKey: xxx                  , appSecret: xxx
+ The user wants to install OpenClaw and configure the API key and DingTalk credentials. I'll use the install-openclaw skill to complete this task and configure the sensitive information securely.
+ I'll help you install OpenClaw and configure DingTalk and Alibaba Cloud Model Studio.
  ✓ Skill Use skill: "install-openclaw"
    Installs and configures OpenClaw on Alibaba Cloud Linux 4 (Alinux 4) servers, integrating with DingTalk and Alibaba Cloud Model Studio (Qwen). Use this skill when you need to deploy
    OpenClaw, configure a DingTalk bot, integrate with DashScope/Qwen models, troubleshoot an OpenClaw
    gateway that fails to start, or resolve plug-in loading issues. Includes complete troubleshooting notes and the correct configuration structure.
+ The skill documentation is loaded. I'll start the installation flow by checking for and installing the git dependency.
+ I'll start installing OpenClaw now. Based on the information you provided:
    - DashScope API Key: xxx
    - DingTalk AppKey: xxx
    - DingTalk AppSecret: xxx
✦ The port is listening as expected. Now I need to run a health check to verify the service status.
┌─────────────────────────────────────────────────────────────┐
│ ✓ Shell openclaw gateway health (Check Gateway health)     │
│                                                             │
│     Gateway Health                                          │
│     OK (0ms)                                                │
│     DingTalk: configured                                    │
└─────────────────────────────────────────────────────────────┘
✦ All installation and configuration steps are complete and the service health check passed. Now I'll summarize the installation results and provide the follow-up DingTalk-side configuration steps.
✦ OpenClaw installation and configuration complete.
Installation status
| Item              | Status                |
|-------------------|-----------------------|
| OpenClaw version  | 2026.3.13             |
| DingTalk plug-in  | Installed (v3.3.0)    |
| Gateway service   | Running (pid xxx)     |
| Port listening    | xxx                   |

詳細については、「1文でOpenclaw/Claude Codeをデプロイ」をご参照ください。

クイックコマンドリファレンス

Copilot Shell (cosh) では、以下のコマンドがサポートされています。

コマンド 説明
/stats トークン消費量を表示します。
/mode approval trust 完全信頼モードを有効にします (確認不要)。
/skills ロードされたスキルを一覧表示します。
/help ヘルプを表示します。

クリーンアップ

不要な課金を避けるため、不要になった ECS インスタンスは解放してください。ECS コンソールで、[Instance Details] > [Release Settings] に移動し、[Release Now] をクリックします。

テクニカルサポート

テクニカルサポートについては、DingTalk グループ 90400034325 にご参加ください。