Ubuntu上网步骤

进入小猫咪的文件夹

cd /opt/clash

运行./cfw文件

./cfw

修改配置文件

sudo chmod 666 /etc/environment

编辑文件

gedit /etc/environment

填入以下内容并保存

http_proxy=http://127.0.0.1:7890/
https_proxy=http://127.0.0.1:7890/
ftp_proxy=http://127.0.0.1:7890/
HTTP_PROXY=http://127.0.0.1:7890/
HTTPS_PROXY=http://127.0.0.1:7890/
FTP_PROXY=http://127.0.0.1:7890/

改为原来的只读状态

sudo chmod 444 /etc/environment

猜你喜欢

转载自blog.csdn.net/weixin_45226065/article/details/130901559