Linux Server Setup & MERN Deployment
In this video, we will set up a Linux Ubuntu server, set up SSH keys, and deploy a MERN app by setting up PM2 and an Nginx reverse proxy.
⭐ $100 Credit With Linode!
https://linode.com/traversy
? Gist With Commands:
https://gist.github.com/bradtraversy/b8b72581ddc940e0a41e0bc09172d91b
? Goalsetter Project We Will Deploy:
https://github.com/bradtraversy/mern-tutorial
? All Courses
https://traversymedia.com
? Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia
? Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy
Timestamps:
0:00 - Intro & Slides
4:10 - Creating a Server
5:30 - Generating SSH keys
9:16 - Connecting to the server
10:18 - Upgrade packages
11:21 - Create a new user
12:32 - Add public key for new user
14:42 - Disable password login
15:49 - Auth with new user SSH key
17:37 - Install Node.js on the server
19:47 - Clone app on to the server
21:04 - MongoDB setup
24:51 - .env setup
26:13 - Install dependencies
29:20 - PM2 process manager
30:30 - Firewall setup
31:46 - Nginx install & configure
35:36 - Domain Name & SSL
Traversy Media
Traversy Media features the best online web development and programming tutorials for all of the latest web technologies including Node.js, Angular 2, React.js, PHP, Rails, HTML, CSS and much more...