0% found this document useful (0 votes)
35 views1 page

Mongo, Node Install On Server Commands

The document provides instructions for installing Node.js and MongoDB on Ubuntu. For Node.js, it describes downloading a setup script, configuring it, and installing Node.js. For MongoDB, it outlines adding the MongoDB repository key, updating package lists, and installing and starting MongoDB. Both sections include links to more detailed installation guides.

Uploaded by

Muhamman Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Mongo, Node Install On Server Commands

The document provides instructions for installing Node.js and MongoDB on Ubuntu. For Node.js, it describes downloading a setup script, configuring it, and installing Node.js. For MongoDB, it outlines adding the MongoDB repository key, updating package lists, and installing and starting MongoDB. Both sections include links to more detailed installation guides.

Uploaded by

Muhamman Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy