--- to install Mongo DB service you enter following command
ex: C:\mongodb\bin\mongod.exe --bind_ip 127.0.0.1 --dbpath C:\data\db --directoryperdb --logpath C:\mongodb\logs\logs.log --logappend --service --install --serviceName mongod
you can edit service in registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\[service name you type in above command]
with this command service name named: mongod
ex: C:\mongodb\bin\mongod.exe --bind_ip 127.0.0.1 --dbpath C:\data\db --directoryperdb --logpath C:\mongodb\logs\logs.log --logappend --service --install --serviceName mongod
you can edit service in registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\[service name you type in above command]
with this command service name named: mongod
Nhận xét
Đăng nhận xét