After Installing MongoDB, Issue the below command to Make a directory to store data
mkdir -p ~/data/db
Run a Mongo instance by Issuing the below command
sudo mongod --dbpath ~/data/db
Check to see that your MongoDB instance with below command
ps -e | grep 'mongod'