Skip to content

Instantly share code, notes, and snippets.

@mikedhart
Created January 24, 2016 23:12
Show Gist options
  • Save mikedhart/02da98a86fd067919620 to your computer and use it in GitHub Desktop.
Save mikedhart/02da98a86fd067919620 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "******** update"
apt-get clean
apt-get -y -f update
apt-get -y install curl
echo "******** install mysql"
debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
# Installing packages
apt-get install -y mysql-server mysql-client libmysqlclient-dev
echo "******** install rvm"
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash
rvm automount
rvm install 2.2.2
rvm use 2.2.2 --default
echo "********* install git"
apt-get -y -f install git
echo "********* install tmux"
apt-get -y -f install tmux
echo "********* install vim"
apt-get -y -f install vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment