Run a Jenkins 2.25 instance on Ubuntu 16.04 LTS using vagrant.
Build the vagrant box
vagrant up
To access the Jenkins server
http://localhost:8080
or, add the following line to the hosts file
127.0.0.1 jenkins.local
and then run the server with
http://jenkins.local:8080
Since version 2.0 Jenkins has a security setup wizard when first running it after the installation.
SSH into the machine with
vagrant ssh
Locate the security password
cat /var/lib/jenkins/secrets/initialAdminPassword
and copy it into the password field on the Jenkins server.