Thumbnail for video 'Get started with Jenkins - Installing Jenkins on Ubuntu Server 15.10'

← Back to courses

Installing Jenkins on Ubuntu Server 15.10

In this video I'll show you how you can install Jenkins on Ubuntu Server 15.10. The same instructions will also work for the latest release of Ubuntu Server (16.10).

Installation commands

## Download the security key for the Jenkins repository & add it to the keychain
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

## Add the Jenkins sources to apt
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'

## Update the list of packages
sudo apt-get update

## Install Jenkins (will also install its dependencies, eg OpenJDK)
sudo apt-get install jenkins

The commands are also available on GitHub.

Useful resources