25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A ■ Installing Tools<br />

Figure A-27. Path Environment Variable with the MONGODB_HOME/bin<br />

The MongoDB server also needs a storage path where it will allocate all the data for your collections (these<br />

collections will hold all the documents and types that you will be using in several chapters). So every time you start<br />

the server you need to add this path with the --dbpath parameter.<br />

Start MongoDB server<br />

To start the MongoDB server, execute the following command (also see Figure A-28). It is important that the DATA<br />

path exists:<br />

C:\> mongod --dbpath C:\Data\mongodb<br />

Figure A-28. Running MongoDB<br />

310

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!