Installing Jenkins on Ubuntu Server 17.10

(Last Updated On: July 4, 2018)

In this post I will walk through the very simple process of installing Jenkins and configuring Jenkins on Ubuntu Server 17.10.

We are going to be installing a basic Jenkins 2 configuration; however, will also be installing the new Blue Ocean plugin for better Continuous Integration / Continuous Delivery support.

If you don’t have a server already, go ahead and create a new VM in your favorite virtualization platform (I use VirtualBox locally).  Jenkins doesn’t require too much in power so you can create a VM with 1024Mb of memory and 2 vCPUs.  If you are setting up jenkins for a production workload then you will want to increase those numbers accordingly.

Installing Jenkins

Normally, you could use the apt repository to install Jenkins; however, this will not work in Ubuntu Sever 17.10.  I have found that the following steps will get it installed successful.  If you know a better way please comment below.

# wget

# dpkg -i jenkins_2.89.3_all.deb

# apt install openjdk-9-jdk

This will show us a broken install and tell us that we need to run the following command which we will:

# apt --fix-broken install

This will successfully install Jenkins.  Now we need to configure it.

Configuring Jenkins

Still in our root terminal session we need to get the automatically generated password so we can configure our Jenkins installation.

# tail -100 /var/log/jenkins/jenkins.log

Look for something like this:


Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <- Copy this part

This may also be found at: /var/lib/jenkins/secrets/initialAdminPassword


Copy the password shown as pointed to above then go to a web browser and browse to your Jenkins server on port 8080:


You should see the ‘Unlock Jenkins’ page.  Paste in the password that you copied and click on Continue.

Installing jenkins and configuration
Installing jenkins and configuration

Next click on the ‘Install Suggested Plugins’ button to continue the Jenkins configuration.

Jenkins will now go through and install the suggested plugins which will take a few minutes.  It will then let you enter details for the admin user.  Enter this in and save the changes.  Finally, click on start using Jenkins.

Installing the Blue Ocean plugin

The last step is to install the Blue Ocean plugin.  Click on Manage Jenkins then Manage Plugins.  Click the Available tab.  In the filter box type in Blue Ocean.  Check the checkbox on the first entry found which is ‘Blue Ocean’ then click on Install without restart.  After a couple minutes it will finish installing.  Go back to the main Jenkins page.  You should now see a Blue Ocean link on the left menu.


I hope you enjoyed this post.  For more of my articles on Jenkins click here.


I hope you have enjoyed this article, if so please leave a comment below.  For more articles, please signup for the AdminTome Blog below.  Also please feel free to share the article to your friends using the buttons to the left.  Thanks again for reading this post.


1 thought on “Installing Jenkins on Ubuntu Server 17.10

Leave a Comment

you're currently offline