This commit is contained in:
Luk Lu
2019-10-03 08:19:15 +08:00
parent e483002ecb
commit a325866d26
4 changed files with 18 additions and 0 deletions

View File

@@ -14,3 +14,5 @@ curl https://www.mongodb.org/static/pgp/server-$Version.asc | sudo apt-key add -
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/$Version main" | sudo tee /etc/apt/sources.list.d/mongodb-org-$Version.list
sudo apt update
sudo apt install mongodb-org -y
echo "Enable as system service..."
sudo systemctl enable mongod