<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jenkins Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/jenkins/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 27 Jul 2020 14:46:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Jenkins on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-jenkins-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-jenkins-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 20 May 2020 22:22:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20422</guid>

					<description><![CDATA[<p>Hi, folks. In this post as a guide, you will learn how to install Jenkins on Ubuntu 20.04 Continuous integration and Jenkins In a production environment, the software is developed and compiled frequently. In addition to this, it needs to be tested quite a few times. With each change in the source code, it is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-ubuntu-20-04/">How to install Jenkins on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>Hi, folks. In this post as a guide, you will learn how to install Jenkins on Ubuntu 20.04</strong></p>



<h2>Continuous integration and Jenkins</h2>



<p>In a production environment, the software is developed and compiled frequently. In addition to this, it needs to be tested quite a few times. With each change in the source code, it is necessary to start the whole process over again.</p>



<p><a href="https://jenkins.io/">Jenkins</a> automates all these tasks quickly and easily. So, the process where all the changes and functions of the application in development are automatically verified is called continuous integration.</p>



<p>In this sense, using Jenkins the developer will know at all times the status of his application. Failures, new features, and processes will be automated and monitored with Jenkins.</p>



<h2>Install Jenkins on Ubuntu 20.04</h2>



<p>Because it is an application created in Java, Jenkins can be installed on any system that supports this programming language.</p>



<p>However, we will use a dedicated repository to make the installation even easier. Also, it will help to have recent versions of the application.</p>



<h3>1.- Install Java on Ubuntu 20.04</h3>



<p>Jenkins is made in Java, so the first step is to install Java on Ubuntu 20.04</p>



<p>Previously, only the application supported Java 8, but now it also supports Java 11.</p>



<p>So to install Java just run the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install openjdk-11-jre openjdk-11-jdk
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
at-spi2-core ca-certificates-java fonts-dejavu-extra java-common libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatk1.0-0 libatk1.0-data
libatspi2.0-0 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0
libice-dev libice6 libllvm9 libnspr4 libnss3 libpciaccess0 libpcsclite1 libpthread-stubs0-dev libsensors-config libsensors5 libsm-dev libsm6 libvulkan1
libwayland-client0 libx11-dev libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shape0 libxcb-sync1
libxcb1-dev libxcomposite1 libxdamage1 libxdmcp-dev libxfixes3 libxft2 libxi6 libxinerama1 libxkbfile1 libxmu6 libxrandr2 libxrender1 libxshmfence1 libxt-dev libxt6
libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mesa-vulkan-drivers openjdk-11-jdk-headless openjdk-11-jre-headless x11-common x11-utils x11proto-core-dev x11proto-dev
xorg-sgml-doctools xtrans-dev
Suggested packages:
default-jre libice-doc pcscd lm-sensors libsm-doc libx11-doc libxcb-doc libxt-doc openjdk-11-demo openjdk-11-source visualvm libnss-mdns fonts-ipafont-gothic
fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic mesa-utils
The following NEW packages will be installed:
at-spi2-core ca-certificates-java fonts-dejavu-extra java-common libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatk1.0-0 libatk1.0-data
libatspi2.0-0 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0
libice-dev libice6 libllvm9 libnspr4 libnss3 libpciaccess0 libpcsclite1 libpthread-stubs0-dev libsensors-config libsensors5 libsm-dev libsm6 libvulkan1
libwayland-client0 libx11-dev libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shape0 libxcb-sync1
libxcb1-dev libxcomposite1 libxdamage1 libxdmcp-dev libxfixes3 libxft2 libxi6 libxinerama1 libxkbfile1 libxmu6 libxrandr2 libxrender1 libxshmfence1 libxt-dev libxt6
libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mesa-vulkan-drivers openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-jre openjdk-11-jre-headless x11-common x11-utils
x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 77 newly installed, 0 to remove and 0 not upgraded.
Need to get 294 MB of archives.
After this operation, 789 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="380" src="https://www.osradar.com/wp-content/uploads/2020/05/1-10-1024x380.png" alt="1.- Install Java on Ubuntu 20.04" class="wp-image-20367" srcset="https://www.osradar.com/wp-content/uploads/2020/05/1-10-1024x380.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/1-10-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/1-10-768x285.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/1-10-696x258.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/1-10-1068x396.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/1-10.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install Java on Ubuntu 20.04</figcaption></figure>



<p>Accept the installation and Java will be ready for work.</p>



<p>Also read:</p>



<p><a href="https://www.osradar.com/how-to-install-oracle-java-14-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How to install Oracle Java 14 on Ubuntu 20.04</a></p>



<h3>2.- Install Jenkins on Ubuntu 20.04</h3>



<p>Now you have to add the Jenkins repository. But first, add the GPG key to secure the repository. Make sure you have the package <code>apt-transport-https</code> installed.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install apt-transport-https</pre>



<pre class="wp-block-preformatted">:~$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
OK</pre>



<p>Now add the repository to the system&#8217;s source list:</p>



<pre class="wp-block-preformatted">:~$ sudo apt-add-repository "deb https://pkg.jenkins.io/debian-stable binary"</pre>



<p>And then, he proceeds to install Jenkins in Ubuntu.</p>



<pre class="wp-block-preformatted">:~$ sudo apt update
:~$ sudo apt install jenkins
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
daemon net-tools
The following NEW packages will be installed:
daemon jenkins net-tools
0 upgraded, 3 newly installed, 0 to remove and 47 not upgraded.
Need to get 65.5 MB of archives.
After this operation, 67.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="749" height="267" src="https://www.osradar.com/wp-content/uploads/2020/05/2-17.png" alt="2.- Install Jenkins on Ubuntu 20.04" class="wp-image-20423" srcset="https://www.osradar.com/wp-content/uploads/2020/05/2-17.png 749w, https://www.osradar.com/wp-content/uploads/2020/05/2-17-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/2-17-696x248.png 696w" sizes="(max-width: 749px) 100vw, 749px" /><figcaption>2.- Install Jenkins on Ubuntu 20.04</figcaption></figure>



<p>Jenkins is handled in the system as a service. Therefore, you can check the status with the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl status jenkins
● jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; generated)
Active: active (exited) since Thu 2020-05-14 05:32:17 UTC; 1min 45s ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 506)
Memory: 0B
CGroup: /system.slice/jenkins.service
May 14 05:32:10 osradar systemd[1]: Starting LSB: Start Jenkins at boot time…
May 14 05:32:13 osradar jenkins[9478]: Correct java version found
May 14 05:32:14 osradar jenkins[9478]: * Starting Jenkins Automation Server jenkins
May 14 05:32:14 osradar su[9519]: (to jenkins) root on none
May 14 05:32:14 osradar su[9519]: pam_unix(su-l:session): session opened for user jenkins by (uid=0)
May 14 05:32:17 osradar jenkins[9478]: …done.
May 14 05:32:17 osradar systemd[1]: Started LSB: Start Jenkins at boot time.</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="952" height="375" src="https://www.osradar.com/wp-content/uploads/2020/05/3-15.png" alt="3.- Jenkins status on Ubuntu 20.04" class="wp-image-20424" srcset="https://www.osradar.com/wp-content/uploads/2020/05/3-15.png 952w, https://www.osradar.com/wp-content/uploads/2020/05/3-15-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/3-15-768x303.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/3-15-696x274.png 696w" sizes="(max-width: 952px) 100vw, 952px" /><figcaption>3.- Jenkins status on Ubuntu 20.04</figcaption></figure>



<p>As you can see, everything is going well. If an error occurs, it is probably a question of a lack of RAM memory.</p>



<p>Jenkins takes the issue of security very seriously, therefore, the installer generates a temporary key to continue with the installation.</p>



<p>To show it, just run the following command:</p>



<pre class="wp-block-preformatted">:~ sudo cat /var/lib/jenkins/secrets/initialAdminPassword</pre>



<p>So, in my case, this is the password.</p>



<pre class="wp-block-preformatted">3596a99b1f384a9db3e0eab32c59fe1d</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="817" height="98" src="https://www.osradar.com/wp-content/uploads/2020/05/4-13.png" alt="4.- Jenkins temporarily password" class="wp-image-20426" srcset="https://www.osradar.com/wp-content/uploads/2020/05/4-13.png 817w, https://www.osradar.com/wp-content/uploads/2020/05/4-13-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/4-13-768x92.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/4-13-696x83.png 696w" sizes="(max-width: 817px) 100vw, 817px" /><figcaption>4.- Jenkins temporarily password</figcaption></figure>



<p>Also, it doesn&#8217;t have to be the same as mine.</p>



<h3>3.- Complete the Jenkins installation </h3>



<p>Now open your favorite web browser and go to <code>http://your-server:8080</code> and complete the installation.</p>



<p>The first thing you will see is that you will be prompted for the temporary password that we have shown above.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/5-8-1024x502.png" alt="5.- Unlock Jenkins" class="wp-image-20428" srcset="https://www.osradar.com/wp-content/uploads/2020/05/5-8-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/5-8-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/5-8-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/5-8-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/5-8-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/5-8.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Unlock Jenkins</figcaption></figure>



<p>Then, you will be able to customize the Jenkins installation. You can either install the recommended plugins or choose the ones you want. I have chosen the first option.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/6-6-1024x502.png" alt="6.- Configuring the Jenkins installation" class="wp-image-20429" srcset="https://www.osradar.com/wp-content/uploads/2020/05/6-6-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/6-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/6-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/6-6-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/6-6-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/6-6.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Configuring the Jenkins installation</figcaption></figure>



<p>Then the installation of the plugins will start.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/7-5-1024x502.png" alt="7.- Installing Jenkins on Ubuntu 20.04" class="wp-image-20430" srcset="https://www.osradar.com/wp-content/uploads/2020/05/7-5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/7-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/7-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/7-5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/7-5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/7-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Installing Jenkins on Ubuntu 20.04</figcaption></figure>



<p>So, when it is finished, you will have to create the administrator user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/8-3-1024x502.png" alt="8.- Creating the admin user for Jenkins" class="wp-image-20431" srcset="https://www.osradar.com/wp-content/uploads/2020/05/8-3-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/8-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/8-3-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/8-3-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/8-3-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/8-3.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Creating the admin user for Jenkins</figcaption></figure>



<p>Now, you will see the configuration of the Jenkins instance.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/9-3-1024x502.png" alt="9.- Instance configuration" class="wp-image-20432" srcset="https://www.osradar.com/wp-content/uploads/2020/05/9-3-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/9-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/9-3-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/9-3-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/9-3-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/9-3.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Instance configuration</figcaption></figure>



<p>Then, you will see this screen indicating that everything has gone well and that you can use Jenkins.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/10-1-1024x502.png" alt="10.- Jenkins installed" class="wp-image-20433" srcset="https://www.osradar.com/wp-content/uploads/2020/05/10-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/10-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/10-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/10-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/10-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/10-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Jenkins installed</figcaption></figure>



<p>Finally, you will see the dashboard of Jenkins on Ubuntu 20.04</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/05/11-1-1024x502.png" alt="11.- Jenkins on Ubuntu 20.04" class="wp-image-20434" srcset="https://www.osradar.com/wp-content/uploads/2020/05/11-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/11-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/11-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/11-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/11-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/11-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>11.- Jenkins on Ubuntu 20.04</figcaption></figure>



<p>So, Jenkins is ready for the action.</p>



<h2>Conclusion</h2>



<p>Jenkins is a very important application in the current and facilitates many tasks dedicated to the life process of software. So, despite that, it is very easy to install in Ubuntu 20.04</p>



<p>So, please share this post, join <a rel="noreferrer noopener" href="https://t.me/osradar" target="_blank">our Telegram channel</a>. And if you can, buy us a coffee.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-ubuntu-20-04/">How to install Jenkins on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-jenkins-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install jenkins on CentOS 8 / RHEL 8</title>
		<link>https://www.osradar.com/how-to-install-jenkins-on-centos-8-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-install-jenkins-on-centos-8-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Mon, 30 Sep 2019 01:08:53 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13996</guid>

					<description><![CDATA[<p>Jenkins is a free and open-source automation server written in Java. It is Released under the MIT License. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. So, In this article you will learn that how to install Jenkins on CentOS 8 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-on-centos-8-rhel-8/">How to install jenkins on CentOS 8 / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong><a rel="noreferrer noopener" aria-label="Jenkins (opens in a new tab)" href="https://jenkins.io/" target="_blank">Jenkins</a></strong> is a free and open-source automation server written in Java. It is Released under the MIT License. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. So, In this <g class="gr_ gr_12 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="12" data-gr-id="12">article</g> you will learn <g class="gr_ gr_11 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-del replaceWithoutSep" id="11" data-gr-id="11">that how</g> to install Jenkins on CentOS 8 and RHEL 8</p>



<p>Jenkins It is a server-based system that runs in servlet containers such as Apache Tomcat. Jenkins supports version control tools, including AccuRev, CVS, Subversion, <a rel="noreferrer noopener" aria-label="Git (opens in a new tab)" href="https://www.osradar.com/install-the-latest-version-of-git-centos-8-rhel-oracle-linux/" target="_blank">Git</a>, Mercurial, Perforce, TD/OMS, ClearCase, and RTC, and can execute Apache Ant, Apache M<a rel="noreferrer noopener" aria-label="aven  (opens in a new tab)" href="https://www.osradar.com/install-apache-maven-on-centos-7/" target="_blank">aven, </a>and <g class="gr_ gr_7 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="7" data-gr-id="7">sbt</g> based projects as well as arbitrary shell scripts and Windows batch commands.</p>



<p>This provides hundreds of plugins to support building, deploying and automating any project under MIT license.</p>



<p>Just login as <strong>root</strong> user and follow below steps.</p>



<h2>Step 1- Upgrade System</h2>



<p>The very first step should update your system so everything will upto date and you will get secure.</p>



<pre class="wp-block-preformatted">dnf update -y</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/1-28-1024x614.png" alt="" class="wp-image-14001" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-28-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-28-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-28-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-28-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-28-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-28-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/1-28.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 2- Install JAVA</h2>



<p>As I mentioned earlier Jenkins is build in JAVA, so we have to install JAVA on the server so we can use <strong>jenkins</strong> properly.</p>



<pre class="wp-block-preformatted">dnf install -y  java-1.8.0-openjdk</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/2-27-1024x614.png" alt="" class="wp-image-14002" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-27-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-27-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-27-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-27-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-27-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-27-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/2-27.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing JAVA</figcaption></figure>



<p>Now verify java version</p>



<pre class="wp-block-preformatted">java -version</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="190" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/3-24-1024x190.png" alt="" class="wp-image-14003" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-24-1024x190.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-24-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-24-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-24-696x129.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-24-1068x199.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-24.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 3: Adding Jenkins Repository</h2>



<p>Now, we will add Jenkins Repository in Centos 7 / RHEL 8 so we can install it as Jenkins did not come with CentOS default repository.</p>



<p>First, install <strong>wget</strong> package is no installed already</p>



<pre class="wp-block-preformatted">dnf install -y wget</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/4-23-1024x614.png" alt="" class="wp-image-14004" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-23-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-23-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-23-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-23-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-23-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-23-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/4-23.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, download and enable Jenkins Repository</p>



<pre class="wp-block-preformatted">wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="339" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/5-17-1024x339.png" alt="" class="wp-image-14005" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-17-1024x339.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-17-300x99.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-17-768x254.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-17-696x231.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-17-1068x354.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-17-1268x420.png 1268w, https://www.osradar.com/wp-content/uploads/2019/09/5-17.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, import Jenkins GPG Key</p>



<pre class="wp-block-preformatted">rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key</pre>



<h2>Step 4- Install Jenkins on your CentOS 8 / RHEL 8 system</h2>



<pre class="wp-block-preformatted">dnf install -y jenkins</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="407" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/6-18-1024x407.png" alt="" class="wp-image-14007" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-18-1024x407.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-18-300x119.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-18-768x305.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-18-696x277.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-18-1068x425.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-18-1056x420.png 1056w, https://www.osradar.com/wp-content/uploads/2019/09/6-18.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 5- Start and Enable Jenkins Service</h2>



<p>Now you have to start jenkins service so we can use it and enable it on boot so if system will reboot jenkins will start automatically</p>



<pre class="wp-block-preformatted">systemctl start jenkins
systemctl enable jenkins
systemctl status jenkins </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="468" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/7-16-1024x468.png" alt="" class="wp-image-14008" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-16-1024x468.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-16-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-16-768x351.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-16-696x318.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-16-1068x488.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-16-919x420.png 919w, https://www.osradar.com/wp-content/uploads/2019/09/7-16.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 6- Configure Firewall </h2>



<p>You know Jenkins is works on port <strong>8080</strong> so we need to allow connection on that port by adding it in firewall.</p>



<pre class="wp-block-preformatted">firewall-cmd --zone=public --permanent  --add-port=8080/tcp<br>firewall-cmd --reload</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="185" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/8-10-1024x185.png" alt="" class="wp-image-14009" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8-10-1024x185.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-10-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-10-768x139.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-10-696x126.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-10-1068x193.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-10.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 7- Setting Up Jenkins</h2>



<p>Finally, everything is working fine as jenkins is installed successfully, now we you need to open your web browser and access jenkins using below URL:</p>



<p><strong>YOUR-SERVER-IP:8080</strong></p>



<p>You will see below page asking for Admin password to Unlock jenkins, when you browse the URL first time.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="519" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/9-9-1024x519.png" alt="" class="wp-image-14010" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9-9-1024x519.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-9-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-9-768x389.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-9-696x353.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-9-1068x542.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-9-828x420.png 828w, https://www.osradar.com/wp-content/uploads/2019/09/9-9.png 1919w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>A path is also display on the page in which the password is saved, so go to your Linux terminal and issue following command to get the password.</p>



<pre class="wp-block-preformatted">cat /var/lib/jenkins/secrets/initialAdminPassword</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="150" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/10-9-1024x150.png" alt="" class="wp-image-14011" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10-9-1024x150.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-9-300x44.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-9-768x113.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-9-696x102.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-9-1068x157.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-9.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, copy the password and paste it into the &#8220;Administrator password&#8221; box and click Continue.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="515" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/11-8-1024x515.png" alt="" class="wp-image-14012" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-8-1024x515.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-8-300x151.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-8-768x386.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-8-696x350.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-8-1068x537.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11-8-836x420.png 836w, https://www.osradar.com/wp-content/uploads/2019/09/11-8.png 1914w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>So you will be asked if you want to install the <strong>suggested plugins</strong> or <strong>install additional plugins</strong>. I choose &#8220;install the suggested plugins&#8221; option you can choose your desired and the installation process will start immediately.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="521" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/12-6-1024x521.png" alt="" class="wp-image-14013" srcset="https://www.osradar.com/wp-content/uploads/2019/09/12-6-1024x521.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/12-6-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/12-6-768x390.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/12-6-696x354.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/12-6-1068x543.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/12-6-826x420.png 826w, https://www.osradar.com/wp-content/uploads/2019/09/12-6.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="546" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/12-1-1-1024x546.png" alt="" class="wp-image-14025" srcset="https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-1024x546.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-768x409.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-1068x569.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1-788x420.png 788w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1.png 1567w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Note:</strong> If you are facing any issue during plugins installation, Click on &#8220;<strong>Select plugins to install</strong>&#8221; option then un-select all plugins. You can install desired plugins from jenkins dashboard also.</p>



<p>Now, create an admin account which will  be used to manage the Jenkins server.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="545" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/13-7-1024x545.png" alt="" class="wp-image-14026" srcset="https://www.osradar.com/wp-content/uploads/2019/09/13-7-1024x545.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/13-7-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/13-7-768x409.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/13-7-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/13-7-1068x569.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/13-7-789x420.png 789w, https://www.osradar.com/wp-content/uploads/2019/09/13-7.png 1587w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, you need to set Jenkins URL, set a URL or leave it as default and click on Save and Finish button.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="514" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/14-7-1024x514.png" alt="" class="wp-image-14015" srcset="https://www.osradar.com/wp-content/uploads/2019/09/14-7-1024x514.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/14-7-300x151.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/14-7-768x385.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/14-7-696x349.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/14-7-1068x536.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/14-7-837x420.png 837w, https://www.osradar.com/wp-content/uploads/2019/09/14-7.png 1917w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Finally, everything has been done, click on &#8220;Start using Jenkins&#8221; button </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="515" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/15-6-1024x515.png" alt="" class="wp-image-14016" srcset="https://www.osradar.com/wp-content/uploads/2019/09/15-6-1024x515.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/15-6-300x151.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/15-6-768x386.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/15-6-696x350.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/15-6-1068x537.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/15-6-835x420.png 835w, https://www.osradar.com/wp-content/uploads/2019/09/15-6.png 1916w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>and you will redirect to the Jenkins dashboard.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="521" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/16-7-1024x521.png" alt="" class="wp-image-14017" srcset="https://www.osradar.com/wp-content/uploads/2019/09/16-7-1024x521.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/16-7-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/16-7-768x391.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/16-7-696x354.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/16-7-1068x543.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/16-7-825x420.png 825w, https://www.osradar.com/wp-content/uploads/2019/09/16-7.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>That&#8217;s it.</p>



<p>Jenkins allows you to deploy and automate important tasks for application development in an enterprise environment. However, it requires some previous knowledge of Linux.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-on-centos-8-rhel-8/">How to install jenkins on CentOS 8 / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-jenkins-on-centos-8-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Jenkins on Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-jenkins-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-jenkins-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Fri, 02 Aug 2019 19:25:55 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">http://www.googez.com/?p=465</guid>

					<description><![CDATA[<p>Hello! I hope you are going well! This time I will talk to you about Jenkins, and how to install it on Windows 10. It is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. It is multiplatform which means that is available for different operating systems, like OS X, Windows or [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-on-windows-10/">How to install Jenkins on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! I hope you are going well! This time I will talk to you about <a aria-label="Jenkins (opens in a new tab)" rel="noreferrer noopener" href="https://jenkins.io/" target="_blank">Jenkins</a>, and how to install it on Windows 10. It is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. It is multiplatform which means that is available for different operating systems, like OS X, Windows or Linux.  In addition, because of uses Continous Integration, allows us to continuously deliver our software by integrating with a large number of testing and deployment technologies. In other words, this software facilitates the development work, inasmuch as, it is responsible for compiling and running tests of a whole project. Moreover, the process is carried out automatically, from time to time and through plugins, Jenkins let us know about the result of this test.</p>



<h2>Installing Java SDK</h2>



<p>In the first place, we need to download and install Java Development Kit <a rel="noreferrer noopener" aria-label="JDK (opens in a new tab)" href="https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" target="_blank">JDK</a>. Now, download the latest Jenkins package for Windows from <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://jenkins.io/download/" target="_blank">here</a>.</p>



<h2>Installing Jenkins step by step</h2>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins-1024x728.jpg" alt="Downloading the last version of Jenkins" class="wp-image-466"/><figcaption>Downloading the last version of Jenkins</figcaption></figure>



<p>Unzip the file to any folder and click on the Jenkins EXE file.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins2-1-1024x220.jpg" alt="Unzip the file and click on the Jenkins EXE file" class="wp-image-468"/><figcaption>Unzip the file and click on the Jenkins EXE file</figcaption></figure>



<p>Click <em>Next </em>to start the installation. </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins3.jpg" alt="Click Next to start the installation" class="wp-image-469"/><figcaption> Click <em>Next </em>to start the installation </figcaption></figure>



<p>Select the folder to installation, if you want to change it, click on <em>Change, </em>if you do not, just click on <em>Next.</em></p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins4.jpg" alt="Select the folder to install Jenkins" class="wp-image-470"/><figcaption>Select the folder to install Jenkins</figcaption></figure>



<p>Once the installation´s options had been set,  we can click on <em>Install</em> to start the installation process.</p>



<p></p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins6.jpg" alt="The installations is processing" class="wp-image-471"/><figcaption> The installations is processing </figcaption></figure>



<p>When installer fishiness its job, click on <em>Finish</em></p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/07/jenkins7.jpg" alt="Finishing installations of Jenkins" class="wp-image-472"/><figcaption>Finishing installations of Jenkins</figcaption></figure>



<p>Immediately, a web browser with a local Jenkins page will show up, if it not,  we can paste the URL <a rel="noreferrer noopener" href="http://localhost:8080" target="_blank">http://localhost:8080</a> in a browser.  </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins8-1024x711.jpg" alt="Jenkins local page indicating password location" class="wp-image-473"/><figcaption>Jenkins local page indicating password location</figcaption></figure>



<p>Go to the indicated location and open the file with <em>Notepad.</em></p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins11-1024x422.jpg" alt="Opening the file with the password" class="wp-image-476"/><figcaption>Opening the file with the password</figcaption></figure>



<p> To unlock Jenkins, copy the password from the file at <em>C:\Program Files (x86)\Jenkins\secrets\initialAdminPassw ord</em> and paste it in the <em>Administrator password </em>field. Then, click the <em>Continue</em> button.  </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins9.jpg" alt="To unlock Jenkins, please insert the password located into the installation´s folder" class="wp-image-474"/><figcaption> To unlock Jenkins, please insert the password located into the installation´s folder </figcaption></figure>



<p>Then, we process to install plugins,  either the suggested plugins or selected plugins we want. For now, please select the selected plugins and wait until plugin´s installation be completed </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins10-1024x730.jpg" alt="Installing Jenkins plugin" class="wp-image-475"/><figcaption>Installing Jenkins plugin</figcaption></figure>



<p>Once the plugin installation is succeeded, we have to create our credentials ton management Jenkins.  Put in your details and click <em>Save and Continue</em> </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins12-1024x728.jpg" alt="Creating Admin User" class="wp-image-477"/><figcaption>Creating Admin User</figcaption></figure>



<p>Now, we have to choose the URL information where we can configure the default instance path for Jenkins. To avoid confusion, the software itself recommend setting this value to the URL. Click Save and Continue to finish the installation.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins16.jpg" alt="Choosing local host" class="wp-image-479"/><figcaption>Choosing local host</figcaption></figure>



<p> Hit the<em> Start using Jenkins </em>to start Jenkins</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins14.jpg" alt="Jenkins is ready to use" class="wp-image-480"/><figcaption>Jenkins is ready to use</figcaption></figure>



<p>Finally, we had installed Jenkins successfully. A Dashboard will be appear. From now we can create our first Jenkins Jobs.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/jenkins13-1024x730.jpg" alt="Jenkins dashboard" class="wp-image-481"/><figcaption>Jenkins dashboard</figcaption></figure>



<h2>Conclussion</h2>



<p>As has been noted, the Jenkins installation is an easy e intuitive proceed to do. However, this is a powerful tool to improve our developing works. I hope you can use this information to futures jobs and also I invited you to see our post about how to install an <a href="http://www.osradar.com/how-to-install-ftp-servers-in-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="FTP server (opens in a new tab)">FTP server</a><a rel="noreferrer noopener" aria-label="P server  (opens in a new tab)" href="http://www.osradar.com/how-to-install-ftp-servers-in-windows-10/" target="_blank"> </a>on Windows Server 2019.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-on-windows-10/">How to install Jenkins on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-jenkins-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to deploy Jenkins using docker-compose?</title>
		<link>https://www.osradar.com/deploy-jenkins-using-docker-compose/</link>
					<comments>https://www.osradar.com/deploy-jenkins-using-docker-compose/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 30 Jul 2019 02:12:57 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker compose]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12838</guid>

					<description><![CDATA[<p>We already know the potential of Docker and how easy it is to display images thanks to Docker-compose. In this post, you will learn how to deploy Jenkins using Docker-compose. This is in order to avoid manual installation of the application. Moreover, with this method, you do not have to worry about the operating system [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-jenkins-using-docker-compose/">How to deploy Jenkins using docker-compose?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We already know the potential of Docker and how easy it is to display images thanks to Docker-compose. In this post, you will learn how to deploy Jenkins using Docker-compose. This is in order to avoid manual installation of the application. Moreover, with this method, you do not have to worry about the operating system but just have Docker installed.</p>
<h2>Install Docker and Docker-compose</h2>
<p>The first thing to do is to install Docker and Docker compose in our system. <a href="https://www.osradar.com/install-docker-on-debian-10/">In the case of Debian 10</a>, there is a tutorial of ours that you can use as a guide.</p>
<p>For the rest of the distributions, it is a good idea to read <a href="https://docs.docker.com/install/">Docker&#8217;s official documentation</a>. Anyway, it is not hard to do.</p>
<h2>Deploy Jenkins using Docker-compose</h2>
<p>As we explained in the post to deploy LAMP using Docker-compose, the definitions of images and their options, we do them in a file with the extension YML. To do this, it is recommended to first make a folder and within it create the file.</p>
<p>So, open a terminal session and type the following:</p>
<pre>:~$ mkdir jenkins &amp;&amp; cd jenkins</pre>
<p>Once we have entered the folder using your favorite text editor proceed to create the <code>docker-compose.yml</code> file.</p>
<pre>:~$ nano docker-compose.yml</pre>
<p>Once inside, we will begin to define the content.</p>
<pre>version: '2'
services:
  jenkins:
  image: 'bitnami/jenkins:2'</pre>
<p>First the basic file definitions. The version to use will be the 2. And we will deploy only a service that will be called <em>jenkins</em>. For it, we will use the image Jenkins of bitnami. It is very well documented and quite reliable.</p>
<p>Then, we continue with the definition of the options.</p>
<pre>ports:
      - '80:8080'
      - '443:8443'
      - '50000:50000'
    volumes:
      - 'jenkins_data:/bitnami'
volumes:
  jenkins_data:
  driver: local</pre>
<p>In this section, you define the ports that the image will use. Remember that Jenkins uses the <code>8080</code> but we will access the <code>8080</code> port of the image through the <code>80</code>. So, the <code>443</code> is for secure connections with Jenkins.</p>
<p>Equally, with LAMP, it is advisable to mount a volume for the Jenkins data. And at the end of the file, we refer to the options of that volume.</p>
<p>So, the file will be completed as follows:</p>
<pre>version: '2'
services:
  jenkins:
    image: 'bitnami/jenkins:2'
    ports:
      - '80:8080'
      - '443:8443'
      - '50000:50000'
    volumes:
      - 'jenkins_data:/bitnami'
volumes:
  jenkins_data:
  driver: local</pre>
<p><figure id="attachment_12841" aria-describedby="caption-attachment-12841" style="width: 841px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12841" src="https://www.osradar.com/wp-content/uploads/2019/07/1-9.jpeg" alt="1.- Docker-compose file for Jenkins" width="841" height="301" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-9.jpeg 841w, https://www.osradar.com/wp-content/uploads/2019/07/1-9-300x107.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-9-768x275.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-9-696x249.jpeg 696w" sizes="(max-width: 841px) 100vw, 841px" /><figcaption id="caption-attachment-12841" class="wp-caption-text">1.- Docker-compose file for Jenkins</figcaption></figure></p>
<p>We can now raise the image, but I want to show you a few more options.</p>
<h2>Some useful options to deploy Jenkins</h2>
<p>This Jenkins image is customizable thanks to environment variables that can be modified. Some of them are these:</p>
<ul>
<li>JENKINS_USERNAME: Jenkins admin username.</li>
<li>JENKINS_PASSWORD: Jenkins admin password.</li>
<li>JENKINS_HOME: Jenkins home directory.</li>
<li>DISABLE_JENKINS_INITIALIZATION: Allows to disable the initial Bitnami configuration for Jenkins.</li>
<li>JAVA_OPTS: Customize JVM parameters.</li>
</ul>
<p>To use and modify them, just add them to the file in the environment section. For example:</p>
<pre>jenkins:
  ...
  environment:
    - JENKINS_PASSWORD=your-password
  ...</pre>
<p>Note: by default the user is <code>user</code> and the password is <code>bitnami</code>. Then, you can modify it from Jenkins once it has been deployed.</p>
<h2>Running and testing Jenkins</h2>
<p>Once you have finished defining the docker-compose file. Now we can execute it with the following command:</p>
<pre>:~$ sudo docker-compose up -d</pre>
<p><figure id="attachment_12843" aria-describedby="caption-attachment-12843" style="width: 782px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12843" src="https://www.osradar.com/wp-content/uploads/2019/07/2-6.jpeg" alt="2.- Deploy Jenkins using docker-compose" width="782" height="331" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-6.jpeg 782w, https://www.osradar.com/wp-content/uploads/2019/07/2-6-300x127.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/2-6-768x325.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/2-6-696x295.jpeg 696w" sizes="(max-width: 782px) 100vw, 782px" /><figcaption id="caption-attachment-12843" class="wp-caption-text">2.- Deploy Jenkins using docker-compose</figcaption></figure></p>
<p>Next, open your web browser and go to your server using the port 80.</p>
<p><figure id="attachment_12844" aria-describedby="caption-attachment-12844" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12844" src="https://www.osradar.com/wp-content/uploads/2019/07/3-11.png" alt="3.- Jenkins is almost ready to work" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/3-11-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12844" class="wp-caption-text">3.- Jenkins is almost ready to work</figcaption></figure></p>
<p>Then, login into the application using the default credentials or yours.</p>
<p><figure id="attachment_12845" aria-describedby="caption-attachment-12845" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12845" src="https://www.osradar.com/wp-content/uploads/2019/07/4-8.png" alt="4.- Jenkins log in screen" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/4-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/4-8-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12845" class="wp-caption-text">4.- Jenkins log in screen</figcaption></figure></p>
<p>After that, you will see the dashboard.</p>
<p><figure id="attachment_12846" aria-describedby="caption-attachment-12846" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12846 size-full" src="https://www.osradar.com/wp-content/uploads/2019/07/5-9.png" alt="5.- Everything is OK" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/5-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/5-9-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12846" class="wp-caption-text">5.- Everything is OK</figcaption></figure></p>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>Jenkins is a very popular application and it is possible to install it on our server using docker. This way we save a lot of time on some operating-system configurations. However, for total control of it, it is advisable to do it manually.</p>
<p>You can read <a href="https://www.osradar.com/install-jenkins-debian-10/" target="_blank" rel="noopener noreferrer">How to install Jenkins on Debian 10</a>?</p>
<p>Please share this post and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-jenkins-using-docker-compose/">How to deploy Jenkins using docker-compose?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/deploy-jenkins-using-docker-compose/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Jenkins on Debian 10?</title>
		<link>https://www.osradar.com/install-jenkins-debian-10/</link>
					<comments>https://www.osradar.com/install-jenkins-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 28 Jul 2019 23:22:49 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12798</guid>

					<description><![CDATA[<p>Jenkins is a fantastic application that automates application processes on a server. It is written in Java and therefore compatible with many Linux distributions. So, in this post, you will learn how to install Jenkins on Debian 10. Continuous integration and Jenkins In a production environment, the software is developed and compiled frequently. In addition [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-debian-10/">How to install Jenkins on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Jenkins is a fantastic application that automates application processes on a server. It is written in Java and therefore compatible with many Linux distributions. So, in this post, you will learn how to install Jenkins on Debian 10.</p>
<h2>Continuous integration and Jenkins</h2>
<p>In a production environment, the software is developed and compiled frequently. In addition to this, it needs to be tested quite a few times. With each change in the source code, it is necessary to start the whole process over again.</p>
<p><a href="https://jenkins.io/" rel="noopener noreferrer">Jenkins</a> automates all these tasks quickly and easily. So, the process where all the changes and functions of the application in development are automatically verified is called continuous integration.</p>
<p>In this sense, using Jenkins the developer will know at all times the status of his application. Failures, new features, and processes will be automated and monitored with Jenkins.</p>
<h2>Install Jenkins on Debian 10 Buster</h2>
<p>One of the great advantages of Jenkins is that it is cross-platform. This is because it is built in Java. Therefore, it can be installed on almost all Linux distributions without any problems. Of course, also in Debian 10.</p>
<p>However, there are some small things to keep in mind. First of all, it is necessary to have a user with sudo or to be root users.</p>
<p>Read <a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" rel="noopener noreferrer">how to enable sudo on Debian 10?</a></p>
<p>On the other hand, you have to have <a href="https://www.osradar.com/tag/java/" rel="noopener noreferrer">Java</a> installed and know how to use the terminal. So, let us start.</p>
<h3>1) Install Java on Debian 10</h3>
<p>First of all, you must have Java installed. This is vital because Jenkins is made in Java. So open a terminal and run the following command:</p>
<pre>:~$ sudo apt install default-jre default-jdk</pre>
<p>Then, check the Java version.</p>
<pre>:~$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-post-Debian-5)
OpenJDK 64-Bit Server VM (build 11.0.3+7-post-Debian-5, mixed mode, sharing)</pre>
<p>Now, Java is correctly installed.</p>
<h3>2) Add the Jenkins repository on Debian 10</h3>
<p>Jenkins is a vital program in professionally deploying software. So, to install it, it requires a safe and reliable method from Jenkins developers. For this purpose and to facilitate the installation, they have made available a software repository.</p>
<p>So, add it to our Debian 10 Buster. First, install some necessary packages:</p>
<pre>:~$ sudo apt install apt-transport-https wget gnupg</pre>
<p>Then, add the GPG key for the repository.</p>
<pre>:~$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
OK</pre>
<p>Now add edit the file <code>/etc/apt/sources.list</code> and add the following. To do this, I will use the nano text editor.</p>
<pre>:~$ sudo nano /etc/apt/sources.list
deb https://pkg.jenkins.io/debian-stable binary/</pre>
<p>Next, save the changes (CTRL + O) and close the file (CTRL +X).</p>
<h3>3) Install Jenkins on Debian 10 (I)</h3>
<p>Then, refresh APT and install Jenkins on Debian 10 using the following commands:</p>
<pre>:~$ sudo apt update
:~$ sudo apt install jenkins</pre>
<p><figure id="attachment_12825" aria-describedby="caption-attachment-12825" style="width: 645px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12825" src="https://www.osradar.com/wp-content/uploads/2019/07/1-8.jpeg" alt="1.- Install Jenkins on Debian 10 Buster" width="645" height="245" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-8.jpeg 645w, https://www.osradar.com/wp-content/uploads/2019/07/1-8-300x114.jpeg 300w" sizes="(max-width: 645px) 100vw, 645px" /><figcaption id="caption-attachment-12825" class="wp-caption-text">1.- Install Jenkins on Debian 10 Buster</figcaption></figure></p>
<p>You can check the service status by running this command:</p>
<pre>:~$ sudo systemctl status jenkins</pre>
<p><figure id="attachment_12828" aria-describedby="caption-attachment-12828" style="width: 767px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12828" src="https://www.osradar.com/wp-content/uploads/2019/07/2-5.jpeg" alt="2.- Jenkins status on Debian 10" width="767" height="310" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-5.jpeg 767w, https://www.osradar.com/wp-content/uploads/2019/07/2-5-300x121.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/2-5-696x281.jpeg 696w" sizes="(max-width: 767px) 100vw, 767px" /><figcaption id="caption-attachment-12828" class="wp-caption-text">2.- Jenkins status on Debian 10</figcaption></figure></p>
<p>As you can see, the service is running smoothly. Now, you need to get the default superuser key. To do this, run this command:</p>
<pre>:~$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword
6dcefe440e474daea0f4b85ace1ad954</pre>
<p>Now, complete the installation using the web browser.</p>
<h3>3) Install Jenkins on Debian 10 (II)</h3>
<p>Now we have to go to the server and complete the installation. Open your web browser and go to <code>http://server-ip:8080</code> Remember that Jenkins uses port <code>8080</code> by default. You will see this. Just, type the root password and continue.</p>
<p><figure id="attachment_12829" aria-describedby="caption-attachment-12829" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12829" src="https://www.osradar.com/wp-content/uploads/2019/07/3-10.png" alt="3.- Default password screen" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/3-10-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12829" class="wp-caption-text">3.- Default password screen</figcaption></figure></p>
<p>Then, create the admin user.</p>
<p><figure id="attachment_12830" aria-describedby="caption-attachment-12830" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12830" src="https://www.osradar.com/wp-content/uploads/2019/07/4-7.png" alt="4.- Creating the admin user" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/4-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/4-7-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12830" class="wp-caption-text">4.- Creating the admin user</figcaption></figure></p>
<p>After that, you can choose the plugins you want to activate. Whether they are suggested or others.</p>
<p><figure id="attachment_12831" aria-describedby="caption-attachment-12831" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-12831" src="https://www.osradar.com/wp-content/uploads/2019/07/5-8.png" alt="5.- Customize Jenkins installation" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/5-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/5-8-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12831" class="wp-caption-text">5.- Customize Jenkins installation</figcaption></figure></p>
<p><figure id="attachment_12832" aria-describedby="caption-attachment-12832" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12832" src="https://www.osradar.com/wp-content/uploads/2019/07/6-5.png" alt="6.- Select the plugins you want to install" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/6-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/6-5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12832" class="wp-caption-text">6.- Select the plugins you want to install</figcaption></figure></p>
<p>Then, after a couple of confirmation and information windows. You will be on the Jenkins dashboard.</p>
<p><figure id="attachment_12833" aria-describedby="caption-attachment-12833" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12833" src="https://www.osradar.com/wp-content/uploads/2019/07/7-5.png" alt="7.- Jenkins Dashboard" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/7-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/7-5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12833" class="wp-caption-text">7.- Jenkins Dashboard</figcaption></figure></p>
<p>Enjoy it. 😀</p>
<h2>Conclusion</h2>
<p>In this post, you have learned to install Jenkins on Debian 10, Buster. It is a pretty good application for continuous integration processes. So the processes inherent to the software development can be automated giving the developer truthful and accurate information about the process.</p>
<p>Please share this post and join <a href="http://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-debian-10/">How to install Jenkins on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-jenkins-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Jenkins on OpenSUSE 15 / SUSE 15?</title>
		<link>https://www.osradar.com/install-jenkins-opensuse-15-suse-15/</link>
					<comments>https://www.osradar.com/install-jenkins-opensuse-15-suse-15/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 07 Jan 2019 03:30:25 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Leap]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8998</guid>

					<description><![CDATA[<p>If we talk about Linux servers, the first thing we&#8217;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&#8217;d better keep an eye on this distribution and the way it does things. So today I&#8217;ll show you how to install [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-opensuse-15-suse-15/">How to install Jenkins on OpenSUSE 15 / SUSE 15?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If we talk about Linux servers, the first thing we&#8217;ll think about is Debian, Ubuntu or CentOS. However, more and more companies are relying on OpenSUSE or <a href="https://www.suse.com/" target="_blank" rel="noopener">SUSE</a> as their server system. So you&#8217;d better keep an eye on this distribution and the way it does things. So today I&#8217;ll show you how to install <a href="https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/" target="_blank" rel="noopener">Jenkins</a> on OpenSuse 15. Although this tutorial also applies to SUSE 15.</p>
<p>We have already talked about <a href="https://jenkins.io/" target="_blank" rel="noopener">Jenkins</a>, this great application written in Java for the deployment of applications and of course, the automation of tasks concerning software and servers.</p>
<p>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 <a href="http://osradar.com/tag/linux" target="_blank" rel="noopener">Linux</a>, 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 <a href="https://plugins.jenkins.io/" target="_blank" rel="noopener">plugins</a>.</p>
<p>So, let&#8217;s start to install Jenkins on OpenSUSE 15 or SUSE 15.</p>
<h2>1. Upgrade the system and install Java</h2>
<p>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.</p>
<pre class="">:~$ sudo zypper up</pre>
<p><figure id="attachment_8999" aria-describedby="caption-attachment-8999" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8999" src="https://www.osradar.com/wp-content/uploads/2019/01/1-5.png" alt="1.- Upgrade the system" width="1365" height="252" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/1-5-300x55.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-5-768x142.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-5-1024x189.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-5-1068x197.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8999" class="wp-caption-text">1.- Upgrade the system</figcaption></figure></p>
<p>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:</p>
<pre class="">:~$ sudo zypper in java-1_8_0-openjdk</pre>
<p><figure id="attachment_9005" aria-describedby="caption-attachment-9005" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9005" src="https://www.osradar.com/wp-content/uploads/2019/01/2-222.png" alt="2.- Install Java " width="1365" height="272" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-222.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/2-222-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-222-768x153.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-222-1024x204.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/2-222-1068x213.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-9005" class="wp-caption-text">2.- Install Java</figcaption></figure></p>
<p>Now, check the Java version installed.</p>
<pre class="">:~$ java -version</pre>
<p>As you can see in the image, Java is installed and ready to use.</p>
<p><figure id="attachment_9006" aria-describedby="caption-attachment-9006" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9006" src="https://www.osradar.com/wp-content/uploads/2019/01/3-33333.png" alt="3.- Java version" width="840" height="156" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-33333.png 840w, https://www.osradar.com/wp-content/uploads/2019/01/3-33333-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-33333-768x143.png 768w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-9006" class="wp-caption-text">3.- Java version</figcaption></figure></p>
<h2>2. Install Jenkins on OpenSUSE 15 and SUSE 15</h2>
<p>Now it&#8217;s time to install Jenkins. The easiest way to do this is through the official repository provided by Jenkins for OpenSUSE. It&#8217;s up to date and ideal.</p>
<pre class="">:~$ sudo zypper addrepo -f http://pkg.jenkins.io/opensuse-stable/ jenkins</pre>
<p><figure id="attachment_9002" aria-describedby="caption-attachment-9002" style="width: 1363px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9002" src="https://www.osradar.com/wp-content/uploads/2019/01/4-5.png" alt="4.- Add the Jenkins official repository" width="1363" height="287" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-5.png 1363w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-768x162.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-1024x216.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-1068x225.png 1068w" sizes="(max-width: 1363px) 100vw, 1363px" /><figcaption id="caption-attachment-9002" class="wp-caption-text">4.- Add the Jenkins official repository</figcaption></figure></p>
<p>Next, install Jenkins.</p>
<pre class="">:~$ sudo zypper install jenkins</pre>
<p><figure id="attachment_9003" aria-describedby="caption-attachment-9003" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9003" src="https://www.osradar.com/wp-content/uploads/2019/01/5-5.png" alt="5.- Trust in the repository" width="1365" height="398" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/5-5-300x87.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-5-768x224.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-5-1024x299.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-5-1068x311.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-9003" class="wp-caption-text">5.- Trust in the repository</figcaption></figure></p>
<p><figure id="attachment_9004" aria-describedby="caption-attachment-9004" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9004" src="https://www.osradar.com/wp-content/uploads/2019/01/6-4.png" alt="6.- Install Jenkins on OpenSUSE and SUSE 15" width="1365" height="569" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/6-4-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-4-768x320.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-4-1024x427.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-4-1068x445.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-4-1008x420.png 1008w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-9004" class="wp-caption-text">6.- Install Jenkins on OpenSUSE and SUSE 15</figcaption></figure></p>
<p>Now, start the service and check the status.</p>
<pre class="">:~$ sudo systemctl start jenkins
:~$ sudo systemctl status jenkins</pre>
<p><figure id="attachment_9007" aria-describedby="caption-attachment-9007" style="width: 796px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9007" src="https://www.osradar.com/wp-content/uploads/2019/01/7-4.png" alt="7.- Start Jenkins" width="796" height="298" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-4.png 796w, https://www.osradar.com/wp-content/uploads/2019/01/7-4-300x112.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-4-768x288.png 768w" sizes="(max-width: 796px) 100vw, 796px" /><figcaption id="caption-attachment-9007" class="wp-caption-text">7.- Start Jenkins</figcaption></figure></p>
<p>Jenkins uses the 8080 port. So, set the Firewall rule to make Jenkins available.</p>
<pre class="">:~$ firewall-cmd --zone=public --add-port=8080/tcp --permanent
:~$ firewall-cmd --zone=public --add-service=http --permanent
:~$ firewall-cmd --reload</pre>
<p><figure id="attachment_9008" aria-describedby="caption-attachment-9008" style="width: 864px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9008" src="https://www.osradar.com/wp-content/uploads/2019/01/8-3.png" alt="8.- Creating a new firewall rule for Jenkins" width="864" height="207" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-3.png 864w, https://www.osradar.com/wp-content/uploads/2019/01/8-3-300x72.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-3-768x184.png 768w" sizes="(max-width: 864px) 100vw, 864px" /><figcaption id="caption-attachment-9008" class="wp-caption-text">8.- Creating a new firewall rule for Jenkins</figcaption></figure></p>
<p>Next, get the admin password.</p>
<pre class="">:~$ sudo more /var/lib/jenkins/secrets/initialAdminPassword</pre>
<p><figure id="attachment_9009" aria-describedby="caption-attachment-9009" style="width: 796px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9009" src="https://www.osradar.com/wp-content/uploads/2019/01/9-3.png" alt="9.- Showing the initial admin password" width="796" height="125" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-3.png 796w, https://www.osradar.com/wp-content/uploads/2019/01/9-3-300x47.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-3-768x121.png 768w" sizes="(max-width: 796px) 100vw, 796px" /><figcaption id="caption-attachment-9009" class="wp-caption-text">9.- Showing the initial admin password</figcaption></figure></p>
<p>The next step is open your web browser and go to <code>http://IP_SERVER:8080</code>. And put your password on the field.</p>
<p><figure id="attachment_9010" aria-describedby="caption-attachment-9010" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9010" src="https://www.osradar.com/wp-content/uploads/2019/01/10-3.png" alt="10.- Jenkins initial screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/10-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/10-3-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9010" class="wp-caption-text">10.- Jenkins initial screen</figcaption></figure></p>
<p>Then you will be asked about the plugins to install. Choose the recommended plugins. Then, the installer wll start the work.</p>
<p><figure id="attachment_9011" aria-describedby="caption-attachment-9011" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9011" src="https://www.osradar.com/wp-content/uploads/2019/01/11-1.png" alt="11.- Starting the installation on the web interface" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/11-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/11-1-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9011" class="wp-caption-text">11.- Starting the installation on the web interface</figcaption></figure></p>
<p>Next, create the admin account.</p>
<p>&nbsp;</p>
<p><figure id="attachment_9012" aria-describedby="caption-attachment-9012" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9012" src="https://www.osradar.com/wp-content/uploads/2019/01/12-1.png" alt="12.- Creating first admin user" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/12-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/12-1-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9012" class="wp-caption-text">12.- Creating first admin user</figcaption></figure></p>
<p>And that&#8217;s it. Jenkins is installed. Finally, you will see the dashboard.</p>
<p>&nbsp;</p>
<p><figure id="attachment_9013" aria-describedby="caption-attachment-9013" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9013" src="https://www.osradar.com/wp-content/uploads/2019/01/13-1.png" alt="13.- Jenkins is ready" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/13-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/13-1-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9013" class="wp-caption-text">13.- Jenkins is ready</figcaption></figure></p>
<p><figure id="attachment_9014" aria-describedby="caption-attachment-9014" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9014" src="https://www.osradar.com/wp-content/uploads/2019/01/14-1.png" alt="14.-Jenkins dashboard" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/14-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/14-1-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9014" class="wp-caption-text">14.-Jenkins dashboard</figcaption></figure></p>
<h2>Conclusion</h2>
<p>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.</p>
<p>So, please share this article in your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-opensuse-15-suse-15/">How to install Jenkins on OpenSUSE 15 / SUSE 15?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-jenkins-opensuse-15-suse-15/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Jenkins on CentOS 7?</title>
		<link>https://www.osradar.com/install-jenkins-centos-7/</link>
					<comments>https://www.osradar.com/install-jenkins-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 30 Oct 2018 02:00:57 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6763</guid>

					<description><![CDATA[<p>Continuous integration is a term that can confuse certain people who do not constantly develop applications in a business environment. Jenkins is the software that makes it possible. So, in this tutorial, I will show you how to install Jenkins on CentOS 7. Jenkins is an open source automation server, that provides hundreds of plugins [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-centos-7/">How to install Jenkins on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Continuous integration is a term that can confuse certain people who do not constantly develop applications in a business environment. Jenkins is the software that makes it possible. So, in this tutorial, I will show you how to install Jenkins on CentOS 7.</p>
<p><a href="https://jenkins.io/" rel="noopener">Jenkins</a> is an open source automation server, that provides hundreds of plugins to support building, deploying and automating any project. I&#8217;m talking about an open source application, released under the <a href="https://opensource.org/licenses/MIT" rel="noopener">MIT</a> license. In addition, It also requires Java for its correct execution because this is the language where it was developed.</p>
<h2>Why Jenkins?</h2>
<p>With Jenkins, you can automate your work-flow in large-scale application development with seamless integration.</p>
<p>The concept of Continuous Integration refers to a model in which a source code must be compiled and run from time to time in order to detect bugs and generate reports to improve it.</p>
<p>To put it another way, developers soon upload their source code to the version control repository, it is compiled, executed, and finally tested. Jenkins automates this process and makes it almost routine. However, Jenkins&#8217; power is not limited to this.</p>
<p>Let&#8217;s install it on CentOS 7.</p>
<h2>0. What you need</h2>
<p>The purpose of this tutorial is to install Jenkins on CentOS 7. The process is not complex, but some things are required before starting:</p>
<ul>
<li>It is necessary to execute commands as the root user.</li>
<li>The terminal is the most powerful and versatile tool Linux has. Today you will use it quite a lot, so it is recommended that you have some previous knowledge about its use.</li>
<li>The team must have CentOS 7 if you use Ubuntu 18.04 this tutorial is not for you. But <a href="https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/" rel="noopener">this</a> one is.</li>
</ul>
<h2>1.- Upgrade the system</h2>
<p>I always recommend updating the system, before performing any installation. Because you can get the latest security updates and thus have a more protected and reliable system.</p>
<pre class="">:~$ su -
:~# yum update</pre>
<p><figure id="attachment_6766" aria-describedby="caption-attachment-6766" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6766" src="https://www.osradar.com/wp-content/uploads/2018/10/1-22.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-22-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6766" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>As I said before, doing this gives the system more secure.</p>
<h2>2. Install Java</h2>
<p>Jenkins requires Java to run properly, so you have to install it to continue the installation.</p>
<pre class="">:~# yum install java-1.8.0-openjdk</pre>
<p><figure id="attachment_6767" aria-describedby="caption-attachment-6767" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6767" src="https://www.osradar.com/wp-content/uploads/2018/10/2-3.jpg" alt="2.- Installing Java" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-3.jpg 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-768x432.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-1024x576.jpg 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-696x391.jpg 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-1068x600.jpg 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-3-747x420.jpg 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6767" class="wp-caption-text">2.- Installing Java</figcaption></figure></p>
<p>Once the installation is complete, check the installed Java version.</p>
<pre class="">:~# java -version</pre>
<p><figure id="attachment_6768" aria-describedby="caption-attachment-6768" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6768" src="https://www.osradar.com/wp-content/uploads/2018/10/3-21.png" alt="3.- Showing the Java version" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-21-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6768" class="wp-caption-text">3.- Showing the Java version</figcaption></figure></p>
<p>As you can see in the image, Java has been correctly installed.</p>
<h2>3. Add the Jenkins Repository</h2>
<p>Jenkins does not come by default in the CentOS 7 repositories. So we have two ways to install it. The first is to download the package in .rpm format and install it. The second is to add the repository and install it using yum. For this tutorial, I will choose the second option.</p>
<p>First, download the repo file.</p>
<pre class="">:~# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo</pre>
<p><figure id="attachment_6770" aria-describedby="caption-attachment-6770" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6770" src="https://www.osradar.com/wp-content/uploads/2018/10/4-16.png" alt="4.- Adding the Jenkins repository file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6770" class="wp-caption-text">4.- Adding the Jenkins repository file</figcaption></figure></p>
<p>Then, import the GPG key.</p>
<pre class="">:~# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key</pre>
<p><figure id="attachment_6771" aria-describedby="caption-attachment-6771" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6771" src="https://www.osradar.com/wp-content/uploads/2018/10/5-15.png" alt="5.- Import the GPG key" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-15.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-15-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6771" class="wp-caption-text">5.- Import the GPG key</figcaption></figure></p>
<p>Finally, install Jenkins.</p>
<pre class="">:~# yum install Jenkins</pre>
<p><figure id="attachment_6772" aria-describedby="caption-attachment-6772" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6772" src="https://www.osradar.com/wp-content/uploads/2018/10/6-14.png" alt="6.- It's time to install Jenkins" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/6-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6772" class="wp-caption-text">6.- It&#8217;s time to install Jenkins</figcaption></figure></p>
<p>At the end of the download, Jenkins will be installed on the computer.</p>
<p>Then, enable Jenkins service to start at the system startup.</p>
<pre class="">:~# systemctl enable jenkins
:~# systemctl start jenkins</pre>
<p><figure id="attachment_6774" aria-describedby="caption-attachment-6774" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6774" src="https://www.osradar.com/wp-content/uploads/2018/10/7-14.png" alt="7.- Enabling Jenkins service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/7-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6774" class="wp-caption-text">7.- Enabling Jenkins service</figcaption></figure></p>
<p>Next, check the Jenkins status.</p>
<pre class="">:~# systemctl status jenkins</pre>
<p><figure id="attachment_6775" aria-describedby="caption-attachment-6775" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6775" src="https://www.osradar.com/wp-content/uploads/2018/10/8-13.png" alt="8.- Checking the Jenkins service status" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/8-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6775" class="wp-caption-text">8.- Checking the Jenkins service status</figcaption></figure></p>
<p>As you can see in the image, Jenkins is correctly running.</p>
<h2>4. Setting the firewall rules</h2>
<p>We know that CentOS 7 takes the security of the system very seriously and that is why the firewall does not allow any connection by default. For Jenkins to work, the firewall must allow connections through port 8080.</p>
<pre class="">:~# firewall-cmd --zone=public --add-port=8080/tcp --permanent
:~# firewall-cmd --zone=public --add-service=http --permanent
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_6776" aria-describedby="caption-attachment-6776" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6776" src="https://www.osradar.com/wp-content/uploads/2018/10/9-14.png" alt="9.- Settings firewall rules" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6776" class="wp-caption-text">9.- Settings firewall rules</figcaption></figure></p>
<p>Now, Jenkins can work well.</p>
<h2>5. Access Jenkins web interface</h2>
<p>Jenkins has a configuration panel with a web interface. However, before accessing the panel, it is necessary to obtain the administrator password. To do this, run the following:</p>
<pre class="">#grep -A 5  password /var/log/jenkins/jenkins.log</pre>
<p><figure id="attachment_6777" aria-describedby="caption-attachment-6777" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6777" src="https://www.osradar.com/wp-content/uploads/2018/10/10-13.png" alt="10.- Getting the Jenkins password" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/10-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/10-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6777" class="wp-caption-text">10.- Getting the Jenkins password</figcaption></figure></p>
<p>Now, you can go to the web browser and open <code>http://IP_SERVER:8080</code> and you will see this screen.</p>
<p><figure id="attachment_6778" aria-describedby="caption-attachment-6778" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6778" src="https://www.osradar.com/wp-content/uploads/2018/10/11-13.png" alt="11.- Jenkins main screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/11-13-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6778" class="wp-caption-text">11.- Jenkins main screen</figcaption></figure></p>
<p>As you can see, you have to enter the password you have previously obtained.</p>
<p>When you set the password, you will be asked if you want to install additional plugins. I will choose to install the suggested plugins.</p>
<p><figure id="attachment_6779" aria-describedby="caption-attachment-6779" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6779" src="https://www.osradar.com/wp-content/uploads/2018/10/12-11.png" alt="12.- Jenkins installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/12-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/12-11-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6779" class="wp-caption-text">12.- Jenkins installation</figcaption></figure></p>
<p>The installer will then complete the installation.</p>
<p><figure id="attachment_6780" aria-describedby="caption-attachment-6780" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6780" src="https://www.osradar.com/wp-content/uploads/2018/10/13-6.png" alt="13.- Completing the installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/13-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/13-6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6780" class="wp-caption-text">13.- Completing the installation</figcaption></figure></p>
<p>Next, you will need to enter information about the user to be created. Enter your username, password and email address.</p>
<p><figure id="attachment_6781" aria-describedby="caption-attachment-6781" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6781" src="https://www.osradar.com/wp-content/uploads/2018/10/14-5.png" alt="14.- Creating the first admin user" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/14-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/14-5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6781" class="wp-caption-text">14.- Creating the first admin user</figcaption></figure></p>
<p>When the installation is complete, you can access the Jenkins main screen.</p>
<p><figure id="attachment_6782" aria-describedby="caption-attachment-6782" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6782" src="https://www.osradar.com/wp-content/uploads/2018/10/16-3.png" alt="16.- Jenkins main screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/16-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/16-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6782" class="wp-caption-text">16.- Jenkins main screen</figcaption></figure></p>
<p>So, that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>Jenkins allows you to deploy and automate important tasks for application development in an enterprise environment. To install it is not complicated in a CentOS 7 system. However, it requires some previous knowledge of Linux.</p>
<p>Please spread this article through your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jenkins-centos-7/">How to install Jenkins on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-jenkins-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Jenkins in Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 26 Jun 2018 20:51:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=4090</guid>

					<description><![CDATA[<p>Continuous integration is a software development practice where team members integrate their work frequently (at least once a day, although multiple daily integrations are usually performed). Each integration is verified by compiling the source code and obtaining an executable (this is called a build, and must be done automatically), and quality tests and metrics are [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/">How to install Jenkins in Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Continuous integration is a software development practice where team members integrate their work frequently (at least once a day, although multiple daily integrations are usually performed).</p>
<p>Each integration is verified by compiling the source code and obtaining an executable (this is called a build, and must be done automatically), and quality tests and metrics are also passed to detect errors as soon as possible.</p>
<p>Written in Java and accessible via web interface, <strong>Jenkins</strong> is multiplatform and has recently established itself as one of the most widely <strong>used tools for continuous integration tasks. </strong>By integration we mean the compilation and execution of tests of an entire project.<strong><br />
</strong></p>
<h2>Why this?</h2>
<p>In today&#8217;s world of DevOps, continuous delivery and deployment are critical to delivering high-quality software products faster than ever before. Some of the advantages of <strong>Jenkins</strong> is that it is an open source, continuous integration server written in Java.</p>
<p>Use Jenkins to automate your development workflow so you can focus on work that matters most. Jenkins is commonly used for:</p>
<ul>
<li>Building projects</li>
<li>Running tests to detect bugs and other issues as soon as they are introduced</li>
<li>Static code analysis</li>
<li>Deployment</li>
</ul>
<p>Execute repetitive tasks, save time, and optimize your development process with Jenkins.</p>
<h2>Installing Jenkins</h2>
<p>The first thing we need to do is to update the system to get the latest security updates:</p>
<p><strong>                  sudo apt update &amp;&amp; sudo apt -y upgrade</strong></p>
<p><figure id="attachment_4366" aria-describedby="caption-attachment-4366" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4366" src="https://www.osradar.com/wp-content/uploads/2018/06/0-2.png" alt="0.- Upgrading the system" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/0-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/0-2-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4366" class="wp-caption-text">0.- Upgrading the system</figcaption></figure></p>
<p>One of Jenkins&#8217; dependencies is Java 8. So we have to install it.</p>
<p><strong>                   <span class="crayon-e">sudo </span><span class="crayon-v">apt</span> <span class="crayon-e">install </span><span class="crayon-v">openjdk</span><span class="crayon-o">&#8211;</span><span class="crayon-cn">8</span><span class="crayon-o">&#8211;</span><span class="crayon-v">jre</span></strong></p>
<p><figure id="attachment_4365" aria-describedby="caption-attachment-4365" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4365" src="https://www.osradar.com/wp-content/uploads/2018/06/1-18.png" alt="1.-Installing java 8" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/1-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/1-18-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4365" class="wp-caption-text">1.-Installing java 8</figcaption></figure></p>
<p>This is because Ubuntu 18.04 comes with Java 9 by default, but Jenkins still uses Java 8, so if we try to install it, its execution will fail.</p>
<p>We then install a package necessary for Jenkinks installation to be effective.</p>
<p><strong>            sudo apt install apt-transport-https</strong></p>
<p><figure id="attachment_4367" aria-describedby="caption-attachment-4367" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4367" src="https://www.osradar.com/wp-content/uploads/2018/06/3-19.png" alt="2.- Installing apt-transport-https" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/3-19-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4367" class="wp-caption-text">2.- Installing apt-transport-https</figcaption></figure></p>
<p>We now proceed to add the Jenkins repository. First we add the security key.</p>
<p><strong>wget -q -O &#8211; https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add &#8211;</strong></p>
<p><figure id="attachment_4368" aria-describedby="caption-attachment-4368" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4368" src="https://www.osradar.com/wp-content/uploads/2018/06/3-20.png" alt="3.- Adding repository" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-20.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/3-20-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4368" class="wp-caption-text">3.- Adding repository key</figcaption></figure></p>
<p>And then, the repository is added as such</p>
<p><strong>               sudo apt-add-repository &#8220;deb https://pkg.jenkins.io/debian-stable binary/&#8221;</strong></p>
<p><figure id="attachment_4369" aria-describedby="caption-attachment-4369" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4369" src="https://www.osradar.com/wp-content/uploads/2018/06/4-17.png" alt="4.- adding repository" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/4-17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/4-17-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4369" class="wp-caption-text">4.- adding repository</figcaption></figure></p>
<p>Before installing Jenkins, we must &#8220;configure&#8221; java with the following command:</p>
<p><strong>               sudo update-alternatives &#8211;config java</strong></p>
<p>In the displayed box we indicate that the default Java should be 8.</p>
<p><figure id="attachment_4370" aria-describedby="caption-attachment-4370" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4370" src="https://www.osradar.com/wp-content/uploads/2018/06/5-18.png" alt="5.- Setting java 8 to default" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/5-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/5-18-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4370" class="wp-caption-text">5.- Setting java 8 to default</figcaption></figure></p>
<p>Now we can install <strong>Jenkins</strong> from its added repository:</p>
<p><strong>             sudo apt install jenkins</strong></p>
<p><figure id="attachment_4371" aria-describedby="caption-attachment-4371" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4371" src="https://www.osradar.com/wp-content/uploads/2018/06/6-18.png" alt="6.- Installing Jenkins" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/6-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/6-18-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4371" class="wp-caption-text">6.- Installing Jenkins</figcaption></figure></p>
<p>And we checked the status of the service:</p>
<p><strong>             sudo systemctl status jenkins</strong></p>
<p><figure id="attachment_4372" aria-describedby="caption-attachment-4372" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4372" src="https://www.osradar.com/wp-content/uploads/2018/06/7-17.png" alt="7- checking status jenkins service" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/7-17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/7-17-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4372" class="wp-caption-text">7- checking status jenkins service</figcaption></figure></p>
<p>In the previous image, we can notice that the service is running.</p>
<p>Before entering the Jenkins web panel, we must generate the administrator password:</p>
<p><strong>             sudo cat /var/lib/jenkins/secrets/initialAdminPassword</strong></p>
<p><figure id="attachment_4373" aria-describedby="caption-attachment-4373" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4373" src="https://www.osradar.com/wp-content/uploads/2018/06/8-15.png" alt="8.- Showing the initial admin password" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/06/8-15.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/8-15-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4373" class="wp-caption-text">8.- Showing the initial admin password</figcaption></figure></p>
<h2>Testing the installation</h2>
<p>Now we can go to the web browser and access Jenkins on port 8080.</p>
<p><strong>            http://IP_Server:8080</strong></p>
<p><figure id="attachment_4375" aria-describedby="caption-attachment-4375" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4375" src="https://www.osradar.com/wp-content/uploads/2018/06/9-13.png" alt="9.- Accessing to Jenkins" width="1366" height="637" srcset="https://www.osradar.com/wp-content/uploads/2018/06/9-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/9-13-901x420.png 901w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4375" class="wp-caption-text">9.- Accessing to Jenkins</figcaption></figure></p>
<p>We set the administrator password andwe press continue button.</p>
<p>In the next window, you will be asked for user information, password and full name for set the first admin user.</p>
<p><figure id="attachment_4376" aria-describedby="caption-attachment-4376" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4376" src="https://www.osradar.com/wp-content/uploads/2018/06/10-12.png" alt="10.-First admin user" width="1366" height="637" srcset="https://www.osradar.com/wp-content/uploads/2018/06/10-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/10-12-901x420.png 901w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4376" class="wp-caption-text">10.-First admin user</figcaption></figure></p>
<p>Below is information from the Jenkins instance.</p>
<p><figure id="attachment_4377" aria-describedby="caption-attachment-4377" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4377" src="https://www.osradar.com/wp-content/uploads/2018/06/11-13.png" alt="11.-Instance information" width="1366" height="637" srcset="https://www.osradar.com/wp-content/uploads/2018/06/11-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/11-13-901x420.png 901w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4377" class="wp-caption-text">11.-Instance information</figcaption></figure></p>
<p>We click on &#8220;Save and Finish&#8221; and you are already telling us that we have installed Jenkins properly.</p>
<p><figure id="attachment_4378" aria-describedby="caption-attachment-4378" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4378" src="https://www.osradar.com/wp-content/uploads/2018/06/12-10.png" alt="12.-Jenkins ready!" width="1366" height="637" srcset="https://www.osradar.com/wp-content/uploads/2018/06/12-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/12-10-901x420.png 901w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4378" class="wp-caption-text">12.-Jenkins ready!</figcaption></figure></p>
<p>Now we&#8217;ll see Jenkins&#8217; initial panel working.</p>
<p><figure id="attachment_4379" aria-describedby="caption-attachment-4379" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4379" src="https://www.osradar.com/wp-content/uploads/2018/06/13-6.png" alt="13.- Welcome to Jenkins" width="1366" height="637" srcset="https://www.osradar.com/wp-content/uploads/2018/06/13-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/13-6-901x420.png 901w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4379" class="wp-caption-text">13.- Welcome to Jenkins</figcaption></figure></p>
<p>Using this type of tools substantially increases productivity in companies that seek to automatically perform certain processes related to projects.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/">How to install Jenkins in Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
