Last active
January 1, 2016 10:39
-
-
Save dpaluy/8132377 to your computer and use it in GitHub Desktop.
DigitalOcean Install
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 |
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/ precise-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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment