Created
April 30, 2014 22:57
-
-
Save johnnyjung/7f93d0bb80e495eedf66 to your computer and use it in GitHub Desktop.
Digital Ocean Talk - USCLUG 5/1/14
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
1. Log onto Digital Ocean | |
2. Add promo code _____ | |
3. Enter billing info | |
4. Create ssh key. Follow directions on this page. Upload key | |
-> this step is optional, but highly recommended | |
5. Create droplet w/ MEAN Stack droplet | |
-> you can normally choose what you want | |
-> I would use ubuntu 14.04 x32 | |
6. Log onto it (using ssh key or p/w that was emailed to) | |
7. adduser user | |
8. visudo | |
9. newuser ALL=(ALL:ALL) ALL | |
-> add this line below the line with root ALL=(ALL:ALL) ALL | |
-> creating sudo privileges | |
10. mean stack is created... let's use it | |
11. cd /opt/mean | |
12. grunt | |
-> task automation | |
11. sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
-> route port from 80 to 3000 so we can see our node.js webapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment