How to run mongo server on Linux? #mongodb
mongod
# Start server in a specifict port
mongod --port port_number
#Example
mongod --port 2750
# In case you get this error do it
ps wuax | grep mongod
# The las commando will return something like that
username 25113 1.5 0.4 1021288 72384 pts/0 Sl+ 05:27 0:01 mongod
username 25599 0.0 0.0 21536 1048 pts/2 S+ 05:28 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn mongod
# Then run
kill 25113
#run again mongod
mongod
# Source: https://stackoverflow.com/a/26152720/3599272