This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
juju-testing [2015/03/19 14:02] gsamfira [Getting a SSL enabled version of mongod.exe] |
juju-testing [2015/04/03 11:58] gsamfira [Getting a SSL enabled version of mongod.exe] |
||
---|---|---|---|
Line 65: | Line 65: | ||
- compile your own | - compile your own | ||
- | You can get a {{: | + | You can get a {{:mongo-static.zip|precompiled version of mongod.exe here}}. |
To download it via PowerShell type in the following command in the PowerShell prompt: | To download it via PowerShell type in the following command in the PowerShell prompt: | ||
- | Start-BitsTransfer http:// | + | Start-BitsTransfer http:// |
| | ||
If you have not already done so, install 7zip: | If you have not already done so, install 7zip: | ||
- | choco install 7zip | + | choco install |
| | ||
You will also need the Visual Studio redistributable package for mongo to work: | You will also need the Visual Studio redistributable package for mongo to work: | ||
- | choco install vcredist2013 | + | choco install |
- | choco install vcredist2008 | + | choco install |
- | + | ||
- | Get a copy of OpenSSL for Windows: | + | |
- | + | ||
- | Start-BitsTransfer http:// | + | |
- | .\Win64OpenSSL-1_0_1L.exe | + | |
| | ||
Now let's extract mongo: | Now let's extract mongo: | ||
- | & "C:\Program Files\7-Zip\7-Zip.exe" | + | & 'C:\Program Files\7-Zip\7z.exe' |
| | ||
You should have a a mongod.exe file. Lets check if it actually works: | You should have a a mongod.exe file. Lets check if it actually works: | ||
- | .\mongod.exe --version | + | |
- | + | | |
- | You should have the mongo version. | + | |
+ | 2015-04-03T11: | ||
==== Adding mongod to your $PATH ==== | ==== Adding mongod to your $PATH ==== | ||
Line 107: | Line 103: | ||
Add C:\bin to path: | Add C:\bin to path: | ||
- | | + | $env: |
- | | + | |
setx PATH $env:PATH | setx PATH $env:PATH | ||
Line 128: | Line 123: | ||
(new-object System.Net.WebClient).DownloadFile(" | (new-object System.Net.WebClient).DownloadFile(" | ||
cmd.exe /C call $HOME\firefox_installer.exe /SILENT | cmd.exe /C call $HOME\firefox_installer.exe /SILENT | ||
+ | | ||
+ | Or the package management way: | ||
+ | |||
+ | choco install -y firefox | ||
And to launch it: | And to launch it: |