Installing MongoDB on Windows

This topic guides you through the steps for installing MongoDB on Windows. The estimated time to Install and Configure MongoDB is: 15 minutes

Before you begin

Installing MongoDB

About this task

To install MongoDB on Windows, perform the following steps:

Procedure

  1. Download the latest MongoDB 4.4.x version from MongoDB’s download page.

    https://www.mongodb.com/download-center/community



    Example to download 4.4.6:

    https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.6-signed.msi

    Note:
    • MongoDB 3.6.x and 4.2.x versions are supported on HCL Sametime 11.6. MongoDB 4.4.x is the recommended version for HCL Sametime 11.6. Upgrading MongoDB 3.6.x or 4.2.x to 4.4.x instructions can be found here.
    • The following install screen shots are from 4.2.8. MongoDB 4.4.x install will be very similar.
    • These instructions are for 4.2.8, so specify the default 4.4 directories where needed.
  2. Navigate to the folder where MongoDB 4.4.x installation was downloaded and start the mongodb msi installation program.
    Note: For MongoDB 3.6.x version installs, refer to HCL Sametime 11.0 documentation found here.
  3. Follow the MongoDB Graphical User Interface (GUI) to install, accepting the terms and selecting Complete setup type.
    Note: The following install screen shots are from 4.2.8. MongoDB 4.4.x install will be very similar.


    Note: It is required to run Running MongoDB as a Windows service and recommend Run service as Network Service user. The Service Name, Data Directory, and Log Directory parameters can be modified but must note it during the configuration steps. These instructions are for 4.2.8, so specify the default 4.4 directories where needed.


    Install MongoDB Compass is optional and not required for deploying HCL Sametime 11.6. This is a Graphical User Interface used to administrate MongoDB.



  4. Complete the MongoDB installation by selecting Install.


    Note: A restart will be required to complete the MongoDB installation.


    Select Finish to complete the install and be prompted to restart the operating system.



    Note: If Install MongoDB Compass was left selected, it will start after installation has completed. MongoDB Compass application can be shutdown, as it will not be used for HCL Sametime deployments.
    If needing additional assistance with installing on Windows, refer to MongoDB online tutorial: Install MongoDB Community Edition on Windows.
  5. After the system restart, MongoDB will be running as a Windows service.


  6. Optional: To start the MongoDB Console, open a command prompt and navigate to the MongoDB install directory/bin folder and execute mongo.exe. Result of a successful MongoDB Console start up using a 4.2.x as an example.


What to do next

Configure MongoDB for HCL Sametime