Tous les produits
Search
Centre de documentation

Alibaba Cloud Linux:Alibaba Cloud Linux 4 Agentic Edition (Agentic OS) quick start

Dernière mise à jour :Oct 15, 2026

Alibaba Cloud Linux 4 Agentic Edition (Agentic OS) est un système d'exploitation conçu pour les agents, basé sur Alibaba Cloud Linux. Ce guide de démarrage rapide vous explique comment créer une instance Elastic Compute Service (ECS) avec l'image Agentic Edition et commencer à gérer votre système d'exploitation en langage naturel.

Prérequis

Étape 1 : Obtenir une instance ECS avec l'image Agentic Edition

Vous pouvez créer une nouvelle instance ECS ou remplacer le système d'exploitation d'une instance x86 existante.

Créer une nouvelle instance

  1. Accédez à la page de création d'instance, ou à la page de sélection d'image pour créer une instance.

  2. Sélectionnez un type d'instance. Pour l'architecture, choisissez X86 computing, puis sélectionnez un type d'instance correspondant. Pour une expérience fluide, choisissez un type d'instance disposant de plus de 4 Go de mémoire.

  3. Pour l'image, sélectionnez Alibaba Cloud Linux, puis choisissez Alibaba Cloud Linux 4 LTS 64-bit Agentic Edition dans le menu déroulant.

  4. Sélectionnez Assign Public IP. Vous pouvez utiliser une adresse IP élastique (EIP) ou une bande passante Internet.

  5. Finalisez les paramètres restants selon les instructions. Pour plus d'informations, consultez la rubrique Créer une instance personnalisée.

Remplacer le système d'exploitation d'une instance existante

Si vous disposez déjà d'une instance ECS basée sur x86, vous pouvez basculer vers l'image Agentic Edition en remplaçant le système d'exploitation, sans avoir à acheter une nouvelle instance.

Avertissement

Le remplacement du système d'exploitation entraîne également le remplacement du disque système et l'effacement de toutes les données présentes sur le disque système d'origine. Créez un snapshot pour sauvegarder vos données avant de poursuivre.

  1. Dans la console ECS, choisissez Instances et sélectionnez l'instance cible.

  2. Choisissez More > Disk and Image > Replace Operating System.

  3. Pour l'image, choisissez Public Images > Alibaba Cloud Linux > Alibaba Cloud Linux 4 LTS 64-bit Agentic Edition.

Étape 2 : Effectuer la configuration initiale

Après vous être connecté à l'instance, Copilot Shell (cosh) démarre automatiquement. Vous pouvez exécuter des commandes shell directement et interagir avec le système en langage naturel.

Lors de la première utilisation, vous devez configurer l'autorisation du modèle. Au premier démarrage de cosh, l'invite suivante s'affiche. Pour une configuration rapide sans paramétrage, sélectionnez 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                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────╯

Le tableau suivant décrit les options d'autorisation.

Option Description
Aliyun Authentication (Recommended) Gratuit avec un quota limité.
Coding Plan Destiné aux développeurs individuels. Inclut un quota hebdomadaire.
Token Plan Destiné aux équipes et aux entreprises. Facturation à l'usage avec capacité dédiée.
DashScope (Model Studio) Connexion avec une clé API Bailian existante.
OpenAI Compatible Utilisation d'une URL de base et d'une clé API compatibles OpenAI existantes.

Pour connaître les différences entre les méthodes d'autorisation, consultez la rubrique Manage Configurations.

Étape 3 : Commencer à interagir

Après la configuration initiale, vous pouvez utiliser le langage naturel dans cosh pour interagir avec le système. Agentic OS inclut des Skills au niveau du système pour les opérations, le durcissement de la sécurité et le dépannage, et prend en charge des tâches telles que les mises à niveau du noyau, l'application de correctifs de vulnérabilité et l'optimisation des performances en langage naturel.

Les exemples suivants illustrent des interactions typiques.

Exemple 1 : Afficher la distribution et les détails matériels

Entrée : Vérifiez les informations de distribution du système et résumez les détails matériels.

> 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.

Exemple 2 : Installer OpenClaw en une phrase

Avant d'exécuter cet exemple, préparez les identifiants DingTalk et Model Studio décrits dans la section Prérequis.

Entrée : Aidez-moi à installer OpenClaw et à configurer 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                   |

Pour plus de détails, consultez la rubrique Deploy Openclaw/Claude Code in one sentence.

Référence rapide des commandes

Copilot Shell (cosh) prend en charge les commandes suivantes.

Commande Description
/stats Affiche la consommation de jetons.
/mode approval trust Active le mode de confiance totale (aucune confirmation requise).
/skills Liste les skills chargés.
/help Affiche l'aide.

Nettoyage

Pour éviter des frais inutiles, libérez l'instance ECS lorsque vous n'en avez plus besoin. Dans la console ECS, accédez à Instance Details > Release Settings, puis cliquez sur Release Now.

Support technique

Rejoignez le groupe DingTalk 90400034325 pour obtenir un support technique.