The AGENT_HOME variable referenced here is the base installation directory of the agent, which contains the apache-tomcat-flexdeploy-https-agent and config folders as well as the start and stop scripts.
...
Download and unzip the latest version of the agent into a temporary location (for example, /u01/software/temp/agent), so it can be accessed during the upgrade process.
The agent software can be downloaded from the Flexagon website and transferred manually to the endpoint, or with internet access can be download downloaded directly to on the endpoint using wget or curl .
Download using wget:
Code Block |
---|
wget -o HttpsAgentTomcatComplete.zip https://flexagon.com/downloads/httpsagent |
Or using curl:
Code Block |
---|
curl -L --max-redirs 5 https://flexagon.com/downloads/httpsagent --output HttpsAgentTomcatComplete.zip |
Download the agent software from the Flexagon website and transfer it manually to the endpoint if you do not have internet access on the endpoint(provided internet access is available on endpoint).
Note |
---|
Do not unzip the distribution directly into the AGENT_HOME directory so we can prevent existing configuration file(s) or folder(s) from being overwritten. |
...
Code Block | ||
---|---|---|
| ||
AGENT_TEMP=/u01/software/temp/agent (you may change this to any directory, but don't use AGENT_HOME or anything inside AGENT_HOME) mkdir -p ${AGENT_TEMP} cd ${AGENT_TEMP} unzip <download location path>/ # DOWNLOAD either using wget or curl or transfer here manually wget -O HttpsAgentTomcatComplete.zip https://flexagon.com/downloads/httpsagent # OR curl -L --max-redirs 5 https://flexagon.com/downloads/httpsagent --output HttpsAgentTomcatComplete.zip unzip HttpsAgentTomcatComplete.zip |
...
Code Block | ||
---|---|---|
| ||
set AGENT_TEMP=c:\u01\software\temp\agent mkdir %AGENT_TEMP% (you may change this to any directory, but don't use AGENT_HOME) cd %AGENT_TEMP% unzip <download location path>\ # Download https://flexagon.com/downloads/httpsagent in AGENT_TEMP folder unzip HttpsAgentTomcatComplete.zip |
...