Skip to content

Instantly share code, notes, and snippets.

@sisirnurul
sisirnurul / mongodb-setup.sh
Created October 15, 2018 16:33 — forked from WillSams/mongodb-setup.sh
Simple MongoDB Setup Script for Ubuntu 18.04
#!/bin/bash
#
# MongoDB script
#
# Pre-req: Ubuntu Bionic (18.04) flavored distro
# Note: To expose your server to the network, set bind to 0.0.0.0 in /etc/mongod.conf
#
# Recommended for first time users: create a VM, ssh into it, 'wget' the raw version of this gist.