{"id":1360,"date":"2020-10-16T14:36:26","date_gmt":"2020-10-16T01:36:26","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=1360"},"modified":"2020-10-16T14:36:26","modified_gmt":"2020-10-16T01:36:26","slug":"installing-jenkins-in-ubuntu","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=1360","title":{"rendered":"Installing Jenkins in Ubuntu"},"content":{"rendered":"<h1>Requirement<\/h1>\n<ul>\n<li>Java 8 +<\/li>\n<\/ul>\n<h1>Installing Jenkins<\/h1>\n<ol>\n<li>Install the <strong>jenkins key<\/strong>:\n<pre>wget -q -O - https:\/\/pkg.jenkins.io\/debian\/jenkins.io.key | sudo apt-key add -<\/pre>\n<\/li>\n<li>Register the <strong>jenkins source<\/strong>:\n<pre>sudo sh -c 'echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list'<\/pre>\n<\/li>\n<li>Add the <strong>universe repository<\/strong>:\n<pre>sudo add-apt-repository universe<\/pre>\n<\/li>\n<li>Update the repository:\n<pre>sudo apt-get update<\/pre>\n<\/li>\n<li>Install jenkins:\n<pre>sudo apt-get install jenkins -y<\/pre>\n<\/li>\n<\/ol>\n<h1>Preparing Jenkins<\/h1>\n<ol>\n<li>Access jenkins:\n<pre>http:\/\/localhost:8080\/<\/pre>\n<\/li>\n<li>Use the password found from the following file for <strong>Administrator Password<\/strong>:\n<pre>sudo less \/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/pre>\n<\/li>\n<li>In <strong>Getting Started<\/strong> page select:\n<pre>Install suggested plugins<\/pre>\n<\/li>\n<li>Create the <strong>first admin user<\/strong>.<\/li>\n<li>Provide the <b>Jenkins URL<\/b> in the <b>Instance Configuration<\/b>.<\/li>\n<li>Click the <b>Start using Jenkins<\/b> button.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Requirement Java 8 + Installing Jenkins Install the jenkins key: wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian\/jenkins.io.key | sudo apt-key add &#8211; Register the jenkins source: sudo sh -c &#8216;echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list&#8217; Add the universe repository: sudo add-apt-repository universe Update the repository: sudo apt-get update Install jenkins: sudo apt-get install jenkins -y Preparing Jenkins [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,55,28,12],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1360"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1360"}],"version-history":[{"count":1,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1360\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1360\/revisions\/1361"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}