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
js / python / linux / .NET C# F# / MS-SQL / postgresql / maths / data / logic / thought / SmartCard / EMV / django / HTML
$ sudo chown -R `id -u` /data/db