How to install Jenkins on OpenSUSE 15 / SUSE 15?

0
194

If we talk about Linux servers, the first thing we’ll think about is Debian, Ubuntu or CentOS. However, more and more companies are relying on OpenSUSE or SUSE as their server system. So you’d better keep an eye on this distribution and the way it does things. So today I’ll show you how to install Jenkins on OpenSuse 15. Although this tutorial also applies to SUSE 15.

We have already talked about Jenkins, this great application written in Java for the deployment of applications and of course, the automation of tasks concerning software and servers.

Its main feature is that it is Open Source, so the source code can be examined. On the other hand, Jenkins can be installed on Linux, Windows or Mac and thus guarantee the continuous integration of your projects regardless of the operating system. In addition, its functionality can be extended thanks to the plugins.

So, let’s start to install Jenkins on OpenSUSE 15 or SUSE 15.

1. Upgrade the system and install Java

In order for the installation to run smoothly, it is necessary to update the system. So connect to your server or open a terminal and run.

1.- Upgrade the system
1.- Upgrade the system

I have installed a basic version of OpenSUSE that does not have Java installed and Jenkins requires it to run. So the next step is to install Java. You need to install Java 8. So, run:

2.- Install Java
2.- Install Java

Now, check the Java version installed.

As you can see in the image, Java is installed and ready to use.

3.- Java version
3.- Java version

2. Install Jenkins on OpenSUSE 15 and SUSE 15

Now it’s time to install Jenkins. The easiest way to do this is through the official repository provided by Jenkins for OpenSUSE. It’s up to date and ideal.

4.- Add the Jenkins official repository
4.- Add the Jenkins official repository

Next, install Jenkins.

5.- Trust in the repository
5.- Trust in the repository

6.- Install Jenkins on OpenSUSE and SUSE 15
6.- Install Jenkins on OpenSUSE and SUSE 15

Now, start the service and check the status.

7.- Start Jenkins
7.- Start Jenkins

Jenkins uses the 8080 port. So, set the Firewall rule to make Jenkins available.

8.- Creating a new firewall rule for Jenkins
8.- Creating a new firewall rule for Jenkins

Next, get the admin password.

9.- Showing the initial admin password
9.- Showing the initial admin password

The next step is open your web browser and go to http://IP_SERVER:8080. And put your password on the field.

10.- Jenkins initial screen
10.- Jenkins initial screen

Then you will be asked about the plugins to install. Choose the recommended plugins. Then, the installer wll start the work.

11.- Starting the installation on the web interface
11.- Starting the installation on the web interface

Next, create the admin account.

 

12.- Creating first admin user
12.- Creating first admin user

And that’s it. Jenkins is installed. Finally, you will see the dashboard.

 

13.- Jenkins is ready
13.- Jenkins is ready
14.-Jenkins dashboard
14.-Jenkins dashboard

Conclusion

As you can see, the installation of Jenkins in the SUSE ecosystem is not difficult. On the contrary, there is a repository that makes everything simple. Jenkins is an application that every sysadmin should use for the automation and deployment of software projects.

So, please share this article in your social networks.

Spread the love
  • 6
    Shares

PS. If you like this post please share it with your friends on the social networks using the buttons above.Thanks.

LEAVE A REPLY

Please enter your comment!
Please enter your name here