Skip to content

Instantly share code, notes, and snippets.

@adoprog
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adoprog/054f60f2aad140f22c47 to your computer and use it in GitHub Desktop.
Save adoprog/054f60f2aad140f22c47 to your computer and use it in GitHub Desktop.
Update-ExecutionPolicy Unrestricted
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole
Enable-WindowsOptionalFeature -Online -FeatureName NetFx3
Enable-WindowsOptionalFeature -Online -FeatureName NetFx4Extended-ASPNET45
Enable-WindowsOptionalFeature -Online -FeatureName IIS-HttpRedirect
Enable-WindowsOptionalFeature -Online -FeatureName IIS-NetFxExtensibility
Enable-WindowsOptionalFeature -Online -FeatureName IIS-NetFxExtensibility45
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WindowsAuthentication
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ISAPIExtensions
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ISAPIFilter
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ASPNET
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ASPNET45
choco install mssqlserver2012express
choco install mongodb.core.2.6
& C:\mongodb\2.6.1\bin\mongod.exe --bind_ip 127.0.0.1 --logpath "C:\mongodb\2.6.1\mongodb.log" --logappend --dbpath "C:\mongodb\2.6.1\data\db" --port 27017 --serviceName "MongoDB" --serviceDisplayName "MongoDB" --install
New-Item C:\mongodb\2.6.1\data -type Directory -Force
New-Item C:\mongodb\2.6.1\data\db -type Directory -Force
Start-Service MongoDB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment