Skip to content

Installing MongoDB


  1. Check the requirements for MongoDB.

  2. Install the unzip unpacking program:

    • RHEL:

      sudo yum --assumeyes install unzip
      
    • SLES:

      sudo zypper --non-interactive install unzip
      
  3. In a browser, log on to the SEAL Systems delivery platform with your logon data:

    https://delivery.sealsystems.de

    Hint - logon data

    You receive the logon data from your Technical Project Manager at SEAL Systems.

  4. Download the MongoDB - 4.4.7.156 - rpm folder. It is saved as MongoDB - 4.4.7.156 - rpm.zip.

  5. Extract MongoDB - 4.4.7.156 - rpm.zip:

    unzip "MongoDB - 4.4.7.156 - rpm.zip"
    
  6. Change to the MongoDB - 4.4.7.156 - rpm directory and start installing the contained packages:

    cd "MongoDB - 4.4.7.156 - rpm"
    
    sudo sh install.sh
    
  7. Open the required firewall ports for necessary services:

    sudo sh firewall.sh
    
  8. Start MongoDB:

    sudo systemctl start mongod
    

Proceed with configuring a shared replica set or initializing MongoDB.


Back to top