Giter VIP home page Giter VIP logo

jenkins-installation-easy-steps's Introduction

Jenkins-installation-easy-step

Installing Jenkins on Ubuntu

create an instance in AWS image

update your instance:

sudo apt-get update

image

install java: sudo apt install openjdk-11-jre

To check the version of java on your system, use the following command:

java -version

image

Step 1 — Installing Jenkins curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee
/usr/share/keyrings/jenkins-keyring.asc > /dev/null

echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]
https://pkg.jenkins.io/debian-stable binary/ | sudo tee
/etc/apt/sources.list.d/jenkins.list > /dev/null

sudo apt-get update sudo apt-get install jenkins

Step 2 — Starting Jenkins

now that Jenkins is installed, start it by using systemctl:

sudo systemctl start jenkins.service

Since systemctl doesn’t display status output, we’ll use the status command to verify that Jenkins started successfully:

sudo systemctl status jenkins

Note:Open port 8080 in the inbound traffic rules as show below.

EC2 > Instances > Click on In the bottom tabs -> Click on Security Security groups Add inbound traffic rules as shown in the image (you can just allow TCP 8080 as well, in my case, I allowed All traffic). image

image go to your terminal

sudo cat /var/lib/jenkins/secrets/initialadminpassword image copy this password: 9f48d46e86a443d7b5171e45cef18f2d

and paste it here.

image

image

image

image

image

image

image

jenkins-installation-easy-steps's People

Contributors

safiakhatoon767 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.