MongoDB is an open source database management system written in C++. Like other systems such as CouchDB, MongoDB seeks to resolve issues that relational database management systems have through document-based management.
Configure a MongoDB ReplSet
Install MongoDB for use in application development on Ubuntu 16.04 (Xenial).
Configure a MongoDB ReplSet (Debian)