Last active
February 12, 2016 09:12
-
-
Save ASnow/d70b6a053d341cf0a475 to your computer and use it in GitHub Desktop.
./init_vps.sh username
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu 14.04 initial script for rvm setup on VPS | |
# ./init_vps.sh username | |
sudo adduser $1 | |
sudo usermod -aG sudo $1 | |
sudo su $1 | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
sudo apt-get install curl | |
\curl -sSL https://get.rvm.io | bash -s stable | |
source /etc/profile.d/rvm.sh | |
rvm install 2.2.4 | |
sudo apt-get install build-essential | |
sudo apt-get install clang | |
sudo apt-get install cmake | |
rvm requirements | |
sudo apt-get install libgmp-dev | |
gem install bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment