X
4

How to manually install MongoDB on CentOS Stream 8 to run the Next-Generation License Server

Problem:

When running the Next-Generation License Server installer on CentOS Stream 8, the installation of MongoDB will fail with the below error

Would you like to install MongoDB Community Server 7.0.14 [y|n]? y
Installing MongoDB Community Server 7.0.14...
Error: CentOS Stream Linux is not supported.
Error:  Linux is not supported.
Unable to install MongoDB Community Server.
Exiting the installation.

 

 

Work-around:

A work-around to this error is possible by first installing the RHEL 8 MongoDB RPM package provided with the NGLS installer. After MongoDB is installed and running, you can then run the installer for NGLS with success. 

 

NOTE: This work-around has only been tested with License Server 4.4. It should also work on earlier versions, but this is unconfirmed. 

 

  • Download the Next-Generation License Server 4.4 for Linux following the instructions HERE.
  • Unzip the file for the installer from terminal:
 gunzip setup-license_server44-linux.tgz
 tar -xf setup-license_server44-linux.tar
  • Move to the following directory:
 cd license_server44/
  • Manually unzip the data.tgz file:
 gunzip data.tgz
 tar -xf data.tar
  • Move to the following directory:
 cd software/mongodb/RedHat/8
  • Manually install the rpm for MongoDB server with a command such as...
 sudo dnf install mongodb-org-server-7.0.14-1.el8.x86_64.rpm 
  • Start the MongoDB service:
 sudo systemctl start mongod
  • Install the NGLS from the /license_server44 directory:
 sudo ./install_linux.sh
  • When prompted to install MongoDB say No
  • After it completes, check the License Server status by either...
    1. Loading into the License Server Dashboard from a web browser: http://localhost:4080/dashboard/
    2. By checking the server API via curl in the terminal: curl http://localhost:4080/api/1.0/server​
  • Activate your licenses following the instructions HERE.

 

 

------------------------------------

created by BC on 9/11/2025

reviewed by BC(US) on 9/11/2025