Skip to content

Instantly share code, notes, and snippets.

@alexbilbie
Created April 18, 2015 21:27
Show Gist options
  • Save alexbilbie/17f0bcf9f33c48164972 to your computer and use it in GitHub Desktop.
Save alexbilbie/17f0bcf9f33c48164972 to your computer and use it in GitHub Desktop.
Jenkins install
# Add the Jenkins source
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
echo 'deb http://pkg.jenkins-ci.org/debian binary/' >> /etc/apt/sources.list
# We're going to install Nginx too
echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main" >> /etc/apt/sources.list.d/nginx-stable-trusty.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C
# Finally we want PHP too
echo "deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main" >> /etc/apt/sources.list.d/php5-5.6-trusty.list`
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F4FCBB07
# Update the repositories
apt-get update
# Install Jenkins, Nginx, Git, PHP5 (latest) and Xdebug (for code coverage)
apt-get install jenkins nginx git php5-fpm php5-xdebug
@MattLicense
Copy link

End of line 10 there is a ` character

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment