filmov
tv
How to deploy frontend code file on AWS step by step #nodejs #aws
Показать описание
You can take help from this stuff:
sudo yum update
sudo yum clean all
sudo dnf install amazon-linux-extras
sudo yum install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
Save the file by pressing Ctrl+O and then Enter in nano, or Esc then :wq then Enter in vi.
sudo nginx -t
sudo systemctl reload nginx
npm run build
npm start
npm install pm2 -g
pm2 start npm --name "nextjs" -- start
pm2 list
sudo systemctl reload nginx
this below one is for AMI2 LINUX
sudo mkdir -p /var/www/html/
sudo amazon-linux-extras install epel
npm install -g next
sudo amazon-linux-extras install nginx1
It's typically a type of vlog which helps to encounter some major issues have been faced by era's
sudo yum update
sudo yum clean all
sudo dnf install amazon-linux-extras
sudo yum install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
Save the file by pressing Ctrl+O and then Enter in nano, or Esc then :wq then Enter in vi.
sudo nginx -t
sudo systemctl reload nginx
npm run build
npm start
npm install pm2 -g
pm2 start npm --name "nextjs" -- start
pm2 list
sudo systemctl reload nginx
this below one is for AMI2 LINUX
sudo mkdir -p /var/www/html/
sudo amazon-linux-extras install epel
npm install -g next
sudo amazon-linux-extras install nginx1
It's typically a type of vlog which helps to encounter some major issues have been faced by era's