Skip to content

Instantly share code, notes, and snippets.

@GregIngelmo
Last active August 29, 2015 14:00
Show Gist options
  • Save GregIngelmo/11231283 to your computer and use it in GitHub Desktop.
Save GregIngelmo/11231283 to your computer and use it in GitHub Desktop.
Base config for Redhat Servers

Base config for Redat servers

Base dev libs

sudo yum groupinstall "Development Tools" -y

Install EPEL

sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

Enable EPEL Testing
Edit /etc/yum.repos.d/epel-testing.repo Set enabled=1

Etckeeper

sudo yum install etckeeper -y && cd /etc && etckeeper init && etckeeper commit "Initial Commit"

Utilities

sudo yum install htop -y

Tmux

Libevent

cd ~/
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
sudo make install

tmux

cd ~/
wget "http://sourceforge.net/projects/tmux/files/latest/download?source=files"
tar xvf tmux-1.8.tar.gz
cd tmux-1.8
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local
make
sudo make install

Git

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
wget https://git-core.googlecode.com/files/git-1.8.4.1.tar.gz
tar xvf git-1.8.4.1.tar.gz
cd git-1.8.4.1
make prefix=/usr/local all
sudo make prefix=/usr/local install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment