In this article, will show you how to deploy a REST API made using Nest JS along with Postgres in Ubuntu 20.04 LTS.
Install Postgres by typing in the terminal:
$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
Now that Postgres is installed in your system, you can switch to Postgres user by:
$ su - postgres
Now logged in as Postgres user, you can easily switch to the Postgres shell by typing
You will see something like this:
root@testapi:~# su — postgrespostgres@testapi:~# psql..postgres=#
Exit from the Postgres shell by typing…
In this article, I will be discussing how we can run a Node Js app inside a VPS so that we can access it from anywhere.
I have a basic VPS with Ubuntu and a subdomain setup where I will be setting up my node application. If you don't know how to set up a subdomain, you can check my previous article. First of all login into your VPS by using putty or Powershell by using the command
Install Node JS and NPM by using the command:
$ curl -sL https://deb.nodesource.com/setup_14.x …
This article will show how you can add an SSL certificate to your Domains in VPS.
If you followed my last story, I have shown how you can add multiple domains/subdomains to your VPS. I strongly recommend checking it out as I will continue that story to add certificates to the domain.
So as for now, you have already added domains/subdomains to your VPS by pointing ‘A’ record to your IP Address to the Domain Provider. Let’s continue adding SSL to the Domains.
In this tutorial, I have 2 websites,
Add the Certbot repository so that…
In this article, I will be showing you how you can install WordPress in any VPS using LEMP(Linux, Nginx, MySQL, PHP) stack.
Install Nginx Server
$ sudo apt-get update
$ sudo apt-get install nginx
The above 2 commands will install the Nginx server to your VPS. To configure it more, you can check out my 1st article which shows how to configure Nginx and add multiple domains.
Use the below commands to install the MySQL server and configure it:
$ sudo apt-get install mysql-server
$ sudo mysql_secure_installation
After running the second command, you will be asked to validate…
So in this article, I will be discussing how to set up Nginx Server with multiple Domains or Subdomains.
Okay, so now all the things are setup. We will start with the Actual Process.
Connect your domain with the server so that you don't have…
Flutter | Vue | DevOps | Digital Marketing