Created
May 18, 2018 17:11
-
-
Save judge2020/88f565c422eea86b5669f10c678e8f60 to your computer and use it in GitHub Desktop.
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
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf | |
sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo | |
sed -i 's|#baseurl=http://mirror.centos.org/centos/$releasever|baseurl=http://vault.centos.org/5.11|' /etc/yum.repos.d/*.repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment