Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Linux Server Setup & MERN Deployment

Traversy Media via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to set up a Linux Ubuntu server, configure SSH keys, and deploy a MERN (MongoDB, Express, React, Node.js) application using PM2 process manager and Nginx reverse proxy. Follow step-by-step instructions to create a server, generate SSH keys, connect securely, upgrade packages, and create a new user with enhanced security measures. Install Node.js, clone your application, set up MongoDB, configure environment variables, and manage dependencies. Implement PM2 for process management, configure firewall settings, and install Nginx as a reverse proxy. Finally, learn how to set up a domain name and secure your application with SSL.

Syllabus

- Intro & Slides.
- Creating a Server.
- Generating SSH keys.
- Connecting to the server.
- Upgrade packages.
- Create a new user.
- Add public key for new user.
- Disable password login.
- Auth with new user SSH key.
- Install Node.js on the server.
- Clone app on to the server.
- MongoDB setup.
- .env setup.
- Install dependencies.
- PM2 process manager.
- Firewall setup.
- Nginx install & configure.
- Domain Name & SSL.

Taught by

Traversy Media

Reviews

Start your review of Linux Server Setup & MERN Deployment

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.