Created
March 7, 2017 09:07
-
-
Save nmhnmh/867248b5bb5b7fcd8c2c84221be1b880 to your computer and use it in GitHub Desktop.
Install Lastest MongoDB Server on Ubuntu1604
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import GPG key | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
# write APT source list | |
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
# Update APT cache | |
sudo apt update | |
# Install | |
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