How do you keep mongo running on a remote server?


When running mongo on a remote aws server (ubuntu) what is the best way to keep a mongo instance running after sshing to it to start it?


Take a look here. In short, you should use mongod --fork --logpath /var/log/mongod.log

Leave a Reply