the following command are good to know for starting mongodb.
it is well explained in the abuove link.
// this will store the data on /data/db
// this will store the data on the path you specified
mongod --dbpath /your/path
mongod --port 12345