Child pages
  • Upgrade MondoDB 3.6 to 4.2, Debian 10

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
rm /etc/apt/sources.list.d/mongodb-org-4.0.list

Дальше либо в башне ставим версию 4.2 либо:

Code Block
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org=4.2.14 mongodb-org-server=4.2.14 mongodb-org-shell=4.2.14 mongodb-org-mongos=4.2.14 mongodb-org-tools=4.2.14
rm /etc/apt/sources.list.d/mongodb-org-4.2.list