Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebuildy/c8dd49169f10b86b2980 to your computer and use it in GitHub Desktop.
Save ebuildy/c8dd49169f10b86b2980 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# MongoDB installer for Debian/Ubuntu (32- and 64-bit)
#
# curl -sL https://gist.githubusercontent.com/ebuildy/c8dd49169f10b86b2980/raw/693afca681c277411017d95ef9ec2708b5aceb87/install_mongodb | sudo bash -
#
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org
#sudo nano /etc/fstab #==> noatime
#sudo mount -o remount /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment