sudo yum update
sudo yum install git
git clone https://gist.github.com/2776679.git
chmod 777 install-redis.sh
./install-redis.sh
sudo yum update
sudo yum install git
git clone https://gist.github.com/2776679.git
chmod 777 install-redis.sh
./install-redis.sh
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.40 | |
export VERSION_OPENSSL=openssl-1.0.2l | |
export VERSION_NGINX=nginx-1.10.3 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
# shortform git commands | |
alias g='git' | |
# push changes to an empty git repository for the first time | |
git push --set-upstream origin master | |
# clear out git hooks | |
find .git/hooks -type l -exec rm {} \; && find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \; | |
# remove untracked files in a git repository |