Sign in

Finding Magic.

Install Git on your server

apt-get update
apt-get install git
#For public repogit clone For private repogit clone you can use ssh. here is a free guide:
then git clone the ssh link
if you get a permission denial execute the follow
ssh-add ~/.ssh/youRSAname

Remove old node and add new node

sudo apt-get purge --auto-remove nodejs npm
#install node through nvm it is easier to upgrade and downgrade nodesudo apt-get update
sudo apt-get install build-essential
curl -o- | bash#install the latest versionnvm install node//upon installatin the new version…

How does it work?

How to configure it?

sudo apt-get update
sudo apt-get install nginx


sudo apt-get install nginx
sudo apt-get update
sudo apt-get install python3-certbot-nginx
you can also do the installation using snap as recommended by certbot

Setup Ngnix

//Allow through Firewall, ufw stands for uncomplicated firewall
sudo ufw allow 'Nginx Full'
sudo certbot --server -d * --manual --preferred-challenges dns-01 certonlyDeploy a DNS TXT record provided by Let’s Encrypt certbot after running the…

Its All Changing.


How do indexes work?

collectionName.createIndex({field:value}) //for creating indexcollectionName.dropIndex({field:value}) //for removing index



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store