Created
March 4, 2015 05:21
-
-
Save shl7cc/c07defc61418843dff4b to your computer and use it in GitHub Desktop.
add EPEL repo to CentOS box (install tmux)
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
#!/bin/bash | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -Uvh epel-release-6*.rpm | |
#Cannot retrieve metalink for repository: epel | |
sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo | |
sudo yum install -y tmux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment