Created
April 18, 2015 21:27
-
-
Save alexbilbie/17f0bcf9f33c48164972 to your computer and use it in GitHub Desktop.
Jenkins install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
End of line 10 there is a ` character