vi /etc/yum.conf add proxy=http://ip:port proxy_username=username proxy_password=password