Build-Cozy-Ubuntu-Environment icon indicating copy to clipboard operation
Build-Cozy-Ubuntu-Environment copied to clipboard

clash相关问题

Open Nu1sance opened this issue 10 months ago • 4 comments

请问大佬,按照你的方法启动clash后又该如何停止呢?我使用sudo systemctl stop clash之后却无法再次启动了。 另外如果yaml文件中有很多节点,该如何选择其中的节点呢?第一次使用clash for linux,很是迷茫,烦请大佬解答

Nu1sance avatar Mar 31 '24 12:03 Nu1sance

  1. 启动的clash该如何停止? 在文档里使用的方式是,自建clash.service服务,通过开机自启动的形式运行clash的,停止服务就是你提到的sudo systemctl stop clash;如果无法再次启动,可能尝试直接运行clash程序,看看它报错是什么来查找问题;
  2. 如何更改节点? 对于clash for linux这个程序我研究的也不是很多,个人使用的方法如下:启用clash服务后,通过可视化界面进行调整;

希望以上解答能帮到你!

afeng616 avatar Apr 02 '24 06:04 afeng616

大佬请教下,如果服务商没有给ubuntu版本的配置文件呢

weaki233 avatar Jun 24 '24 04:06 weaki233

大佬请教下,如果服务商没有给ubuntu版本的配置文件呢

clash for linux运行需要的配置文件就两个,其中Country.mmdb基本通用,可以直接去网上搜索下载。

剩下的节点文件可以尝试使用以下方式获取: 如果有在windows上正常使用过clash的话,可以把windows里生成的节点文件拿来用。一般名称为xxxxx.yamlxxxx.yml目录一般为C:\Users\xxx\.config\clash\profiles,可在clash for windows软件中profile一栏通过右键找到该文件。 如果是其他软件应该也会有相应的功能才对,可以尝试查找一下。

希望以上建议对你有所帮助~

afeng616 avatar Jun 24 '24 05:06 afeng616

好的谢谢你

weaki233 avatar Jun 24 '24 05:06 weaki233