Wednesday, 11 March 2020

How to Install MongoDB on Ubuntu Server 18.04

If your company is in the business of using, handling or depending on data, chances are you’re in need of a document-oriented, NoSQL database. If you’re unfamiliar with the term, a NoSQL database is a non-relational database that doesn’t use tables filled with rows and columns. Instead, they make use of a storage model that is optimized specifically for the data.

These types of databases offer scalability, flexibility, data distribution, and speed of processing that relational databases can’t match.

One NoSQL database is MongoDB. This database has been adopted by big data and enterprise companies including Adobe, Craigslist, eBay, FIFA, Foursquare, and LinkedIn. MongoDB comes in both an enterprise and community edition. I’ll be demonstrating with the open-source community edition, installing it on Ubuntu Server 18.04.

This edition can be installed from the standard repositories, however, that will likely install an outdated version. Because of that, I’ll show how to deploy a version from the official MongoDB repository. This will install:


mongodb-org (this is the meta package that will install everything below)
mongodb-org-server (the mongod daemon)
mongodb-org-mongos (the mongos daemon)
mongodb-org-shell (the mongo shell)
mongodb-org-tools (the MongoDB tools package which includes import, dump, export, files, performance, restore, and stats tools)


Do note that this package only supports 64-bit architecture ...


Read More on Datafloq

No comments:

Post a Comment