Update install-mongodb.ps1
I changed the link, but the link is just for 64 bit systems...I don't know if it will work with 32 bit systems
This commit is contained in:
parent
acbdabe5f7
commit
b4a39c9b04
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@ Set-ExecutionPolicy RemoteSigned
|
||||||
|
|
||||||
$mongoDbPath = "C:\MongoDB"
|
$mongoDbPath = "C:\MongoDB"
|
||||||
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
|
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
|
||||||
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip"
|
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.8.0-rc4.zip"
|
||||||
$zipFile = "$mongoDbPath\mongo.zip"
|
$zipFile = "$mongoDbPath\mongo.zip"
|
||||||
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.4.9"
|
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.8.0-rc4.zip"
|
||||||
|
|
||||||
if ((Test-Path -path $mongoDbPath) -eq $True)
|
if ((Test-Path -path $mongoDbPath) -eq $True)
|
||||||
{
|
{
|
||||||
|
@ -36,4 +36,4 @@ Remove-Item $zipFile -recurse -force
|
||||||
|
|
||||||
& $mongoDBPath\bin\mongod.exe --config $mongoDbConfigPath --install
|
& $mongoDBPath\bin\mongod.exe --config $mongoDbConfigPath --install
|
||||||
|
|
||||||
& net start mongodb
|
& net start mongodb
|
||||||
|
|
Reference in a new issue