MongoDB 6 - установка на Debian 11

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Доступная цена

MongoDB 6 - установка на Debian 11

Установка mongoDB 6.0.X на Debian 11:

# apt update && apt-get install gnupg
# wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add -
# echo "deb http://repo.mongodb.org/apt/debian bullseye/mongodb-org/6.0 main" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
# apt-get update
# apt-get install -y mongodb-org

Проверка версии mongodb:

# mongod --version
db version v6.0.5
Build Info: {
   "version": "6.0.5",
   "gitVersion": "c9a99c120371d4d4c52cbb15dac34a36ce8d3b1d",
   "openSSLVersion": "OpenSSL 1.1.1k  25 Mar 2021",
   "modules": [],
   "allocator": "tcmalloc",
   "environment": {
       "distmod": "debian11",
       "distarch": "x86_64",
       "target_arch": "x86_64"
   }
}