How To Set Up a Node.js Application for Production on Ubuntu 14.04

Kelvion New Plate Heat Exchanger


In this screencast tutorial, I will cover setting up a production-ready Node.js environment that is composed of two Ubuntu 14.04 servers; one server will run Node.js applications managed by PM2, while the other will provide users with access to the application through an Nginx reverse proxy to the application server.

Node.js is an open source Javascript runtime environment for easily building server-side and networking applications. The platform runs on Linux, OS X, FreeBSD, and Windows, and its applications are written in JavaScript. Node.js applications can be run at the command line but I will show you how to run them as a service, so they will automatically restart on reboot or failure, so you can use them in a production environment.

Related tutorial:

How To Set Up a Node.js Application for Production on Ubuntu 14.04

Check out the DigitalOcean Community for more system administration tutorials:
– https://www.digitalocean.com/communit…
– https://www.digitalocean.com/communit…

Leave a comment or tweet at Mitchell and DigitalOcean to tell us if this helped you.

To learn more about DigitalOcean: https://www.digitalocean.com/
Follow us on Twitter: https://twitter.com/digitalocean
Like us on Facebook: https://www.facebook.com/DigitalOcean
Follow us on Instagram: https://www.instagram.com/thedigitalocean
We’re hiring: http://grnh.se/aicoph1
Tweet at Mitch! http://twitter.com/thisismitch


Duration: 7:6
Publisher: DigitalOcean
You can watch this video also at the source.