Skip to content

Instantly share code, notes, and snippets.

@brunoleles
Last active February 16, 2018 14:32
Show Gist options
  • Select an option

  • Save brunoleles/dc07ba7a5577ec42cdce436921e182c8 to your computer and use it in GitHub Desktop.

Select an option

Save brunoleles/dc07ba7a5577ec42cdce436921e182c8 to your computer and use it in GitHub Desktop.
Install mongo-org on Ubuntu 16.04

Install mongo-org 3.6 on Ubuntu 16.04

# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

sudo apt-get update -y

sudo apt-get install -y mongodb-org

sudo service mongod restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment