#!/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 aptitude -y 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 ok, so run the GitSwarm configure script sudo gitswarm-ctl reconfigure
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#18 | 18706 | jenbottom | Moving some files aroudn to make things less messy and hopefully easier to find | ||
#17 | 18006 | jenbottom | Setting some system wide variables in the Git swarm debian setup script | ||
#16 | 18004 | jenbottom | Changing GS box from Ubuntu 14.04 to 12.04 | ||
#15 | 18003 | jenbottom | Adding -y flag to aptitude upgrade line in GS setup script | ||
#14 | 18002 | jenbottom | playing with GS install script again | ||
#13 | 18000 | jenbottom | More work on gitswarm setup script | ||
#12 | 17999 | jenbottom | Messing around with the configure script | ||
#11 | 17998 | jenbottom | Adapting GS setup script, after talking with Karl about his EE script | ||
#10 | 17997 | jenbottom | Added missing -y flag to aptitude cmd to install GitSwarm pkg | ||
#9 | 17996 | jenbottom | Updating GS setup script | ||
#8 | 17992 | jenbottom | Submitting updated GS setup script | ||
#7 | 17974 | jenbottom | Putting in the correct if | ||
#6 | 17973 | jenbottom | Trying out some code to set the default gateway | ||
#5 | 17971 | jenbottom | Submitting latest work on Vagrant files, after rebuilding local server and using sync -k | ||
#4 | 17961 | jenbottom |
Testing setting up GitFusion2 VM with all networking options commented out, to see if we can access our SSL enabled site by default. Also have updated the provissioning script for this VM, to do most of the apache2 setup and configuration for us |
||
#3 | 17957 | jenbottom | Fixing Vagrantfile and gitswarm setup script | ||
#2 | 17955 | jen | Commenting out the lines that install Git Fusion on the git swarm box | ||
#1 | 17952 | jen | Putting GitSwarm on a separate box, as it hoses the Git Fusion system account for it's own uses | ||
//guest/jen_bottom/vagrant/setup-14.04.sh | |||||
#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 |