Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直试图让 yum 在代理设置后面工作 export https_proxy,http_proxy并且ftp_proxy.
export https_proxy
http_proxy
ftp_proxy
这对apt-get或yum不起作用,但是当我在/etc/apt/apt.conf.d/95proxies中设置这些时,它就奏效了。
使用 centos 时是否有任何 yum 等价物?
好的,看起来你在 /etc/yum.conf 中设置了它
# The proxy server - proxy server:port number proxy=http://mycache.mydomain.com:3128 # The account details for yum connections proxy_username=yum-user proxy_password=qwerty