Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.