dentalnoob.blogg.se

Install mongodb client windows
Install mongodb client windows









install mongodb client windows

You should see a bunch of stuff pop up, but the last line should be something like waiting for connections on port 27017.Open a new terminal and type sudo mongod -dbpath ~/data/db.The -p flag means make the parent directory if it doesn't exist.

install mongodb client windows

  • This will make a data directory with a db sub directory.
  • Make sure you are still on the root of the Ubuntu FS by typing cd ~.
  • NOTE this step is not included in the link above.
  • #Install mongodb client windows install#

    If you want to install a different version please refer to the link above. This will install the most stable version of mongod, 3.6 at time of writing. Run the install command by pasting this into the terminal sudo apt-get install -y mongodb-org.Reload your local pkg database by typing sudo apt-get update.When Zesty gets LTS we will update this doc. This will add the deb to your sources list. Next, paste this one line into the terminal echo "deb xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt//mongodb-org-3.6.list.This will import the MongoDB public GPG Key so we can use the official MongoDB supported pkg in apt.

    install mongodb client windows

    Copy and paste this into the terminal sudo apt-key adv -keyserver hkp://:80 -recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5.Open a terminal (the Ubuntu app) and type cd ~ to go to the root of the Ubuntu File System.Most of the steps are listed here, but this guide will trim them down and make it a bit more straight forward for our needs. This doc will guide you through installing MongoDB using WSL through the Command Line.











    Install mongodb client windows