MongoDB Tutorial

How to Install MongoDB in Ubuntu Server

MongoDB is a high performance and feature rich NoSQL database and the most popular NoSQL database on the market. In this tutorial we will learn how to install MongoDB on Ubuntu Server.

How to Install MongoDB on CentOS 7

MongoDB is not available from the official CentOS 7 software repository, But MongoDB provides a yum repository for CentOS 7 which we use to install the latest version of MongoDB on CentOS 7.

How to Install MongoDB on Windows 10/Windows Server 2016

Let’s See How to install and Configure MongoDB Server on Windows 10/Windows Server 2016.

First download and install mongodb on windows, Then we will configure mongodb Data directory and setup mongodb as windows service.

Check MongoDB Version in Windows / Linux

Learn how to check MongODB version installed in your Windows / Linux / Ubuntu Server.

To check mongodb version use the mongod command with –version option.

Change MongoDB Default Port in Ubuntu/CentOS/Windows

Learn How to change mongodb port on both Linux and Microsoft Windows Operating system.

It is the same method for the All Linux distributions, including Ubuntu and CentOS 7. We need to change default port in MongoDB main configuration file.

Allow Remote Connections to MongoDB in Ubuntu/CentOS/Windows

By default mongod process binds to 127.0.0.1 loopback interface in Linux (in /etc/mongod.conf), which means no remote access to the database server. In windows the mongod process binds to all interfaces unless you have set the bindIp option in the main configuration file.

Install php MongoDB driver on Ubuntu/CentOS 7/Windows

In order to use MongoDB in our PHP programs, we need to install php mongodb driver. It is a PHP extension that manages the connection to the MongoDB server and enables you to perform all kinds of operations on a NoSQL database through PHP.

Install Python MongoDB Driver PyMongo on Ubuntu/CentOS 7/Windows

In order to be able to connect to MongoDB with Python, you need to install the Python MongoDB driver package also called the PyMongo driver.

In this tutorial we will learn how to install PyMongo driver on Linux(Ubuntu 16.04/CentOS 7) and Microsoft Windows.