Created
October 31, 2017 17:41
-
-
Save jamesfreeman959/0a6449d40d6a33caba087ab5608cfb72 to your computer and use it in GitHub Desktop.
quru-meetup-proxy.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "proxy=http://172.16.190.14:3128" >> /etc/yum.conf | |
sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/*.repo | |
sed -i 's/^#baseurl/baseurl/g' /etc/yum.repos.d/*.repo | |
rm -f /etc/yum/pluginconf.d/fastestmirror.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment