Creation of Directory Structure

  1. Create a folder named mongo. It should not be in the same location where MongoDB is extracted.
  2. Inside the folder mongo, create a folder named data and then create three folders inside that folder named as config, database and log as shown in below figure .
    Figure 1. MongoDB Installation - Community Version (non-HA) (Cont.)
    A screenshot of a computer Description automatically generated