Monday, August 29, 2016

Install MongoDB 3.? on uBuntu 1604

Official Instructions
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

then create folder @ /data/db, i.e.
$ sudo mkdir /data
$ sudo mkdir /data/db


then fix file permissions:
$ sudo chown -R `id -u` /data/db