DEV Community

sium_hossain
sium_hossain

Posted on

2

Install MongoDB Community Edition on Ubuntu 22.04 lts/pop os

Ubuntu 22.04 doesn't have official MongoDB packages yet, But 20.04 has

  • Download libssl1.1_1.1.1f-1ubuntu2_amd64.deb from official repository: ```bash

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb

* install it 
```bash


sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb


Enter fullscreen mode Exit fullscreen mode
  • Finally ```bash

sudo apt install -y mongodb-org


**Start MongoDB community edition**
```bash


$ sudo systemctl start mongod
$ sudo systemctl daemon-reload
$ sudo systemctl status mongod


Enter fullscreen mode Exit fullscreen mode

Mongodb status checking

  • Stop MongoDB by- ```bash

sudo systemctl stop mongod

🤘 Thank you 

Check my others blog - 
* 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








Enter fullscreen mode Exit fullscreen mode

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (1)

Collapse
 
depaula profile image
dePaula

Thank you for your article! I couldn't install it from the official website and you got it done.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs