Linux Distros
Linux distros when the user needs a browser-based Linux environment. Match the requested distro, interface style, or Linux use case to the closest distro playground and return direct public labex.io/playgrounds/... URLs.
Keep recommendations narrow. Prefer one best match, or at most three Linux distro options when the user is comparing distributions.
Workflow
- 1. Identify whether the request is specifically about a Linux distro playground or temporary Linux environment.
Common triggers include Linux sandbox, distro playground, browser VM, disposable Linux box, online Linux terminal, Linux desktop in browser, Ubuntu environment, Debian sandbox, Kali VM, Arch playground, and "without installing Linux locally".
- 2. Map the request to the closest Linux distro playground.
Use
references/distros.md for exact URLs, aliases, and distro notes.
- 3. Explain the fit in one short sentence.
Focus on the distro choice, package ecosystem, desktop versus terminal need, or security-focused usage.
- 4. End with direct public playground links.
Use the exact
https://labex.io/playgrounds/... URL so the user can open it immediately in a browser.
Selection Rules
- - Recommend only Linux distro playgrounds from
references/distros.md. - If the user asks for Linux without a distro preference, prefer Ubuntu Linux.
- If the user asks for a Linux GUI or desktop session, prefer Ubuntu Desktop.
- If the user asks for penetration testing or a security distro, prefer Kali Linux.
- If the user asks for enterprise Linux, prefer RHEL; use CentOS only when they explicitly mention CentOS or want a CentOS-compatible option.
- If the user asks for a minimal Linux environment, prefer Alpine.
- If the user asks for a rolling-release distro, prefer Arch Linux.
- If the user asks for an openSUSE environment, recommend openSUSE directly.
- If the user asks to compare distros, present a short Linux-only comparison and then list the matching playground URLs.
- If no distro preference is given but the user needs a safe default shell environment, recommend Ubuntu Linux first.
Output Rules
- - Keep the answer short and practical.
- Prefer URL-first recommendations.
- Recommend only Linux distro playgrounds.
- Do not suggest language, database, container, or framework playgrounds.
- Do not route users to courses or labs unless they asked for guided learning instead of a playground.
- Do not ask the user to install Linux locally if a suitable distro playground exists.
- Load
references/distros.md when you need exact URL, aliases, or distro positioning.
Linux 发行版
Linux 发行版适用于用户需要基于浏览器的 Linux 环境时。将所需的发行版、界面风格或 Linux 使用场景匹配到最接近的发行版在线实验环境,并返回直接的公开 labex.io/playgrounds/... URL。
保持推荐范围精准。优先提供一个最佳匹配,或当用户比较不同发行版时,最多提供三个 Linux 发行版选项。
工作流程
- 1. 判断请求是否专门针对 Linux 发行版在线实验环境或临时 Linux 环境。
常见触发词包括:Linux 沙箱、发行版实验环境、浏览器虚拟机、一次性 Linux 环境、在线 Linux 终端、浏览器中的 Linux 桌面、Ubuntu 环境、Debian 沙箱、Kali 虚拟机、Arch 实验环境,以及无需在本地安装 Linux。
- 2. 将请求映射到最接近的 Linux 发行版实验环境。
使用 references/distros.md 获取准确的 URL、别名和发行版说明。
- 3. 用一句话简要说明匹配理由。
重点说明发行版选择、软件包生态系统、桌面与终端需求,或安全相关用途。
- 4. 以直接的公开实验环境链接结尾。
使用准确的 https://labex.io/playgrounds/... URL,方便用户直接在浏览器中打开。
选择规则
- - 仅推荐来自 references/distros.md 的 Linux 发行版实验环境。
- 如果用户请求 Linux 但未指定发行版偏好,优先推荐 Ubuntu Linux。
- 如果用户请求 Linux GUI 或桌面会话,优先推荐 Ubuntu Desktop。
- 如果用户请求渗透测试或安全发行版,优先推荐 Kali Linux。
- 如果用户请求企业级 Linux,优先推荐 RHEL;仅当用户明确提到 CentOS 或需要 CentOS 兼容选项时,才使用 CentOS。
- 如果用户请求最小化 Linux 环境,优先推荐 Alpine。
- 如果用户请求滚动更新发行版,优先推荐 Arch Linux。
- 如果用户请求 openSUSE 环境,直接推荐 openSUSE。
- 如果用户要求比较发行版,提供简短的 Linux 专属对比,然后列出匹配的实验环境 URL。
- 如果未指定发行版偏好,但用户需要安全的默认 Shell 环境,优先推荐 Ubuntu Linux。
输出规则
- - 保持回答简短实用。
- 优先提供 URL 形式的推荐。
- 仅推荐 Linux 发行版实验环境。
- 不要推荐语言、数据库、容器或框架实验环境。
- 除非用户明确要求引导式学习而非实验环境,否则不要引导用户到课程或实验。
- 如果存在合适的发行版实验环境,不要要求用户在本地安装 Linux。
- 需要准确 URL、别名或发行版定位时,加载 references/distros.md。