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 thePATH
environment variable. If you have multiple versions of java, or want to use a version of java that is not available onPATH
environment variable, edit the filewrapper-config/wrapper-properties.conf
and change the variablewrapper.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:
Script | Description |
---|---|
./bin/go-server console | The GoCD server will be started in the foreground |
./bin/go-server start | The GoCD server will be started as a daemon in the background |
./bin/go-server stop | The GoCD server will be stopped |
./bin/go-server restart | The 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:
Location | Description |
---|---|
${INSTALL_DIR}/db | the GoCD server database |
${INSTALL_DIR}/artifacts | the GoCD server artifacts |
${INSTALL_DIR}/plugins | the GoCD server plugins |
${INSTALL_DIR}/config | the GoCD server configuration |
${INSTALL_DIR}/logs | the GoCD server log files |
${INSTALL_DIR}/{lib,wrapper} | the GoCD server binaries and startup scripts |
${INSTALL_DIR}/wrapper-config/wrapper-properties.conf | the 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
.