Advanced installation of GoCD server using zip installer

If you want to run GoCD on a platform which does not have a native installer or want to run GoCD without installing it, you could do so by using the zip installers.

  • Download the zip installer for GoCD server
  • Unzip the installer in a folder of your choice. It creates a subfolder with the name go-server-${version}
  • Ensure that java executable is available on the PATH environment variable. If you have multiple versions of java, or want to use a version of java that is not available on PATH environment variable, edit the file wrapper-config/wrapper-properties.conf and change the variable wrapper.java.command to point to the java executable.

Managing the GoCD server process

The GoCD server script must be run with one of the following arguments:

ScriptDescription
./bin/go-server consoleThe GoCD server will be started in the foreground
./bin/go-server startThe GoCD server will be started as a daemon in the background
./bin/go-server stopThe GoCD server will be stopped
./bin/go-server restartThe GoCD server will be restarted

Once the GoCD server is started the GoCD server will be started and it will print out the URL for the Dashboard page. This will be http://localhost:8153/go

Location of GoCD server files

The GoCD server installs its files in the following locations on your filesystem:

LocationDescription
${INSTALL_DIR}/dbthe GoCD server database
${INSTALL_DIR}/artifactsthe GoCD server artifacts
${INSTALL_DIR}/pluginsthe GoCD server plugins
${INSTALL_DIR}/configthe GoCD server configuration
${INSTALL_DIR}/logsthe GoCD server log files
${INSTALL_DIR}/{lib,wrapper}the GoCD server binaries and startup scripts
${INSTALL_DIR}/wrapper-config/wrapper-properties.confthe configuration file to alter GoCD server properties

Overriding default startup arguments and environment

Users can override default startup arguments in a editing the file ./wrapper-config/wrapper-properties.conf.

Also see