Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Debian»How To Install Jenkins on Debian 10/9/8

    How To Install Jenkins on Debian 10/9/8

    RahulBy RahulSeptember 1, 20183 Mins ReadUpdated:August 2, 2019

    Jenkins is an automation server and continuous integration tool. It provides a number of plugins for building deployments and automation for your applications. This tutorial will guide you to install Jenkins on Debian 10 Buster, Debian 9 Stretch, and Debian 8 Linux. This also helps you with the basic help about creating a user and install plugins in Jenkins. Let’s go through the tutorial to install Jenkins on a Debian system.

    Step 1 – Prerequsities

    Jenkins required Java runtime environment for running. If you don’t have Java installed on your system, run below commands to install Java on Debian 9 system.

    sudo apt update
    sudo apt install default-jre
    

    Step 2 – Enable Jenkins PPA

    Jenkins team provides official repositories for package management for the popular operating system for installing Jenkins on a Linux VPS. Use below commands to enable Jenkins PPA on your Debian system. This repository contains required packages to install Jenkins on Debian Linux.

    wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
    sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
    

    Step 3 – Install Jenkins on Debian

    Update the apt-get cache before installing Jenkins on Debian 9. After that, you can install Jenkins on a Debian system by running below commands.

    sudo apt update
    sudo apt install jenkins
    

    After installation of Jenkins on Linux server. The default Jenkins runs on port 8080. If your server already has other services share the same port as Tomcat. You can edit /etc/default/jenkins configuration file and update HTTP_PORT value to 8081 or something else..

     HTTP_PORT=8080
    

    and restarted Jenkins service after making changes

    sudo service jenkins restart
    

    Step 4 – Access Jenkins Web Interface

    Access your server on port 8080 (Or updated port) in your favorite web browser. The default installation password can be found at /var/lib/jenkins/secrets/initialAdminPassword as showing in below image.

    Install and Use Jenkins 1

    Now select appropriate option to install the plugin. You can choose to install suggested plugins or select the required plugins options.

    Install and Use Jenkins 2

    Now create an admin account for your Jenkins setup. This will be required to log in to Jenkins.

    Install and Use Jenkins 3

    After successful completion of Jenkins setup wizard, You will be redirected to Jenkins dashboard.

    Install and Use Jenkins 4

    Step 5 – Install Plugins in Jenkins

    Login to Jenkins dashboard and navigate to Manage Jenkins >> Manage Plugins >> Available Tab and select the plugins to install.

    jenkings-plugin-install

    To update existing installed plugins in Jenkins Manage Jenkins >> Manage Plugins >> Update Tab

    Step 6 – Create Users in Jenkins

    To create users in Jenkins login to Jenkins admin panel and navigate to Manage Jenkins >> Manage Users >> Create User . Enter the required details and click Create User.

    jenkings-create-user

    Automation Tool debian Jenkins
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow To Install SVN Server on Debian 11/10
    Next Article How to Install Apache mod_wsgi Module on Ubuntu 18.04 (Bionic)

    Related Posts

    How To Install Oracle VirtualBox on Debian 11

    2 Mins Read

    Top 5 Most Stable Linux Distributions in 2022

    Updated:January 11, 20226 Mins Read

    How To Install PIP on Debian 11 Linux

    Updated:October 1, 20212 Mins Read

    How To Install MariaDB on Debian 11

    4 Mins Read

    How To Install Node.Js on Debian 11

    Updated:February 11, 20226 Mins Read

    How To Add Swap Space on Debian 11

    3 Mins Read

    1 Comment

    1. Vaibhav B on September 18, 2018 8:52 pm

      Thanks Rahul for such wonderful and useful posts.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.