How do i install MongoDB on ubuntu?

0 votes
How do i install Mongodb on ubuntu? Can I get all the steps and commands? Thank you
Mar 14 in Database by Aryaa
46 views

1 answer to this question.

0 votes

Hey @Aryaa, follow these steps:

Import Public Key

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

Create a list file

echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list 
sudo apt-get update
sudo apt-get install -y mongodb-org

Check status

service mongod status
answered Mar 15 by Avinash

Related Questions In Database

0 votes
1 answer

How do I install MSSQL Server on Linux?

Hey @Rajni, to install MSSQL Server on ...READ MORE

answered Mar 17 in Database by Rakesh
10 views
0 votes
1 answer

How do I install MariaDB on Windows?

Hwy @Mike, install the latest stable version ...READ MORE

answered Mar 22 in Database by Nitin
21 views
0 votes
1 answer

How do I enable Oracle automatically on systemboot?

To enable the database service to start ...READ MORE

answered Oct 5, 2018 in Database by Frankie
• 9,810 points
24 views
0 votes
0 answers

How to install Oracle DB on ubuntu?

Can anyone help me with the step ...READ MORE

Feb 28 in Database by Sukanya Rajput
35 views
0 votes
1 answer

How to install MySQL in Ubuntu?

To install MySQL on ubuntu you have ...READ MORE

answered Feb 28 in Database by Priyaj
• 56,160 points
32 views
0 votes
1 answer

How to install Oracle DB on Windows?

Installing Oracle DB is pretty easy wrt other ...READ MORE

answered Feb 28 in Database by Priyaj
• 56,160 points
73 views
0 votes
1 answer
+13 votes
2 answers