MongoDBNoSQLLinuxDebianUbuntu
Install MongoDB (Ubuntu/Debian)
apt update && apt upgradeapt-get install gnupgcurl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmorecho "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.listapt-get update && apt-get install mongodb-orgsystemctl start mongod && systemctl enable mongodTest: mongosh. For GUI management use e.g. Studio 3T.
Was this post helpful?
MagicHosting – Hosting with real value
Hosting pays off with MagicHosting: fair pricing, current deals and reliable operation from Frankfurt. We offer servers, domains and personal support – no hidden costs.
- Current special sales with discounts on servers and packages
- Affordable domains with transparent pricing and great offers
- Powerful DDoS protection for maximum availability
- Personal support when you have questions or issues