check mongodb status in ubuntu code example Example: how to create a mongo db database digital ocean nginx sudo systemctl status mongodb