#!/usr/bin/env bash set -e #check to make sure this is a 64-bit machine getconf LONG_BIT | grep 64 > /dev/null || ( echo "Git Fusion requires a 64-bit machine. Exiting." && exit 1) wget -q http://package.perforce.com/perforce.pubkey -O - | sudo apt-key add - #Update sources list with the Perforce Package repo. sudo echo "deb http://package.perforce.com/apt/ubuntu precise release" >> /etc/apt/sources.list sudo aptitude update sudo aptitude -y install helix-git-fusion sudo /opt/perforce/git-fusion/libexec/configure-git-fusion.sh -n --super super --superpassword REinforce --gfp4password REinforce --gfsysuser git --gfdir /opt/perforce/git-fusion/libexec --server new --id jen --p4root /opt/perforce/servers/data/jen --p4port ssl:localhost:1666 --timezone Europe/London --unicode n #Install the GitSwarm package sudo apt-get install curl openssh-server ca-certificates postfix curl -O ftp://ftp.perforce.com/perforce/r15.2/bin.ubuntu14x86_64/perforce-gitswarm-2015.2.trusty.amd64.deb sudo dpkg -i perforce-gitswarm-2015.2.trusty.amd64.deb #For testing the configuration is probs aok, so run the GitSwarm configure script sudo gitswarm-ctl reconfigure
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 17952 | jen | Putting GitSwarm on a separate box, as it hoses the Git Fusion system account for it's own uses | ||
#2 | 17950 | jen | Will run the config script, as all looks ok for a test machine | ||
#1 | 17949 | jen |
Adding a copy of the config script, with some modifications, to install Git Swarm on ubuntu14.04. Note the configuration needs to be done manually ATM. Mauy do this in the script also |