snap设置代理,解决安装速度慢

2019-12-08  本文已影响0人  _背包旅行

步骤:
sudo systemctl edit snapd

[Service]
Environment="http_proxy=http://127.0.0.1:16888"
Environment="https_proxy=http://127.0.0.1:16888"

sudo systemctl daemon-reload
sudo systemctl restart snapd

上一篇下一篇

猜你喜欢

热点阅读