From e6fdf3e5b349f48d0a1748bc2af788a7158161d2 Mon Sep 17 00:00:00 2001 From: Bohung Date: Wed, 23 Mar 2022 10:55:09 +0800 Subject: [PATCH] Update libssl source. --- install_orbit_environment.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install_orbit_environment.sh b/install_orbit_environment.sh index fd9483e..b1f035f 100644 --- a/install_orbit_environment.sh +++ b/install_orbit_environment.sh @@ -23,10 +23,10 @@ sudo apt-get install gnupg -y wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - # install mongod 5.0 if [[ $ubuntu_version =~ '20' ]] || [[ $ubuntu_version =~ '21' ]]; then - sudo wget -nc http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu5.7_amd64.deb - sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu5.7_amd64.deb - sudo wget -nc http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb - sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb + sudo wget -nc http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu5_amd64.deb + sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu5_amd64.deb + sudo wget -nc http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb + sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb 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 elif [[ $ubuntu_version =~ '18' ]] || [[ $ubuntu_version =~ '19' ]]; then echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list