dpl/content/tutorials/linux/clash-verge/zh-CN.html

36 lines
6.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<header><div class="brand"><img src="/theme/Stellar/favicon.svg" alt="{{brand}}">{{brand}}</div><h1>Linux 使用教程</h1><p>Clash Verge Rev · 从下载安装到开始连接</p></header>
<nav aria-label="教程目录"><a href="#download">1. 下载与安装</a><a href="#import">2. 导入配置</a><a href="#proxy">3. 选择线路</a><a href="#connect">4. 开始连接</a><a href="#help">遇到问题</a></nav>
<div class="note">适用于带图形界面的 Linux 桌面,Ubuntu 建议使用 24.04 或更新版本。开始前请登录网站,并准备好可用套餐。网站配图为实际截图,客户端配图为操作示意。</div>
<section id="download"><h2><span class="num">1</span>下载并安装客户端</h2>
<p>进入网站的 <strong>仪表盘 → 客户端下载</strong>,找到 <strong>Linux</strong>,点击 <strong>下载</strong>,打开 Clash Verge Rev 官方发布页。在页面的 <strong>Assets</strong> 中选择安装包。</p>
<figure class="smallpic"><img src="./images/01-download.png" alt="网站 Linux 客户端下载入口"><figcaption>Linux 行右侧的「下载」</figcaption></figure>
<p><strong>Ubuntu / Debian / Deepin</strong> 选择 <code>.deb</code>;<strong>Fedora / RHEL 系</strong> 选择 <code>.rpm</code>。在终端运行 <code>uname -m</code> 查看架构:<code>x86_64</code> 选 amd64 或 x86_64,<code>aarch64</code> 选 arm64 或 aarch64,<code>armv7l</code> 选 armhf 或 armhfp。</p>
<figure><img src="./images/02-install.svg" alt="Linux 发行版与安装包架构选择示意"><figcaption>先选安装包格式,再选处理器架构</figcaption></figure>
<p>下载完成后,在文件管理器打开安装包所在文件夹,右键选择 <strong>在终端中打开</strong>。以下以网站当前提供的 <strong>2.5.7、x86_64</strong> 安装包为例:</p>
<p><strong>Ubuntu / Debian:</strong></p><pre style="overflow-x:auto"><code>sudo apt install ./Clash.Verge_2.5.7_amd64.deb</code></pre>
<p><strong>Fedora / RHEL 系:</strong></p><pre style="overflow-x:auto"><code>sudo dnf install ./Clash.Verge-2.5.7-1.x86_64.rpm</code></pre>
<p>输入系统密码并按提示完成安装;终端输入密码时不显示字符是正常现象。其他架构请将命令中的文件名替换为实际下载的文件名。安装后,从应用菜单打开 <strong>Clash Verge Rev</strong>。</p>
<details><summary>Arch Linux / Manjaro 安装方式</summary><p>已有 AUR 助手 yay 时,可运行 <code>yay -S clash-verge-rev-bin</code> 安装正式版。其他安装方式参见 <a href="https://www.clashverge.dev/install.html" target="_blank" rel="noopener noreferrer">官方安装说明</a>。</p></details>
</section>
<section id="import"><h2><span class="num">2</span>把网站配置导入客户端</h2>
<p>回到仪表盘,在 <strong>我的订阅</strong> 中点击 <strong>复制配置地址</strong>。</p>
<figure class="smallpic"><img src="./images/import-buttons.png" alt="网站我的订阅中的复制配置地址按钮"><figcaption>点击「复制配置地址」</figcaption></figure>
<p>打开 Clash Verge Rev 的 <strong>订阅</strong> 页面,将地址粘贴到顶部的导入栏,点击 <strong>导入</strong>。导入完成后,点击这份订阅卡片,选中它作为当前配置。</p>
<figure><img src="./images/03-import.svg" alt="复制配置地址、导入 Clash Verge Rev 订阅并选中的操作示意"><figcaption>导入后记得选中这份订阅</figcaption></figure>
<div class="note">配置地址是你的个人订阅,请勿公开分享。</div></section>
<section id="proxy"><h2><span class="num">3</span>选择线路与规则模式</h2>
<p>打开客户端的 <strong>代理</strong> 页面,选择 <strong>规则</strong> 模式,再在代理组中选择一条可用线路;也可以使用订阅提供的自动选择组。</p>
<figure><img src="./images/04-proxy.svg" alt="Clash Verge Rev 规则模式和线路选择操作示意"><figcaption>规则模式与线路选择</figcaption></figure>
<p>节点列表为空时,返回订阅页面更新订阅,并确认已选中这份配置。</p></section>
<section id="connect"><h2><span class="num">4</span>开启系统代理,开始使用</h2>
<p>在客户端打开 <strong>系统代理</strong> 开关,再用浏览器访问你需要的网站。停止使用时,先关闭系统代理,再退出客户端。</p>
<figure><img src="./images/05-connect.svg" alt="开启系统代理、浏览器验证和停止连接的操作示意"><figcaption>完成导入、选好线路后开启系统代理</figcaption></figure>
<div class="note">系统代理主要作用于遵循系统代理设置的应用。终端工具或部分应用不会自动使用它;需要接管更多应用时,可安装客户端服务并开启 TUN 模式,按提示授权。</div></section>
<section id="help" class="tutorial-help"><h2>遇到问题</h2>
<details open><summary>安装时提示架构不支持或缺少依赖</summary><p>确认安装包架构与 <code>uname -m</code> 的结果一致。使用 apt 或 dnf 安装,让包管理器处理依赖;Ubuntu 20.04 等旧系统可能缺少所需库,建议升级到较新版本。</p></details>
<details open><summary>应用打不开、黑屏或界面卡顿</summary><p>Linux 桌面环境与显卡驱动可能影响界面启动。可参照 <a href="https://www.clashverge.dev/faq/linux.html" target="_blank" rel="noopener noreferrer">Linux 启动问题说明</a>,根据自己的报错处理;向网站工单提供发行版、桌面环境与错误信息,有助于定位问题。</p></details>
<details open><summary>导入失败或没有节点</summary><p>重新复制完整配置地址,确认套餐可用,更新订阅并选中导入的配置。</p></details>
<details open><summary>开启后网页仍打不开</summary><p>确认系统代理已开启,并停止其他代理客户端。尝试换一条线路;若浏览器使用独立代理设置,将其改为使用系统代理。仍有问题可提交工单。</p></details>
<details open><summary>没有桌面的 Linux 服务器能用吗?</summary><p>本教程的 Clash Verge Rev 需要图形界面,不适用于仅通过 SSH 使用的服务器。</p></details>
</section>