OPERATING SYSTEMSOS Linux

How to Upload a website to Server | How to setup Ubuntu Server | Digital Ocean

✨Digital Ocean Free $50 Sign Up Link : https://m.do.co/c/58bd1f3e0747
Hey Guys in this video I am going to show you how to upload the website we cloned in the last video to an ubuntu server so that anyone around the world can access the website from its domain name.

*how to clone a website*
Part 1 : https://youtu.be/-ZnmqvM4yyk

****
The important commands and links are mentioned below.
Enjoy !!!!

-install nodejs
sudo apt-get update
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash –
sudo apt-get install nodejs

-check the nodejs version
node –version

-install git
sudo apt-get update
sudo apt-get install git

-install pm2
sudo npm install pm2 -g

-Digital Ocean Tutorials Used
1. How to add domains ?
https://www.digitalocean.com/docs/networking/dns/how-to/add-domains/
2. How to install nodejs on ubuntu Server ?
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
3. How to install git on ubuntu server ?
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-16-04
4. Installing Pm2
https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps

source

ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *