Skip to content

Instantly share code, notes, and snippets.

@jamesfreeman959
Created October 31, 2017 17:41
Show Gist options
  • Save jamesfreeman959/0a6449d40d6a33caba087ab5608cfb72 to your computer and use it in GitHub Desktop.
Save jamesfreeman959/0a6449d40d6a33caba087ab5608cfb72 to your computer and use it in GitHub Desktop.
quru-meetup-proxy.sh
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