24 03 2013
git.sh
My attempt at making installing git on servers at work much more efficient.
#!/bin/bash # Install git on CentOS # To use do; wget http://imadinosaur.net/scripts/git && sh git # # Install some dependencies yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel # Download and extract cd /usr/src wget https://git-core.googlecode.com/files/git-1.8.2.tar.gz tar -xvf git-1.8.2.tar.gz cd git-1.8.2 # Compile and Install ./configure && make && make install