首页
技术
登录
6mi
u
盘
搜
搜 索
技术
DebianUbuntu apt 带参数配置http临时代理方法
DebianUbuntu apt 带参数配置http临时代理方法
技术
2025-03-01
43
在apt命令后使用参数-o 如:
sudo
apt-get
install
nginx
修改为:
sudo
apt-get
-o Acquire::http::proxy
=
"socks5h://127.0.0.1:1080/"
install
nginx
将对应127.0.0.1:1080,修改为要设置代理的IP和端口即可。
转载请注明原文地址:https://ipadbbs.8miu.com/read-55234.html
最新回复
(
0
)