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 | |
apt update && apt install apt-transport-https ca-certificates software-properties-common curl net-tools gnupg | |
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - | |
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list | |
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - | |
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ |