From 5c0deed9ab1f4f0ae1c42951899f6e88410226f5 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sat, 21 Sep 2019 16:32:32 -0600 Subject: [PATCH] add gocd server scriptlet --- source/resources/apps/gocd/forksand-gocd-setup | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 source/resources/apps/gocd/forksand-gocd-setup diff --git a/source/resources/apps/gocd/forksand-gocd-setup b/source/resources/apps/gocd/forksand-gocd-setup new file mode 100755 index 0000000..847fdba --- /dev/null +++ b/source/resources/apps/gocd/forksand-gocd-setup @@ -0,0 +1,17 @@ +#!/bin/bash +# +# HOWTOish set up gocd + +exit 0 + +echo "deb https://download.gocd.org /" | sudo tee /etc/apt/sources.list.d/gocd.list +curl https://download.gocd.org/GOCD-GPG-KEY.asc | sudo apt-key add - +sudo apt update +sudo apt install go-server +sudo systemctl start go-server + +# Run this on workstation: +ssh -N -C -L 8153:localhost:8153 gocd + +# On workstation, go to: +# http://127.0.0.1:8153/