Skip to content

Instantly share code, notes, and snippets.

View Harsh-js's full-sized avatar
🌴
On vacation

Harsh-js

🌴
On vacation
View GitHub Profile
@Harsh-js
Harsh-js / SERVER_SETUP.md
Last active January 5, 2024 11:47
Ubuntu Server Setup

EC2 Server setup - nodejs, nginx, nextjs, php, mysql, mongodb, redis

Switch to root user

sudo su

Update Packages

sudo apt-get update
@Harsh-js
Harsh-js / install_nginx.md
Created October 6, 2023 11:04 — forked from piyushgarg-dev/install_nginx.md
Nginx Installation

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Create Free AWS Account

Create free AWS Account at https://aws.amazon.com/

2. Create and Lauch an EC2 instance and SSH into machine

I would be creating a t2.medium ubuntu machine for this demo.

@Harsh-js
Harsh-js / README.md
Created October 6, 2023 11:04 — forked from piyushgarg-dev/README.md
Kafka Crash Course