Installing the go build server in centos 7 with some easy step
wget http://download.go.cd/gocd-rpm/go-server-14.4.0-1356.noarch.rpm wget http://download.go.cd/gocd-rpm/go-agent-14.4.0-1356.noarch.rpm
First start by adding the go user (something broken in install)
useradd go
Now run yum localinstall to install local packages
yum install java-1.7.0-openjdk -y yum localinstall go-server-14.4.0-1356.noarch.rpm yum localinstall go-agent-14.4.0-1356.noarch.rpm /etc/init.d/go-agent restart /etc/init.d/go-server restart
firewall-cmd --zone=public --add-port=8153/tcp --permanent firewall-cmd --zone=public --add-port=8154/tcp --permanent firewall-cmd --reload
http://<your ip ore hostname>:8153
Listen nnn.nnn.nnn.nnn:80
NameVirtualHost nnn.nnn.nnn.nnn:80
<VirtualHost nnn.nnn.nnn.nnn:80>
ServerName go.yourdomain.com
DocumentRoot /var/www/html
SSLProxyEngine on
SSLEngine on
ProxyPass / https://localhost:8154/
ProxyPassReverse / https://localhost:8154/
</VirtualHost>