Skip to content

Commit

Permalink
Add new mongodb script
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu authored May 12, 2024
1 parent 0463c3f commit 4603ca7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cloudformation/aws-streaming-wizard/template-custom-cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -658,13 +658,8 @@ Resources:
Fn::Base64:
!Sub |
#!/bin/bash -xe
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
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-get update
sudo apt-get install -y mongodb-org python3-pip python3-setuptools
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mongod.conf
systemctl enable mongod
systemctl restart mongod
wget -P /tmp/ https://raw.githubusercontent.com/ant-media/Scripts/master/install_mongodb.sh
bash /tmp/install_mongodb.sh

Outputs:

Expand Down

0 comments on commit 4603ca7

Please sign in to comment.