其他分享
首页 > 其他分享> > snap设置代理

snap设置代理

作者:互联网

snap不支持镜像,只能设置代理

 

安装

sudo apt install snapd

 

修改配置

sudo systemctl edit snapd

 

[Service]
Environment="http_proxy=socks://10.0.2.2:1080"
Environment="https_proxy=socks://10.0.2.2:1080"

 

重启

sudo systemctl daemon-reload
sudo systemctl restart snapd

 

标签:1080,sudo,代理,socks,Environment,systemctl,snapd,设置,snap
来源: https://www.cnblogs.com/ziyouchutuwenwu/p/14498125.html