How To Install MongoDB Enterprise on Linux Ubuntu?

Connect with

install mongodb enterprise ubuntu LinuxInstall MongoDB enterprise Ubuntu Linux. Step by step process of installation of MongoDB Enterprise on Ubuntu Linux.

MongoDB only provides packages for 64-bit LTS (long-term support) Ubuntu releases. For example, 12.04 LTS (precise), 14.04 LTS (trusty), 16.04 LTS (xenial), and so on. These packages may work with other Ubuntu releases, however, they are not supported. Please follow the following steps to install the MongoDB enterprise edition on Ubuntu Linux. MongoDB enterprise edition demand some subscription fee, which means it’s paid on production.

step 1. Import the public key

Import the public key used by the package management system.

sudo apt-key adv --keyserver hkp:// --recv EA312927

step 2. Create the list file

Create a /etc/apt/sources.list.d/mongodb-enterprise.list file for MongoDB.
Create the list file using the command appropriate for your version of Ubuntu:

Ubuntu 12.04

echo "deb precise/mongodb-enterprise/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

Ubuntu 14.04

echo "deb trusty/mongodb-enterprise/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

Ubuntu 16.04

echo "deb xenial/mongodb-enterprise/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

step 3. Update local Repo

sudo apt-get update

step 4. Install the MongoDB Enterprise

sudo apt-get install -y mongodb-enterprise

Step 5. MongoDB Different Services

Following are the different services to check whether mongoDB running or not.
After installation, you need to do the following things.
– Check the services of mongoDB running or not.
– Start the mongod service
– stop the mongoDB service.
– Restart the MongoDB Service

5.1 Check Status of MongoDB service

sudo service mongod status

5.2 Start MongoDB Service

sudo service mongod start

5.3 Start the MongoDB Service

sudo service mongod start

5.4 Stop MongoDB Service

sudo service mongod stop


MongoDB Official site

Your comments are welcome to improve this post.

Connect with

Leave a Comment

Your email address will not be published. Required fields are marked *