Created
January 13, 2023 17:47
-
-
Save shionryuu/a04d8f74ea96e5c51a309d047eb2fd94 to your computer and use it in GitHub Desktop.
Installing mongodb over Ubuntu 22.04
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
#!/bin/bash | |
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | gpg --dearmor | sudo tee /usr/share/keyrings/mongodb.gpg > /dev/null | |
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb.gpg ] 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 update | |
sudo apt install mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing mongodb over Ubuntu 22.04