# Linux Clash

<mark style="color:red;">**SSL对于时间有比较严格的要求，客户端与服务端时间相差不能差过1分钟，否则节点全部超时。 请置系统时间与Internet时间同步，以确保不会遇到该问题。**</mark>



## 1、Linux 版本重多， 这里演示 Ubuntu  系统 <a href="#id-1-xia-zai-ke-hu-duan" id="id-1-xia-zai-ke-hu-duan"></a>

## 2、获取到订阅  <a href="#id-2-huo-qu-dao-ding-yue" id="id-2-huo-qu-dao-ding-yue"></a>

获取您的订阅链接，用于将服务器增加到客户端上。

打开官网

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSvl01LqtDEX46ERVsN%2F-MT176iaS0GC251fkTYI%2F-MT1AmtmKifKpTdTd5KM%2F1.PNG?alt=media&#x26;token=fee7e0bc-0862-459d-9898-d4a65b180a52" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**点击**</mark> 购买的 <mark style="color:red;">**有较的**</mark> 服务。

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSvl01LqtDEX46ERVsN%2F-MT176iaS0GC251fkTYI%2F-MT1BOlI_pY8UaAnTwxi%2F2.PNG?alt=media&#x26;token=c1c74b47-bb9a-41ae-8026-e07c360bb55f" alt=""><figcaption></figcaption></figure>

复制 **【**<mark style="background-color:red;">**Clash 客户端订阅**</mark>**地址】【**<mark style="background-color:red;">**Clash 客户端订阅**</mark>**地址】【**<mark style="background-color:red;">**Clash 客户端订阅**</mark>**地址】**

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSvl01LqtDEX46ERVsN%2F-MT9k0CyDaZBxocf3fXt%2F-MT9oLZeH-2GgQcSXbdE%2F31.png?alt=media&#x26;token=b16b4c05-3e23-43bd-ad06-201aa976f0ca" alt=""><figcaption></figcaption></figure>

## 3、下载Linux版本Clash客户端  <a href="#id-2-huo-qu-dao-ding-yue" id="id-2-huo-qu-dao-ding-yue"></a>

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FNCsNytdTQoFVz57rYNgj%2Fu1.png?alt=media&#x26;token=fd7dbd4e-f914-48c1-bdf6-1177de14e281" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FfWqqVT1GcjV5sij6H2iJ%2Fu2.png?alt=media&#x26;token=a5d7eea5-47bc-485b-8657-75c8dda061b0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2F7KZxE7MFZoEvv5ZVBCiu%2Fu3.png?alt=media&#x26;token=d3f3463f-9a10-4956-ac2d-3d147ac4b972" alt=""><figcaption></figcaption></figure>

下载命令

```
wget http://43.201.83.133/Clash_Linux_.zip
```

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FrasJnuvFkXitZyef5OpP%2Fu4.png?alt=media&#x26;token=aab65c98-2bfa-4026-b380-e250c0ab723d" alt=""><figcaption></figcaption></figure>

解压包

```
sudo apt-get install unzip
unzip Clash_linux_.zip
```

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FO5YrPO7FCrPqEIziSOjs%2Fu5.png?alt=media&#x26;token=e1d4392b-d9df-49d2-bc24-ee834afa814d" alt=""><figcaption></figcaption></figure>

给予权限

```
Chmod 777 -R ClashLinux
```

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FARYQN81RpSJa7fdlCez9%2Fu6.png?alt=media&#x26;token=4790f911-38a0-4220-b1c0-456e1bcea20e" alt=""><figcaption></figcaption></figure>

进入目录

```
cd ClashLinux
```

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2Fews3agklCcqKoUQ4P3YW%2Fu7.png?alt=media&#x26;token=56bb87e3-bdf4-459c-902b-4d5b60c3cc08" alt=""><figcaption></figcaption></figure>

运行 Clash&#x20;

在 Clash 目录下输入命令 ./cfw 运行 Clash

```
./cfw
```

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FTMIYemK4OI9Vv4I64KK4%2Fu8.png?alt=media&#x26;token=44eb9c02-d945-43a5-b6d8-988278a9630e" alt=""><figcaption></figcaption></figure>

Clash of Linux 界面

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FR5O7z5kMJnzHW9rjKBVO%2Fu9.png?alt=media&#x26;token=fade348e-e1c1-48e1-bf99-31fce71ae474" alt=""><figcaption></figcaption></figure>

点击 【Profiles】界面

1 的地方粘贴上面第二步在官网复制到的 Clash 订阅链接地址。

2 复制后点击Download。

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2Fa4uFoW6ZYVL9CEnVim5W%2Fu10.png?alt=media&#x26;token=cba010c5-2bdd-44bd-8efc-e3d563e26630" alt=""><figcaption></figcaption></figure>

3 选择加载的订阅配置。

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FufbSA6ArswI7qU3cMk8Z%2Fu11.png?alt=media&#x26;token=fc8dcab4-e468-438b-93b7-b76d81f60d0e" alt=""><figcaption></figcaption></figure>

【Proxies】界面可以选择不同的节点，规则模式使用默认【Rule】。

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2F03D6Y7Olc8i85nxgY51X%2Fu12.png?alt=media&#x26;token=488d5e42-0a44-4f47-91e7-29ffc2e7706a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FSaK1Agbf6CY0G39bXkd5%2Fu13.png?alt=media&#x26;token=ff3cb0d7-3f0e-4ac8-9673-0cb352d30d3b" alt=""><figcaption></figcaption></figure>

最后修改 Ubuntu 的网络 Proxy&#x20;

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FsDK1BjxwbyWpbSyIi5AI%2Fu14.png?alt=media&#x26;token=4b55ace4-ab40-467b-bc45-7aa34aff5d92" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1947946979-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSvl01LqtDEX46ERVsN%2Fuploads%2FJ0xj6OYz2cLzXv80nV7d%2Fu15.png?alt=media&#x26;token=a15dceb6-0c48-457a-b533-76915dc3f71b" alt=""><figcaption></figcaption></figure>

完成。



