make sure change count base on machine RAM
sudo apt-get -y update
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=2048
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1
sudo vi /etc/fstab
# append content below into that fstab editor. make it new line
/var/swap.1 swap swap defaults 0 0
install node js
cd ~ && curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Install Postgres Database
sudo apt-get -y install postgresql libpq-dev
please follow this reference for complete setup psql
Setup user account by follow this references