Skip to content

Contains Jenkins setup right from its installation also contains yum configuration file

Notifications You must be signed in to change notification settings

RK1905101/Jenkins_Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Jenkins_Setup

You can refer this official document to install jenkins in your system: https://www.jenkins.io/doc/

open your favourable linux system and update the packages installed in it

and firstly check wether yum is configured or not(because using it after some time makes it un configured sometime so do check and if it is unconfigured then do check how to configure yum, above file consist of a document in which it has been shown how to configure yum)

using the following command:

sudo dnf update -y --nobest

image

now install wget command using the following command:

sudo yum install wget

image

Now run the following cmd

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

image

sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

image

sudo yum install jenkins java-11-openjdk-devel

note: it'll take some time to install jenkins in your system image

Now check jenkins status usng command :

systemctl status jenkins

image

Now to start jenkins use the following command:

systemctl start jenkins

image

to open jenkins... disable your firewall from the vm and write your local host ip with port no. 8080 as url to open it..

image

and then the very next step is to find its password.. so for that.. copy the path given there in the page..

image

and the next step is to paste that path in your linux.. and write the following amd to show your password

sudo cat /var/lib/jenkins/secrets/initialAdminPassword

image

image

click on install plugin

image

And now create your username and set password according to you:

image

image

AND THATS ALL THIS COMPLETES JENKINS SETUP... (❁´◡`❁)

About

Contains Jenkins setup right from its installation also contains yum configuration file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published