Skip to content

Instantly share code, notes, and snippets.

@denisidoro

denisidoro/setup.sh

Last active Jan 30, 2017
Embed
What would you like to do?
Codeanywhere CentOS setup
#!/bin/sh
# Update and install some binaries
sudo yum -y update
sudo yum -y install zsh curl wget git nano unzip
# Use temporary directory
mkdir ~/tmp
cd ~/tmp
# Install oh-my-zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
# Install tmux
curl https://gist.githubusercontent.com/rothgar/cecfbd74597cc35a6018/raw/1f96ddcae45419788b2076d965851e072c3f201c/install-tmux | bash
# Install htop
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ihv epel-release-6-8.noarch.rpm
sudo yum -y install htop
# Install Leiningen
curl https://gist.githubusercontent.com/kessler/8289473/raw/bc78eb492fa045c66d0893735c43b0855bb4f742/gistfile1.sh | bash
# Cleanup
rm -rf ~/tmp
cd ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment