Skip to content

Commit

Permalink
Update script to download mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Mar 20, 2024
1 parent 617fc63 commit 9e358d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create_mongo_single_node_sharded_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-${mongodb_
tar xfz mongodb-linux-x86_64-ubuntu2204-${mongodb_version}.tgz
cd $BASEDIR/mongodb-linux-x86_64-ubuntu2204-${mongodb_version}/bin/
for f in *;
do ln -s $BASEDIR/$f /usr/bin/; chmod a+x /usr/bin/$f;
do ln -s $PWD/$f /usr/bin/; chmod a+x /usr/bin/$f;
done
wget https://downloads.mongodb.com/compass/mongosh-${mongosh_version}-linux-x64.tgz
tar xfz mongodb-linux-x86_64-ubuntu2204-${mongodb_version}.tgz
cd $BASEDIR/mongodb-linux-x86_64-ubuntu2204-${mongodb_version}/bin/
for f in *;
do ln -s $BASEDIR/$f /usr/bin/; chmod a+x /usr/bin/$f;
do ln -s $PWD/$f /usr/bin/; chmod a+x /usr/bin/$f;
done

# Adapted from https://stackoverflow.com/a/56264776
Expand Down

0 comments on commit 9e358d8

Please sign in to comment.