Skip to content

Instantly share code, notes, and snippets.

@taylorwalton
Last active October 9, 2022 13:03
Show Gist options
  • Save taylorwalton/5960b297e72092b7253bee401fa3e446 to your computer and use it in GitHub Desktop.
Save taylorwalton/5960b297e72092b7253bee401fa3e446 to your computer and use it in GitHub Desktop.
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo systemctl daemon-reload
sudo systemctl enable mongod.service
sudo systemctl restart mongod.service
sudo systemctl --type=service --state=active | grep mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment