Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Installing Node js

1- sudo apt update


2- curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
3- nano nodesource_setup.sh
4- sudo bash nodesource_setup.sh
5- sudo apt install nodejs

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-
18-04

Installing MongoDB

1- wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add


-
if ok go to 4 else 2
2- sudo apt-get install gnupg
3- wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add
-
4- echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu
bionic/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-
5.0.list
5- sudo apt-get update
6- sudo apt-get install -y mongodb-org
7- sudo systemctl start mongod

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

You might also like