Saturday, June 10, 2017

How to Install MongoDB on Ubuntu 16.04

In this post I will show how to Install MongoDB on Ubuntu 16.04.
Previously I had shown how to install MongoDB on Windows

Execute the following commands in the terminal one by one

sudo apt-key adv --keyserver hkp:// --recv 0C49F3730359A14518585931BC711F9BA15703C6

echo "deb [ arch=amd64,arm64 ] xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

sudo apt-get update

sudo apt-get install -y mongodb-org

sudo service mongod start

You can get more details from HERE

No comments:

Post a Comment