# Open yum.conf vi /etc/yum.conf # Add this line at the end of file echo "proxy=http://nom_or_ip_address_of_proxy:port/" >> /etc/yum.conf