Skip to content

Instantly share code, notes, and snippets.

@fordnox
Created September 25, 2011 10:22
Show Gist options
  • Save fordnox/1240454 to your computer and use it in GitHub Desktop.
Save fordnox/1240454 to your computer and use it in GitHub Desktop.
Install Jenkins server on Ubuntu
#!/bin/sh
sudo apt-get update
sudo apt-get install openjdk-6-jre
sudo apt-get install openjdk-6-jdk
sudo wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
sudo apt-get install ant
#Install PHP related dependencies
sudo apt-get install phpunit
sudo apt-get install php5-xdebug
sudo apt-get install php-pear
sudo pear config-set auto_discover 1
sudo pear install pear.phpunit.de/PHP_CodeCoverage
sudo pear install phpunit/PHP_Timer
@metaphorical
Copy link

Use sudo service jenkins ...

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