Professional Documents
Culture Documents
A. Use Teacherenroll B. DB - Createcollection ("Teachers") DB - Teachers.Insert ( (Tid: 1, Name:"Kyle", Dept:"Cs") )
A. Use Teacherenroll B. DB - Createcollection ("Teachers") DB - Teachers.Insert ( (Tid: 1, Name:"Kyle", Dept:"Cs") )
A. Open the installer and click next until the end. No need to configure anything.
B. If you’re using a virtual machine, follow through this step.
a. Open MongoDB Folder from where your installation directory. (Default
should be on "C:\Program Files\MongoDB\Server\4.2\bin ")
b. Move (Cut) the mongod.cfg to your Dekstop then open it using notepad.
Change the bindIp from 127.0.0.1 to 0.0.0.0
A. Open Netbeans and click on the Tools > Plugins on the upper menu.
B. Click on the Available Plugin Tabs and search for NBMongo, then toggle the
checkbox, then click Install
C. Click on the Download tab, then click Add Plugin, then search for the MongoDB Java
Driver JAR file (make sure to toggle JAR files on the Files of Type dropdown box),
then click install.
ps. Since this code is from sir, you can copy the sht out of it.
Good luck