mongoBB aws ec2 windows error cache



  • Hi, how are you, I'm trying to install nodebb
    I will do the tests on the aws server ec2 windows server 2016 data center

    I'm following this tutorial

    when I get to the installation part of mongo, there he asks to create directory
    😄 \ MongoDB \ data \ db 😄 \ MongoDB \ logs

    here when opening mongod I saw that the console closed
    I saw the official mongo manual and also asked to create these folders
    then I saw a video tutorial and it says that you have to create the folders
    data / db
    here if I start mongod

    So which directories are really the ones I should create?

    the next error that appeared was this cache
    How can this problem be solved with the memory and the cache?
    Does anyone have any ideas?

    Thank you
    excuse my English

    WARNING: The file system cache of this machine is configured to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.



  • I add that the official tutorial shows this

    Install the MongoDB service
    bash mongod.exe --config "C: \ MongoDB \ mongod.cfg" --install

    when I put bash, the message appears
    "bash" is not recognized as an internal or external command
    program or executable batch file

    the tutorial confuses windows with linux?


  • Global Moderator

    @arranka there are a couple issues under configure service for mongo in the tutorial. One is that there are a bunch of newlines missing in the config file section. Another is that bash appears there, when it shouldn't.

    I'll fix that soon, butt in the mean time, I suggest using the official mongo guide instead:



  • I could not install nodebb neither in windows nor in ubuntu in aws

    Any suggestions? I've tried ubuntu but there's a problem installing mongobb
    both in windows and ubuntu the problem is to install mongobb

    the command lines for the installation are wrong in both manuals


  • Global Moderator

    @arranka both docs link to the mongo docs as well. Did you try the official mongo docs? What issue are you running into?



  • in the official mongo installation are different from the manuals of nodebb
    for example the default routes that call the database differ from each other


  • Global Moderator

    Yes some things are different, but did you actually encounter any errors when using it? The NodeBB guide clearly says to use the official MongoDB guide if you encounter issues. Did you do that? Did that result in errors as well?


Log in to reply
 

Suggested Topics

  • 5
  • 6
  • 15
  • 1
  • 3
| |