{"id":2791,"date":"2024-01-29T16:23:25","date_gmt":"2024-01-29T16:23:25","guid":{"rendered":"https:\/\/code2deploy.com\/?p=2791"},"modified":"2024-02-20T20:12:39","modified_gmt":"2024-02-20T20:12:39","slug":"jenkins-installation","status":"publish","type":"post","link":"https:\/\/code2deploy.com\/blog\/jenkins-installation\/","title":{"rendered":"Jenkins Installation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Add the Jenkins repo key<\/p>\n\n\n<figure><table><tbody><tr><td>$ wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian-stable\/jenkins.io.key | sudo apt-key add &#8211;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Add the Debian package repository&nbsp;<\/p>\n\n\n<figure><table><tbody><tr><td>$ sudo sh -c &#8216;echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Update the repo with the system&nbsp;<\/p>\n\n\n<figure><table><tbody><tr><td>$ sudo apt update<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">If get an issue during the Jenkins repo update run the following command&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph\">sudo apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv-keys 5BA31D57EF5975CA<\/p>\n\n\n<p class=\"wp-block-paragraph\">Install prerequisites default JRE and JDK<\/p>\n\n\n<figure><table><tbody><tr><td>$ sudo apt install default-jre default-jdk<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Install Jenkins&nbsp;<\/p>\n\n\n<figure><table><tbody><tr><td>$ sudo apt install jenkins<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">After successfully done the installation go to the browser and hit the YourServerIP:8080<\/p>\n\n\n<p class=\"wp-block-paragraph\">Then you will get this page copy read the selected path and follow the following procedure\u00a0<\/p>\n\n\n<figure><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/XTtJnO-bZbrCWBCyUwJXVIbVHEcxQVdI8G-It7ufogJ-NlfdgJz5irsJKTZQLUl-emCzhKyR-U4CJd5COmkK3D1tlDoLwwMuyjGTUUnzG4oF3LmLiTeSLYsBk_y6-wzX6kp4mh-vrtNUZhb0tBs5dw\" alt=\"\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Run the following command to get Admin-Password<\/p>\n\n\n<figure><table><tbody><tr><td>$ sudo cat \/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<figure><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/cd4YOiGxNIm1nItySTPutJzbKPspS0QpwquJxv2cijy3wtuJM9f5UFrpRQaHJjVTUcnipcE29StlYJtnjUYj5BfwT1p4jgVwlbuVIKxKmgvE9lXoB4Beuc0mxy7vYjYk5Ga8Js86ArFpjvcd_1Y3kw\" alt=\"\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Copy the password assign the pass to the browser and click on the continue button.\u00a0\u00a0<\/p>\n\n\n<figure><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/nfP5UwEtAUlVRiEPZI_REjIpur5cDipbcgkJBb5M78lOpZgeeJmlvRWHc97eRoWleGjL08auyb5PCom3u_Q90E64ufatF3-kY_Jh6-Fsd9Z9HJB3FNczTk6oKjvSGX3xjOlRuj5RM8X7-hZX_Oujfg\" alt=\"\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Then we will get the Jenkins Plugins installation front page\u00a0<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>What are Jenkin Plugins?<\/strong><\/p>\n\n\n<p class=\"wp-block-paragraph\">Plugins are the primary means of enhancing the functionality of a Jenkins environment to suit organization- or user-specific needs.<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>Some Jenkins Plugins&nbsp;<\/strong><\/p>\n\n\n<ul class=\"wp-block-list\">\n<li>Easy Installation Feature.<\/li>\n\n\n<li>Docker Plugin for Jenkins.<\/li>\n\n\n<li>Jira Plugin.<\/li>\n\n\n<li>Slack Notification Plugin.<\/li>\n\n\n<li>Maven Plugin.<\/li>\n\n\n<li>Amazon EC2 Plugin.<\/li>\n\n\n<li>JUnit Plugin.<\/li>\n\n\n<li>Pipeline Plugin.<\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">Click on the Install Suggested Plugins to install plugins&nbsp;<\/p>\n\n\n<figure><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/KeG6_egVPbu84heKc0Nofzyv_jlnvOSwSbFQK3Y04_N37vXJzgmOYunLWwbRokGKceMFp36MpTt2QULhfowhV-Gv9qjLaWzzcXPwb5via0vovLRRiLctamXXL4ANutOJoMhw9JE3BS2LE-2lwGPc6Q\" alt=\"\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">After installing the suggested plugins enter the username and all necessary info then click on the <strong>Save &amp; Continue<\/strong> Button.<\/p>\n\n\n<figure><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/dsP8iOwsrTZRNg7mOyYqusPG0JIN9L106LzJPpsOtJ8UWtEH1QRy7fnNaz-fGdKUxxszRyJLH0HIejce2ylOhGtu7kA_rbGpEe3EvNFleMe1eywXcTN0UDxD1K4EpWyJFpjSu7DfP6FjAkH1WeZIrg\" alt=\"\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">And click start using Jenkins.<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>Jenkins Installation Done !!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add the Jenkins repo key $ wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian-stable\/jenkins.io.key | sudo apt-key add &#8211; Add the Debian package repository&nbsp; $ sudo sh -c &#8216;echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list&#8217; Update the repo with the system&nbsp; $ sudo apt update If get an issue during the Jenkins repo update run the following command&nbsp; sudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":57,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,109,3,92],"tags":[],"class_list":["post-2791","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cicd","category-cicd-tools","category-devops-tools","category-jenkins-cicd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Jenkins Installation - code2deploy.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.code2deploy.com\/jenkins-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jenkins Installation - code2deploy.com\" \/>\n<meta property=\"og:description\" content=\"Add the Jenkins repo key $ wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian-stable\/jenkins.io.key | sudo apt-key add &#8211; Add the Debian package repository&nbsp; $ sudo sh -c &#8216;echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list&#8217; Update the repo with the system&nbsp; $ sudo apt update If get an issue during the Jenkins repo update run the following command&nbsp; sudo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.code2deploy.com\/jenkins-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"code2deploy.com\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-29T16:23:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-20T20:12:39+00:00\" \/>\n<meta name=\"author\" content=\"enam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"enam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/\"},\"author\":{\"name\":\"enam\",\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"headline\":\"Jenkins Installation\",\"datePublished\":\"2024-01-29T16:23:25+00:00\",\"dateModified\":\"2024-02-20T20:12:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/\"},\"wordCount\":256,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"\",\"articleSection\":[\"CICD\",\"CICD Tools\",\"DevOps Tools\",\"Jenkins\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/\",\"url\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/\",\"name\":\"Jenkins Installation - code2deploy.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2024-01-29T16:23:25+00:00\",\"dateModified\":\"2024-02-20T20:12:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.code2deploy.com\\\/jenkins-installation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Jenkins Installation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/\",\"name\":\"code2deploy.com\\\/blog\",\"description\":\"TechOps\",\"publisher\":{\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/#\\\/schema\\\/person\\\/e46930c19b999a87f12566fa8357481b\",\"name\":\"enam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\",\"caption\":\"enam\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/code2deploy.com\\\/blog\"],\"url\":\"https:\\\/\\\/code2deploy.com\\\/blog\\\/author\\\/enam\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Jenkins Installation - code2deploy.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.code2deploy.com\/jenkins-installation\/","og_locale":"en_US","og_type":"article","og_title":"Jenkins Installation - code2deploy.com","og_description":"Add the Jenkins repo key $ wget -q -O &#8211; https:\/\/pkg.jenkins.io\/debian-stable\/jenkins.io.key | sudo apt-key add &#8211; Add the Debian package repository&nbsp; $ sudo sh -c &#8216;echo deb http:\/\/pkg.jenkins.io\/debian-stable binary\/ &gt; \/etc\/apt\/sources.list.d\/jenkins.list&#8217; Update the repo with the system&nbsp; $ sudo apt update If get an issue during the Jenkins repo update run the following command&nbsp; sudo [&hellip;]","og_url":"https:\/\/blog.code2deploy.com\/jenkins-installation\/","og_site_name":"code2deploy.com","article_published_time":"2024-01-29T16:23:25+00:00","article_modified_time":"2024-02-20T20:12:39+00:00","author":"enam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"enam","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#article","isPartOf":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/"},"author":{"name":"enam","@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"headline":"Jenkins Installation","datePublished":"2024-01-29T16:23:25+00:00","dateModified":"2024-02-20T20:12:39+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/"},"wordCount":256,"commentCount":0,"publisher":{"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"image":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#primaryimage"},"thumbnailUrl":"","articleSection":["CICD","CICD Tools","DevOps Tools","Jenkins"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.code2deploy.com\/jenkins-installation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/","url":"https:\/\/blog.code2deploy.com\/jenkins-installation\/","name":"Jenkins Installation - code2deploy.com","isPartOf":{"@id":"https:\/\/code2deploy.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#primaryimage"},"image":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#primaryimage"},"thumbnailUrl":"","datePublished":"2024-01-29T16:23:25+00:00","dateModified":"2024-02-20T20:12:39+00:00","breadcrumb":{"@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.code2deploy.com\/jenkins-installation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/blog.code2deploy.com\/jenkins-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/code2deploy.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Jenkins Installation"}]},{"@type":"WebSite","@id":"https:\/\/code2deploy.com\/blog\/#website","url":"https:\/\/code2deploy.com\/blog\/","name":"code2deploy.com\/blog","description":"TechOps","publisher":{"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/code2deploy.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/code2deploy.com\/blog\/#\/schema\/person\/e46930c19b999a87f12566fa8357481b","name":"enam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g","caption":"enam"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d864e2f082f4499f8f1b33f004ec166eea77b9e94738553b120b6dca2410f203?s=96&d=mm&r=g"},"sameAs":["https:\/\/code2deploy.com\/blog"],"url":"https:\/\/code2deploy.com\/blog\/author\/enam\/"}]}},"_links":{"self":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/2791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/comments?post=2791"}],"version-history":[{"count":1,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/2791\/revisions"}],"predecessor-version":[{"id":3511,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/posts\/2791\/revisions\/3511"}],"wp:attachment":[{"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/media?parent=2791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/categories?post=2791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code2deploy.com\/blog\/wp-json\/wp\/v2\/tags?post=2791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}