Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Mounce petemounce

View GitHub Profile
@stuartf7
stuartf7 / install-teamcity.sh
Last active Dec 12, 2015
Installing TeamCity on Amazon Linux
View install-teamcity.sh
# Download TeamCity 7.1.5
wget http://download.jetbrains.com/teamcity/TeamCity-7.1.5.tar.gz
# Extract the downloaded file
tar -xvzf TeamCity-7.1.5.tar.gz
# Tidy up the folder name and move it to a sensible location /var/teamcity
mv TeamCity teamcity
sudo mv teamcity /var/.
@jonorossi
jonorossi / gist:1397643
Created Nov 27, 2011
Sync TeamCity build configurations with Git branches
View gist:1397643
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Text;
using System.Xml.Linq;
using System.Xml.XPath;
using LibGit2Sharp;
namespace TCBuildConfigSync
@tankchintan
tankchintan / gist:1335220
Last active Nov 30, 2019
Procedure for installing and setting Sun JDK Java on Default Amazon Linux AMI
View gist:1335220
# First verify the version of Java being used is not SunJSK.
java -version
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm
# Rename the file downloaded, just to be nice
mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm
# Install Java