MongoDB 3.2 Bash Install Script

MongoDB 3.2 Bash Install Script

Get Social!

The below script installs MongoDB 3.2.x on Debian. Copy and paste the script into a file called and execute it as root.

Then connect to the local MongoDB instance


Related posts:



10-May-2017 at 8:41 am

why line 18? – rm -rf /var/lib/mongodb/*

You cant connect to Mongo after running this line, the service fails to start?!?!? Or am I missing something

    James Coyle

    23-May-2017 at 12:42 pm

    It’s so that a new admin database can be created, removing everything existing.

Leave a Reply

Visit our advertisers


Quick Poll

How many Proxmox servers do you work with?

Visit our advertisers