Skip to content

Instantly share code, notes, and snippets.

@shl7cc
Created March 4, 2015 05:21
Show Gist options
  • Save shl7cc/c07defc61418843dff4b to your computer and use it in GitHub Desktop.
Save shl7cc/c07defc61418843dff4b to your computer and use it in GitHub Desktop.
add EPEL repo to CentOS box (install tmux)
#!/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