Articles → DevOps → Install Jenkins on linux machine

Install Jenkins on linux machine






Steps








sudo -i




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


Picture showing getting the jenkins package using wget command

Click to Enlarge



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




service jenkins status


Picture showing the service command to check the status of the service

Click to Enlarge



service jenkins start


Picture showing the execution of service jenkins start command for starting the service

Click to Enlarge



Picture showing enabling 8080 port in azure portal

Click to Enlarge





Picture showing opening the putty for entering the server credentails

Click to Enlarge





Picture showing adding the source and destination port as 8080

Click to Enlarge







http://localhost:8080/


Picture showing the screen to unlock jenkins

Click to Enlarge



cat /var/lib/jenkins/secrets/initialAdminPassword


Picture showing the jenkins password in initialAdminPassword file

Click to Enlarge





Picture showing the jenkins screen allows to install the suggested plug-ins

Click to Enlarge



Picture showing plug-ins installation in progress

Click to Enlarge



Picture showing a jenkins screen for creating a new user account

Click to Enlarge



Picture showing a screen to configure the instance configuration

Click to Enlarge



Picture showing the screen that displays the installation completion of jenkins

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, November 28, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250