mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-06 21:16:17 +08:00
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
# Clash
|
|
wget -O clash.gz https://github.com/Dreamacro/clash/releases/download/v1.11.8/clash-linux-amd64-v1.11.8.gz
|
|
gunzip clash.gz
|
|
wget -O lite-linux-amd64 https://github.com/mahdibland/SSAggregator/releases/download/1.0.0/lite-linux-amd64
|
|
wget -O clash_config.yml https://raw.githubusercontent.com/mahdibland/ShadowsocksAggregator/master/utils/speedtest/clash_config_eu.yml
|
|
wget -O proxychains.conf https://raw.githubusercontent.com/mahdibland/ShadowsocksAggregator/master/utils/speedtest/proxychains.conf
|
|
wget -O lite_config.json https://raw.githubusercontent.com/mahdibland/ShadowsocksAggregator/master/utils/speedtest/lite_config_yaml.json
|
|
#初始化 Clash
|
|
chmod +x ./clash && ./clash &
|
|
#安装并配置 proxychains
|
|
sudo apt-get install proxychains
|
|
sudo chmod 777 ../../../../../../etc/proxychains.conf
|
|
mv -f proxychains.conf ../../../../../../etc/proxychains.conf
|
|
#开始运行 Clash
|
|
sudo pkill -f clash
|
|
curl -i ifconfig.me
|
|
./clash -f clash_config.yml &
|
|
sleep 5
|
|
sudo nohup proxychains curl -i ifconfig.me
|
|
sleep 5
|
|
sudo nohup proxychains curl -i ifconfig.me
|
|
sleep 5
|
|
sudo nohup proxychains curl -i ifconfig.me
|