Last active
September 19, 2015 21:00
-
-
Save jadaradix/aa87b454d57118bc6935 to your computer and use it in GitHub Desktop.
Make a DigitalOcean Ubuntu Node.js HTTP Server from scratch. Handy.
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
apt-get update | |
apt-get install nodejs -y | |
apt-get install npm -y | |
npm install http-server -g | |
ln -s /usr/bin/nodejs /usr/bin/node | |
echo "Hello, World" > index.html | |
http-server -p 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment