Last active
September 19, 2023 18:42
-
-
Save mckornfield/2b3273bffe60c51abeefde5ac81018a4 to your computer and use it in GitHub Desktop.
Mongosh install via yum
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
| #!/usr/bin/env bash | |
| cat << EOL | sudo tee -a /etc/yum.repos.d/mongodb-org-7.0.repo | |
| [mongodb-org-7.0] | |
| name=MongoDB Repository | |
| baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/7.0/x86_64/ | |
| gpgcheck=1 | |
| enabled=1 | |
| gpgkey=https://www.mongodb.org/static/pgp/server-7.0.asc | |
| EOL | |
| sudo yum install -y mongodb-mongosh mongodb-database-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment