Last active
March 18, 2016 13:07
-
-
Save lawrencegripper/038355b288a17ccc337b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# Custom Script for Windows #> | |
| ##Change to current dir | |
| $scriptpath = $MyInvocation.MyCommand.Path | |
| $dir = Split-Path $scriptpath | |
| cd $dir | |
| ##Download the server install | |
| Invoke-WebRequest http://netcologne.dl.sourceforge.net/project/jasperserver/JasperServer/JasperReports%20Server%20Community%20Edition%206.2.0/jasperreports-server-cp-6.2.0-windows-x64-installer.exe -outfile jsinstall.exe | |
| ##Install Jaspersoft Reporting community edition | |
| .\jsinstall.exe --unattendedmodeui none --mode unattended --jasperLicenseAccepted Yes --postgres_password test | |
| ##Open port in firewall for 8080 | |
| New-NetFirewallRule -DisplayName "Enable Tomcat" -Direction Inbound -Action Allow -LocalPort 8080 -Protocol TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment