Page History
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
# invoke shell and switch to the user account that owns the Agent's home directory # navigate to the home directory for patches cd /opt/sos-berlin.com/js7/agent/lib/patches # download the .tar.gz patch archive curl https://download.sos-berlin.com/patches/2.2.3-patch/js7_agent.2.2.3-PATCH.JS-1984.tar.gz -O # extract the .tar.gz patch archive that includes .jar files tar -xvpozf js7_agent.2.2.3-PATCH.JS-1984.tar.gz # remove the .tar.gz patch archive rm js7_agent.2.2.3-PATCH.JS-1984.tar.gz |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
# invoke shell and switch to the user account that owns the Agent's home directory # download the .tar.gz patch archive curl https://download.sos-berlin.com/patches/2.2.3-patch/js7_agent.2.2.3-PATCH.JS-1984.tar.gz -O # apply the patch ./js7_install_agent.sh \ --tarball=js7_agent.2.2.3-PATCH.JS-1984.tar.gz \ --patch=JS-1984 \ --home=/opt/sos-berlin.com/js7/agent \ --http-port=4445 |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
@rem invoke Windows shell and switch to the user account that owns the Agent's home directory @rem navigate to the home directory for patches cd %ProgramFiles%\sos-berlin.com\js7\agent\lib\patches @rem download from URL https://download.sos-berlin.com/patches/2.2.3-patch/js7_agent.2.2.3-PATCH.JS-1984.tar.gz @rem copy from download location (could be different from this example) copy %USERPROFILE%\Downloads\js7_agent.2.2.3-PATCH.JS-1984.tar.gz . @rem extract the .tar.gz patch archive that includes .jar files tar.exe -xf js7_agent.2.2.3-PATCH.JS-1984.tar.gz @rem remove the .tar.gz patch archive del js7_agent.2.2.3-PATCH.JS-1984.tar.gz |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
# invoke PowerShell and switch to the user account that owns the Agent's home directory # download from URL Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/patches/2.2.3-patch/js7_agent.2.2.3-PATCH.JS-1984.tar.gz' ` -Outfile js7_agent.2.2.3-PATCH.JS-1984.tar.gz # apply the patch /Install-JS7Agent.ps1 ` -Tarball js7_agent.2.2.3-PATCH.JS-1984.tar.gz ` -Patch JS-1984 ` -HomeDir $env:ProgramFiles\sos-berlin.com\js7\agent ` -HttpPort 4445 |
...
Overview
Content Tools