Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.67 KB

solaris.md

File metadata and controls

45 lines (29 loc) · 1.67 KB

Installing GoCD server on Solaris

Installation

You must be logged in as root, or use sudo or pfexec, to install GoCD on Solaris. GoCD server also requires that Oracle or Open JRE or JDK - version 7 or above - is installed.

The installer will create a user called go if one does not exist on the machine. The home directory will be set to /var/go. If you want to create your own go user, make sure you do it before you install the GoCD server.

After you have downloaded the go-server package, run the following commands -

$ gzip -d go-server-${version}-solaris.gz
$ pkgadd -d go-server-${version}-solaris

Managing the go-server service on solaris

To manage the go-server service, you may use the following commands -

  • Check GoCD server': svcs go/server
  • Start GoCD server : svcadm enable -s go/server
  • Stop GoCD server : svcadm disable -s go/server

Configuring the go-server

After installing the go-server service, you must first configure the service with the hostname (or IP address) of your GoCD server, in order to do this -

  1. Open /etc/default/go-server in your favourite text editor.
  2. Change the line GO_SERVER=127.0.0.1 to the hostname (or IP address) of your GoCD server.
  3. Save the file and exit your editor.

Location of GoCD server files

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

/var/lib/go-server   #contains the binaries and database
/etc/go              #contains the configuration files
/var/log/go-server   #contains the server logs
/usr/share/go-server #contains the start script

!INCLUDE "_install_server_footer.md"