i was having problem in starting up my mogodb server..(in ubuntu 16.04 LTS) i type in the command "monogod" in the terminal and this is what i get..... ERROR: dbpath (/data/db) does not exist. Create this directory or give existing directory in --dbpath.
i understand that this means that the directory /data/db/ does not exist so to resolve it i type in .... mongod --dbpath /data/db/ but once again i get the same error. i've googled the error many times but to no avail can someone please help.. i am entirely new to this whole thing...
Thank You