Установка MongoDB Community Edition на Ubuntu 22.04 lts/pop os

Ubuntu 22.04 пока не имеет официальных пакетов MongoDB, но 20.04 имеет.

  • Скачайте libssl1.1_1.1.1f-1ubuntu2_amd64.deb из официального репозитория:
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
Войдите в полноэкранный режим Выйти из полноэкранного режима
  • установить
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
Войти в полноэкранный режим Выйдите из полноэкранного режима
  • Наконец
sudo apt install -y mongodb-org
Войти в полноэкранный режим Выйти из полноэкранного режима

Запустите версию MongoDB для сообщества

$ sudo systemctl start mongod
$ sudo systemctl daemon-reload
$ sudo systemctl status mongod
Войти в полноэкранный режим Выйти из полноэкранного режима

  • Остановить MongoDB by-
sudo systemctl stop mongod
Войти в полноэкранный режим Выйти из полноэкранного режима

🤘 Спасибо.

Посмотрите мои другие блоги —

  • https://dev.to/siumhossain/how-to-serve-media-files-on-django-production-environment-531m
  • https://dev.to/siumhossain/shortnote-redirect-and-catch-errors-in-fetch-hook-nuxt-ssr-33k2
  • https://dev.to/siumhossain/how-to-implement-an-infinite-scroll-with-vue-and-nuxt-4d6k
  • https://dev.to/siumhossain/generating-sitemap-xml-for-static-and-dynamic-from-multiple-api-endpoint-in-nuxt-js-2cij
  • https://dev.to/siumhossain/how-to-serve-media-files-on-django-production-environment-531m

Оцените статью
devanswers.ru
Добавить комментарий