Last active
August 29, 2015 13:57
-
-
Save GeorgeErickson/9477222 to your computer and use it in GitHub Desktop.
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
sudo apt-get install vim | |
sudo apt-get install git-core | |
sudo apt-get -y install nodejs | |
update-alternatives --set editor /usr/bin/vim.tiny |
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
# as root user | |
apt-get -y install nginx | |
service nginx start |
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
echo "deb http://apt.postgresql.org/pub/repos/apt/ saucy-pgdg main" >> /etc/apt/sources.list | |
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get -q -y install postgresql-9.3 postgresql-9.3-postgis postgresql-contrib libpq-dev | |
# check setup | |
# sudo su - postgres | |
# psql | |
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
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash | |
echo 'gem: --no-ri --no-rdoc' >> $HOME/.gemrc | |
rbenv bootstrap-ubuntu-12-04 | |
rbenv install 2.0.0-p353 | |
rbenv global 2.0.0-p353 |
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
sudo apt-add-repository ppa:brightbox/ruby-ng | |
sudo apt-get update | |
sudo apt-get install ruby rubygems ruby-switch | |
sudo apt-get install ruby2.1 ruby2.1-dev | |
sudo ruby-switch --set ruby2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://brightbox.com/docs/ruby/ubuntu/