User and roles Apart from some authentication systems, MongoDB has users and roles which can be applied to different databases. First, let’s see how to create an admin user for admin database with god-like (root) permissions. Root permissions for all
Adding authentication to MongoDB
MongoDB by default doesn’t provide any authentication mechanism and therefore it is required to activate one by tweaking the configuration file and issuing some commands in the mongodb. Today I will show you how to activate authentication on MongoDB. Create
Compile MongoDB C++ Driver
Today I will describe in short how to compile C++ drivers for MongoDB over Ubuntu 14.04 Make new Directories mkdir /root/mongodb-client-install mkdir /root/mongodb-git cd /root/mongodb-git Getting the source code git clone https://github.com/mongodb/mongo-cxx-driver.git Install pre-requisites apt-get install scons libboost-all-dev build-essential libsasl2-2