yum设置代理

echo "proxy=http://[proxy_url]:8080" >> /etc/yum.conf

  

转载于:https://www.cnblogs.com/long123king/p/3760562.html