MongoDB (AlmaLinux 8)

MongoDB (AlmaLinux 8)

  • OS: almalinux 8

Description

This image combines MongoDB with AlmaLinux 8 so you can start with a ready-to-run environment instead of manual provisioning. It is optimized for document-oriented application data storage, while keeping the underlying operating system stable and maintainable for long-term operations. Choose this stack when you want to reduce setup time, standardize infrastructure, and launch MongoDB-based workloads on AlmaLinux 8 quickly.

Software included

Package Version
MongoDB server 6.0.4

Initial configuration

This application listens for queries on localhost by default. To get started you will need to login to your server via SSH, escalate privileges to root and execute MongoDB shell command mongosh. Then you will need to configure your MongoDB installation file /etc/mongod.conf according to your software requirements.

Controlling MongoDB service

Check the status of MongoDB service

systemctl status mongod

Restarting MongoDB service

systemctl restart mongod

Stopping MongoDB service

systemctl stop mongod

Starting MongoDB service

systemctl start mongod