From 2586498776f012c83259de6da1067fd14c81d1c8 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Wed, 19 Oct 2022 21:59:42 -0700 Subject: [PATCH] Update 'scripts/mongodbinstall.sh' --- scripts/mongodbinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/mongodbinstall.sh b/scripts/mongodbinstall.sh index 403fb7b..50a8e5e 100644 --- a/scripts/mongodbinstall.sh +++ b/scripts/mongodbinstall.sh @@ -11,8 +11,10 @@ fi sudo apt update && apt upgrade -y sudo apt install wget curl gnupg2 software-properties-common apt-transport-https ca-certificates lsb-release sudo curl -fsSL https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - +echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list -sudo apt update +sudo apt update -y +sudo apt-get install libssl1.1 -y sudo apt install mongodb-org -y sudo systemctl start mongod sudo systemctl enable mongod \ No newline at end of file