Install Jenkins

Install Jenkins
Techiio-author
Written by Sagar RabidasDecember 7, 2021
10 min read
Jenkins
1 VIEWS 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWS SHARE
Techiio-author
Sagar Rabidas

Software Developer

In this blog, we will discuss how to install Jenkins.

About Install Jenkins:-

Jenkins is a continuous integration and transport device. It enables the builders of their development process. There is always a large demand for some improvement and multi-tasking programs. Jenkins is one such tool that could assist builders with code integration and transport centers altogether.

So, as we realize, builders are operating on code development, and there is a repository allocated for their work to save and share among the group. This repository can be git, VSO, Jira, or some other device. Jenkins will make sure that whatever today's commits that take place to the repository do not get spoiled; it runs then and exams if the whole lot is great or no longer. If there may be any form of difficulty related to builds, it has a feature to file the concerned person via electronic mail notification.

Jenkins is developed in Java, and it is an open-source tool. Users who want Jenkins in their system – download Java (either JDK or JRE) in your system before.

Let’s see some system requirements –

  • A minimum of 256MB of RAM is good to start; prefer more than the mentioned one.
  • 1GB of hard disk space is the minimum requirement; I prefer more than this.

Steps to Install Jenkins:-

Let us discuss the steps required to install Jenkins.

Step 1: You have to type ‘Jenkins’ on any browser

blogpost

Step 2: Once you are on the Jenkins website, you will see the ‘Download’ option available in the dashboard. There are 2 types of releases available.

  • Long term support release
  • Weekly release
blogpost

We will use the Long term support link for the Windows platform – the latest version is 2.150.3.

blogpost

Note– One crucial thing to discuss with our readers is that there are two ways to install the Jenkins application.

  • Run Jenkins as a service; this starts without any user logging in. Windows installer is the preferred way and also the easiest way to do
  • If you are an advanced user, you can also download the Jenkins war file and deploy it.

We will continue with the windows installer way – 1st one

Once you click the ‘Download’ button, you will get the below screen, and the download process has begun. After the download has been completed, it navigates to the download location and runs the application.

blogpost

  • Step 3: Open the zip file, and you will see the windows installer package in it. Double click and the installation process will start. You can see the Setup window with Jenkins 2.150.3. Follow the below mentioned screen. Click on the ‘Next button.
  • Step 4: Next screen asks you about the location to save the file. The default location is also mentioned on the screen. If you don’t have any specific reason to change, let it be as it is, refers to the below-mentioned screen.
  • Step 5: click the install button to run the process. Refer to the below screen.
  • Step 6: In the end, you will see the below screen, which says ‘Completed the Jenkin2.150.3 setup. Click the Finish button to stop the install process of Jenkins. After this, you will get an option to open your file; we have to open it via any browser. Let’s see what happens –

And on port ‘localhost8080’, you will see the below screen. The first screen is of the localhost8080 address, and the second is the message you will get.

  • Step 7: Now first thing in order to unlock Jenkins is ‘Password’; yes, you need to provide the initial admin password. So let’s see how we can do this. And the password is set in this directory.

Directory: /var/lib/Jenkins/secrets/initialAdminPassword

Just copy the following details and paste them into your folder explorer directory. Let’s see how we can do this. I have copied “/var/lib/Jenkins/secrets” and paste it into the folder explorer. Follow the below screen for a better understanding

A user has to open the initialadminpassword by clicking on it. It is highlighted in the above screen with a red rectangle. Open it with your editor (like Notepad or Notepad ++).

  • Step 8: Copy this password and paste it into the Jenkins window opened in the browser.

I have pasted my password, and click Continue.

  • Step 9: Now in the next screen, we will get ‘Customize Jenkins’ screen. Again there are 2 options for the users to prefer.
  • Install suggested Plugins
  • Select plugins to install

We will choose the first option, as it is the most used list of plugins preferred by the community members. Also, if you have any specific purpose then only prefers the 2nd option.

With this, the recommended plugins will start to download. Let’s see the related screen.

The above is the suggested install screen. We can see that there are so many useful things that are coupled together. It has the plug-ins for Git, LDAP, SSH Slaves. Once all the plugins are successfully installed on your Jenkins you will be automatically redirected.

  • Step 10: Fill the following fields –
  1. Username
  2. Password
  3. Confirm Password
  4. Full Name
  5. E-mail address

Once the details are provided click on ‘Save and Finish’ button. Which means Jenkins is installed properly and it is ready to start.

  • Step 11: A few last but crucial works have to be done. Once the above screen appears in front of you, you have to open the folder where the Jenkins folder is present (in your local system). Just go to C drive and Program file settings and search for ‘Jenkins’ folder.

This is how we will install Jenkins in our local system. Before we wrap this important discussion with our readers let us see what Jenkins can do for its users. We have presented some key responsibilities of Jenkins –

  1. Inbuilt capability of internal hosting
  2. Open source
  3. Great tool to build, deploy and launch
  4. Highly rich set of plugins with complete documentation
  5. Hugs integrations available
  6. Easy setup
  7. Large user base
jenkins
jenkinsx
1 VIEWS 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWS SHARE
Was this blog helpful?
techiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plan
You must be Logged in to comment
Code Block
Techiio-author
Sagar Rabidas
Software Developer
Techiio-followerTechiio-followerTechiio-followerTechiio-followerTechiio-follower
+8 more
300 Blog Posts
14 Discussion Threads
Trending Technologies
15
Software40
DevOps47
Frontend Development24
Backend Development20
Server Administration17
Linux Administration26
Data Center24
Sentry24
Terraform23
Ansible83
Docker70
Penetration Testing16
Kubernetes21
NGINX20
JenkinsX17
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance