Skip to content

Instantly share code, notes, and snippets.

@ovntatar
Last active January 22, 2018 13:21
Show Gist options
  • Save ovntatar/dd2953e25bf6a1f1a086c3950bf2d1d2 to your computer and use it in GitHub Desktop.
Save ovntatar/dd2953e25bf6a1f1a086c3950bf2d1d2 to your computer and use it in GitHub Desktop.
install mongo 3.6
#!/bin/bash
echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf
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
apt-get update -y
sudo apt-get install -y mongodb-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment