如何在 ubuntu 上使用 Clash
https://github.com/doreamon-design/clash/releases
上面是clash 的地址
clash_2.0.24_linux_386.tar.gz
下载 386 的 如果你的电脑是inter
tar -xzvf clash_2.0.24_linux_386.tar.gz
启动 ./clash
然后会在电脑上生成一个config的文件
/home/xxx/.config/clash
在之后 在win电脑上 找到
Country.mmdb
和
config.yaml 进行替换
https://clash.razord.top/#/proxies
进入这个网址是修改的
docker 使用代理
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo vim /etc/systemd/system/docker.service.d/http-proxy.conf
将下面的进行替换或者添加
[Service]
Environment="HTTP_PROXY=http://127.0.0.1:7890"
Environment="HTTPS_PROXY=http://127.0.0.1:7890"
Environment="NO_PROXY=localhost,127.0.0.1"
sudo systemctl daemon-reload
sudo systemctl restart docker