Linux - debian11
第一步 拉取核心
wget https://github.com/Dreamacro/clash/releases/download/v1.6.5/clash-linux-amd64-v1.6.5.gz
运行
gunzip clash-linux-amd64-v1.6.5.gz
chmod +x clash-linux-amd64
下载配置
wget 订阅链接&flag=clash
保持后台运行clash
apt update
apt install screen
screen -S clash
./clash -f config.yaml
按ctrl+A+D 切换到后台运行
设置代理
使用 nano / vim 等编辑器打开 ~/.bashrc ,在末尾添加一行:
export ALL_PROXY="socks5://127.0.0.1:7891"
打开clash面板 选择节点 一般默认即可
http://clash.razord.top/#/proxies
用命令测试代理是否成功
curl -I https://google.com
第一步 拉取核心
wget https://github.com/Dreamacro/clash/releases/download/v1.6.5/clash-linux-amd64-v1.6.5.gz
运行
gunzip clash-linux-amd64-v1.6.5.gz
chmod +x clash-linux-amd64
下载配置
wget 订阅链接&flag=clash
保持后台运行clash
apt update
apt install screen
screen -S clash
./clash -f config.yaml
按ctrl+A+D 切换到后台运行
设置代理
使用 nano / vim 等编辑器打开 ~/.bashrc ,在末尾添加一行:
export ALL_PROXY="socks5://127.0.0.1:7891"
打开clash面板 选择节点 一般默认即可
http://clash.razord.top/#/proxies
用命令测试代理是否成功
curl -I https://google.com