Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_joc_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_joc_windows.2.5.2.zip ./Install-JS7Joc.ps1 ` -Tarball C:\tmp\js7_joc_windows.2.5.2.zip ` -HomeDir "C:\Program Files\sos-berlin.com\js7\joc" ` -Data "C:\ProgramData\sos-berlin.com\js7\joc" ` -HttpsPort 4446 ` -DBMSConfig C:\js7\joc-deployment\hibernate.cfg.xml ` -JavaHome "C:\Program Files\Java\jdk-17.0.2" ` ` -Keystore C:\js7\joc-deployment/https-keystore.pfx ` -KeystorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -Truststore C:\js7\joc-deployment\https-truststore.pfx ` -TruststorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -ExecStart StartService ` -ExecStop StopService ` -MakeService ` -AsUser ` -MakeDirs # downloads the JOC Cockpit release tarball from the SOS Web Site using Invoke-WebRequest # creates the home directory if it does not exist # extracts the tarball and runs the JOC Cockpit installer # deploys keystore and truststore files # creates the systemd service # stops and starts JOC Cockpit by its Windows service # operates JOC Cockpit for HTTPS port 4446 |
...
Overview
Content Tools