mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 09:24:19 +00:00
Update BeforeInstall.sh
This commit is contained in:
parent
b036ec0c3d
commit
a6a9bfbe3a
1 changed files with 10 additions and 1 deletions
|
|
@ -33,5 +33,14 @@ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
echo "nvm installed successfully" >> /home/ubuntu/status.txt
|
echo "nvm installed successfully" >> /home/ubuntu/status.txt
|
||||||
|
|
||||||
# install MongoDB
|
# install MongoDB
|
||||||
sudo apt -y install mongodb
|
sudo apt-get install gnupg curl
|
||||||
|
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
|
||||||
|
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
|
||||||
|
--dearmor
|
||||||
|
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y mongodb-org
|
||||||
|
sudo apt-get install -y mongod
|
||||||
|
sudo apt-get install -y mongosh
|
||||||
|
|
||||||
echo "mongodb installed successfully" >> /home/ubuntu/status.txt
|
echo "mongodb installed successfully" >> /home/ubuntu/status.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue