DEV Community

Kazi Abdur Rakib
Kazi Abdur Rakib

Posted on

How to install MongoDB 6 on Ubuntu 22.04 LTS Linux (2023)

=>youtube video link https://youtu.be/HSIh8UswVVY?si=bi7yOOIQKmAu8hsd

  1. go to this link and download: https://www.mongodb.com/try/download/community

Image description

  1. go to the file location and open terminal then do this:
sudo dpkg -i + filename
Enter fullscreen mode Exit fullscreen mode
sudo dpkg -i mongodb-org-server_7.0.3_amd64.deb
Enter fullscreen mode Exit fullscreen mode

Image description

sudo systemctl status mongod
Enter fullscreen mode Exit fullscreen mode
sudo systemctl start mongod
Enter fullscreen mode Exit fullscreen mode
sudo systemctl status mongod
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
thomasbnt profile image
Thomas Bnt ☕

Hello ! Don't hesitate to put colors on your codeblock like this example for have to have a better understanding of your code 😎

console.log('Hello world!');
Enter fullscreen mode Exit fullscreen mode

Example of how to add colors and syntax in codeblocks

Collapse
 
karakib2k18 profile image
Kazi Abdur Rakib

cool