linux配置class

复制代码
tt@tt-PC:~/project$ cat /lib/systemd/system/clash.service
[Unit]
Description=A rule based proxy in Go for %i.
After=network.target

[Service]
Type=simple
User=wtt
Restart=on-abort
ExecStart=/home/tt/.config/clash/clash-linux-amd64-v1.13.0 -d /home/tt/.config/clash  (config.yaml所在目录)

[Install]
WantedBy=multi-user.target


2. github下载clash客户端

3. Windows安装clash客户端,导入ti子后,将配置导出为yaml文件
4. 将config.yaml文件放到linux /home/tt/.config/clash目录下
复制代码

 

posted @   明天OoO你好  阅读(173)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
· 【译】Visual Studio 中新的强大生产力特性
点击右上角即可分享
微信分享提示