Installing Jenkins

For the examples we will use in this chapter, we can install Jenkins on the management host or a separate machine. My personal preference is to install it on a separate virtual machine. The virtual machine will have a similar network set up as the management host up to this point, with one interface for the internet connection and another interface for VMNet 2 connection to the VIRL management network.

The Jenkins image and installation instruction per operating system can be found at https://jenkins.io/download/. The following is the instructions I used for installing Jenkins on the Ubuntu 16.04 host:

$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -# added Jenkins to /etc/apt/sources.list ...

Get Mastering Python Networking - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.