Last active
August 29, 2015 14:03
-
-
Save jnyryan/f4495a9d5584ec2762fb to your computer and use it in GitHub Desktop.
Ubuntu set up scripts
This file contains hidden or 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
| #!/bin/bash | |
| #################### | |
| # Prerequisites | |
| cd ~ | |
| pwd | |
| # add apt-get-repository | |
| apt-get install -y software-properties-common python-software-properties | |
| # add latest nodejs build repo | |
| add-apt-repository ppa:chris-lea/node.js | |
| apt-get update | |
| # other installs | |
| apt-get install -y make curl git | |
| ##################### | |
| # Install nginx | |
| echo Installing nginx | |
| apt-get install -y nginx | |
| ##################### | |
| # Install nodejs | |
| echo Installing nodejs | |
| apt-get install -y nodejs | |
| echo npm installs | |
| npm install -g forever grunt-cli | |
| ##################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment