MongoDB Documentation, Release 3.0.4 Step 4: Create the MongoDB service. Create the MongoDB service. sc.exe create MongoDB binPath= "C:\mongodb\bin\mongod.exe --service sc.exe requires a space between “=” and the configuration values (eg “binPath= ”), and a “\” to escape double quotes. If successfully created, the following log message will display: [SC] CreateService SUCCESS net start MongoDB Step 6: Stop or remove the MongoDB service as needed. To stop the MongoDB service, use the following com- mand: net stop MongoDB To remove the MongoDB service, first stop the service and then run the following command: sc.exe delete MongoDB The MongoDB release team digitally signs all software packages to certify that a particular MongoDB package is a valid and unaltered MongoDB release. Before installing MongoDB, you should validate the package using either the provided PGP signature or SHA-256 checksum. PGP signatures provide the strongest guarantees by checking both the authenticity and integrity of a file to prevent tampering. Cryptographic checksums only validate file integrity to prevent network transmission errors. MongoDB signs each release branch with a different PGP key. The public key files for each release branch since MongoDB 2.2 are available for download from the key server 27 in both textual .asc and binary .pub formats. Step 1: Download the MongoDB installation file. Download the binaries from https://www.mongodb.org/downloads based on your environment. For example, to download the 2.6.0 release for OS X through the shell, type this command: curl -LO http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.6.0.tgz $^{27}$https://www.mongodb.org/static/pgp/ 53 2.3. Installation Guides Use PGP/GPG Procedures Overview 2.3.5 Verify Integrity of MongoDB Packages Step 5: Start the MongoDB service.