If you want to run Go on a platform which does not have a native installer or want to run Go without to installing it, you could do so by using the zip installers.
go-agent-${version}
java
in pathGO_AGENT_JAVA_HOME
to the installation path of java on the systemJAVA_HOME
to the installation path of java on the systemstart-agent.bat
agent.sh
(Ensure that agent.sh
is executable)Note: You can override default environment for the go agent by editing the file
/etc/defaults/go-agent
Go agent, by default, will attempt to connect to the Go server running on the same system. If you want it to connect to a different Go server, set the environment variable GO_SERVER
or edit the startup scripts suitably
For security reasons, all newly installed Go agents need to be enabled on the Go server before work is assigned to them. This prevents an unauthorized person from getting access to your source code. To enable a newly installed Go agent, do the following: