Last active
February 28, 2023 16:59
-
-
Save metasansana/36c816cb3435345d764fafac4805983c to your computer and use it in GitHub Desktop.
Installs and starts mongodb on a github runner for tests.
This file contains 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
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - | |
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
sudo systemctl daemon-reload | |
sudo systemctl start mongod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment