97 lines
10 KiB
HTML
97 lines
10 KiB
HTML
<div class="hn-first-use">
|
||
<style>
|
||
/* Shared source, embedded in each HN article because the document renderer filters external stylesheets. */
|
||
.doc-body .hn-first-use {
|
||
--guide-accent:var(--theme-color,#a3cc4b);
|
||
--guide-muted:var(--text-muted,#a5adb5);
|
||
--guide-border:var(--border-color,#394047);
|
||
display:flex; flex-direction:column; align-items:stretch; gap:14px;
|
||
max-width:900px; margin:0 auto; color:var(--text-color);
|
||
font-size:16px; font-weight:400; line-height:1.75;
|
||
letter-spacing:normal; word-spacing:normal;
|
||
}
|
||
.doc-body .hn-first-use > * { flex:none; margin:0; }
|
||
.doc-body .hn-first-use p:empty { display:none; }
|
||
.doc-body .hn-first-use p { margin:0; line-height:inherit; letter-spacing:normal; }
|
||
.doc-body .hn-first-use .intro { font-size:17px; }
|
||
.doc-body .hn-first-use .before { color:var(--guide-muted); font-size:14px; }
|
||
.doc-body .hn-first-use h2 { margin:18px 0 0; padding:0; border:0; font-size:23px; line-height:1.45; font-weight:600; }
|
||
.doc-body .hn-first-use h2:first-of-type { margin-top:10px; }
|
||
.doc-body .hn-first-use h3 { margin:0; padding:0; border:0; font-size:15px; line-height:1.6; font-weight:600; }
|
||
.doc-body .hn-first-use strong { font-weight:600; }
|
||
.doc-body .hn-first-use ol { display:flex; flex-direction:column; gap:6px; margin:0; padding:0 0 0 24px; }
|
||
.doc-body .hn-first-use ol > li { position:static; margin:0; padding:0 0 0 3px; line-height:1.75; list-style:decimal; }
|
||
.doc-body .hn-first-use figure { width:100%; margin:0; }
|
||
.doc-body .hn-first-use figure img { display:block; width:100%; height:auto; margin:0; padding:0; border:1px solid var(--guide-border); border-radius:7px; box-shadow:none; }
|
||
.doc-body .hn-first-use figcaption { margin:8px 0 0; font-size:13px; line-height:1.6; color:var(--guide-muted); }
|
||
.doc-body .hn-first-use .compact { max-width:760px; }
|
||
.doc-body .hn-first-use .download { display:inline-flex; align-items:center; align-self:flex-start; min-height:42px; padding:8px 17px; margin:0; border-radius:6px; background:rgba(var(--theme-color-rgb,163,204,75),.12); border:1px solid rgba(var(--theme-color-rgb,163,204,75),.24); color:var(--guide-accent); text-decoration:none; font-size:15px; line-height:1.6; font-weight:500; cursor:pointer; }
|
||
.doc-body .hn-first-use .download:hover { background:rgba(var(--theme-color-rgb,163,204,75),.2); }
|
||
.doc-body .hn-first-use .downloads { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
|
||
.doc-body .hn-first-use .small { color:var(--guide-muted); font-size:13px; line-height:1.7; }
|
||
.doc-body .hn-first-use .alternative { display:block; min-height:40px; margin:0; padding:0 0 0 14px; border-left:2px solid var(--guide-border); font-size:14px; line-height:1.8; }
|
||
.doc-body .hn-first-use .alternative > summary { display:block; min-height:40px; margin:0; padding:7px 0; line-height:26px; list-style:none; cursor:pointer; font-size:14px; font-weight:500; color:var(--guide-muted); transition:color .15s ease; }
|
||
.doc-body .hn-first-use .alternative > summary::-webkit-details-marker { display:none; }
|
||
.doc-body .hn-first-use .alternative > summary::before { content:""; display:inline-block; width:6px; height:6px; margin:0 12px 2px 1px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); transition:transform .15s ease; }
|
||
.doc-body .hn-first-use .alternative[open] > summary::before { transform:rotate(45deg); }
|
||
.doc-body .hn-first-use .alternative > summary:hover { color:var(--guide-accent); }
|
||
.doc-body .hn-first-use .alternative > :not(summary) { margin:12px 0 0; }
|
||
.doc-body .hn-first-use .alternative:not([open]) > :not(summary) { display:none; }
|
||
.doc-body .hn-first-use .alternative[open] { padding-bottom:4px; }
|
||
.doc-body .hn-first-use .alternative figure { max-width:760px; }
|
||
.doc-body .hn-first-use .result { font-size:14px; color:var(--guide-muted); }
|
||
.doc-body .hn-first-use .result strong { color:var(--text-color); }
|
||
.doc-body .hn-first-use .troubleshooting { display:flex; flex-direction:column; gap:18px; margin-top:14px; padding-top:24px; border-top:1px solid var(--guide-border); }
|
||
.doc-body .hn-first-use .troubleshooting h2 { margin:0; font-size:20px; }
|
||
.doc-body .hn-first-use .qa { display:flex; flex-direction:column; gap:6px; margin:0; }
|
||
.doc-body .hn-first-use .qa p { margin:0; color:var(--guide-muted); font-size:14px; line-height:1.75; }
|
||
.doc-body .hn-first-use .back { display:inline-block; align-self:flex-start; padding:6px 0; margin:0; font-size:14px; }
|
||
.doc-body .hn-first-use a:focus-visible, .doc-body .hn-first-use summary:focus-visible { outline:2px solid var(--guide-accent); outline-offset:4px; border-radius:3px; }
|
||
.doc-body .hn-first-use code { font-size:.9em; overflow-wrap:anywhere; }
|
||
.doc-body .hn-first-use pre { margin:0; padding:12px 16px; background:rgba(127,127,127,.08); border:1px solid var(--guide-border); border-radius:6px; overflow:auto; line-height:1.7; }
|
||
.doc-body .hn-first-use table { width:100%; border-collapse:collapse; font-size:14px; }
|
||
.doc-body .hn-first-use th,.doc-body .hn-first-use td { padding:10px 12px; text-align:left; border-bottom:1px solid var(--guide-border); }
|
||
@media(max-width:600px) {
|
||
.doc-body .hn-first-use { font-size:15px; gap:12px; }
|
||
.doc-body .hn-first-use .intro { font-size:16px; }
|
||
.doc-body .hn-first-use h2 { font-size:21px; margin-top:16px; }
|
||
.doc-body .hn-first-use h2:first-of-type { margin-top:8px; }
|
||
}
|
||
</style>
|
||
<p class="intro">在 Linux 桌面上,使用 <strong>Clash Verge Rev</strong> 连接 hardnerd。</p>
|
||
<p class="before">适用于支持 DEB 或 RPM 安装包的 Linux 桌面系统。开始前,请登录 hardnerd,确认套餐未到期、流量未用完。</p>
|
||
<h2>1. 选择安装包并安装</h2>
|
||
<p>Ubuntu / Debian 选择 <strong>DEB</strong>,Fedora / RHEL 系选择 <strong>RPM</strong>。在终端运行 <code>uname -m</code>:输出 <code>x86_64</code> 选择 x64,输出 <code>aarch64</code> 选择 ARM64。</p>
|
||
<a class="download" href="/#/docs/2">选择 Clash Verge Rev 安装包</a><p>进入「所有客户端」,找到 <strong>Clash Verge Rev → 选择版本下载</strong>,选择 Linux 下对应的 DEB 或 RPM。</p>
|
||
<figure class="compact"><img src="/brand/hn/tutorials/linux/install.svg" width="760" height="344" loading="lazy" alt="操作示意:安装包格式、处理器架构都需要匹配。"><figcaption>操作示意:安装包格式、处理器架构都需要匹配。</figcaption></figure>
|
||
<p>下载后,在文件管理器中双击安装包,通过系统软件安装器完成安装。安装好后,从应用菜单打开 <strong>Clash Verge Rev</strong>。</p>
|
||
<details class="alternative"><summary>无法通过双击安装时,可使用终端</summary><p>在安装包所在文件夹打开终端。将下方命令中的「实际下载的文件名」替换为下载文件的名称;文件名含空格时,请给整个路径加英文双引号:</p>
|
||
<p>Ubuntu / Debian:</p>
|
||
<pre><code>sudo apt install ./实际下载的文件名.deb</code></pre><p>Fedora / RHEL 系:</p>
|
||
<pre><code>sudo dnf install ./实际下载的文件名.rpm</code></pre><p>根据系统选择其中一条命令运行。按提示输入系统密码并确认安装;输入密码时不显示字符属于正常现象。</p>
|
||
</details>
|
||
<h2>2. 复制地址并导入订阅</h2>
|
||
<ol><li>回到 hardnerd <strong>仪表盘 → 导入订阅</strong>,点击<strong>复制订阅地址</strong>。</li><li>打开客户端的<strong>订阅</strong>页,粘贴完整地址,点击<strong>导入</strong>。</li><li>找到新增的订阅卡片,<strong>点击选中它</strong>。</li></ol>
|
||
<figure class="compact"><img src="/brand/hn/tutorials/shared/manual-import.svg" width="760" height="470" loading="lazy" alt="操作示意:复制地址 → 粘贴并导入 → 选中订阅。"><figcaption>操作示意:复制地址 → 粘贴并导入 → 选中订阅。</figcaption></figure>
|
||
<p class="small">请妥善保管订阅地址,不要公开或转发。</p>
|
||
<h2>3. 选择线路</h2>
|
||
<ol><li>打开客户端的<strong>代理</strong>页面,选择<strong>规则</strong>模式。</li><li>展开用于选择线路的代理组,点击一条线路;如有<strong>自动选择</strong>,也可以使用自动选择。</li></ol>
|
||
<figure class="compact"><img src="/brand/hn/tutorials/shared/select-route.svg" width="880" height="286" loading="lazy" alt="线路选择示意:使用规则模式,再选择线路。组名和线路名称以客户端显示为准。"><figcaption>线路选择示意:使用规则模式,再选择线路。组名和线路名称以客户端显示为准。</figcaption></figure>
|
||
<h2>4. 开启系统代理</h2>
|
||
<p>在客户端首页或设置页找到<strong>系统代理</strong>并开启,再用浏览器访问需要通过代理打开的网站。</p>
|
||
<figure class="compact"><img src="/brand/hn/tutorials/shared/enable-proxy.svg" width="880" height="213" loading="lazy" alt="操作示意:开启系统代理,再打开网页。不同版本的开关位置可能不同。"><figcaption>操作示意:开启系统代理,再打开网页。不同版本的开关位置可能不同。</figcaption></figure>
|
||
<p><strong>确认目标网页能正常打开,即完成连接。</strong></p>
|
||
<p class="small">使用期间保持客户端运行。用完后,先关闭系统代理,再退出客户端。</p>
|
||
<section class="troubleshooting"><h2>遇到问题</h2>
|
||
<div class="qa"><h3>安装提示缺少依赖或打不开应用</h3>
|
||
<p>确认安装包与发行版、架构匹配;通过系统软件包管理器处理依赖,不要强制忽略依赖安装。</p>
|
||
</div><div class="qa"><h3>导入后看不到线路</h3>
|
||
<p>先在网站确认套餐未到期、流量未用完,再到客户端「订阅」页更新订阅,并选中对应卡片。</p>
|
||
</div><div class="qa"><h3>系统代理已开启,浏览器仍无法访问</h3>
|
||
<p>先检查浏览器是否使用系统代理,避免浏览器单独设置了其他代理。部分桌面环境不会自动应用代理设置,可在工单中提供发行版、桌面环境和浏览器名称。</p>
|
||
</div><div class="qa"><h3>仍然无法使用</h3>
|
||
<p>通过「仪表盘 → 工单支持」提交工单,说明系统版本、客户端版本和出现问题的步骤,并附上报错截图。请遮住截图中的订阅地址。</p>
|
||
</div></section>
|
||
<a class="back" href="/#/docs/1">← 返回新手指引</a>
|
||
</div>
|