Sandip Patel

Let's move from "Have to" to "Want to"

Menu
  • Home
  • TECH CORNER
    • AWS
    • Networking
  • Videos
  • Expert Talk Delivered
  • Projects
  • Publications
  • About Me
Menu

Installing Jenkins on Ubuntu

Posted on March 11, 2019October 7, 2020 by Sandip Patel

First of all we need to install java jdk and jre

1.sudo apt update

2.sudo apt install openjdk-8-jdk

3.sudo apt install openjdk-8-jre

Change our directory and install jenkins in that directory

4.cd /tmp && wget -q -O – https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add –

5.echo ‘deb https://pkg.jenkins.io/debian-stable binary/’ | sudo tee -a /etc/apt/sources.list.d/jenkins.list

6.sudo apt update

7.sudo apt install jenkins

To see whether the jenkins have been started or not

8.sudo systemctl start jenkins.service

9.sudo systemctl status jenkins.service

As jenkins runs on 8080 port so giving access to that port

10.sudo ufw allow 8080

11.sudo ufw status-: if status is inactive then execute following command “sudo ufw enable”

Go to the terminal and generate the password

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

password will be generated and copy paste it on web browser

13.http://localhost:8080

then enter above password

  1. Jenkins will be started successfully

To view/change admin password : sudo cat /var/lib/jenkins/secrets/initialAdminPassword

Follow Me

              

AWS Re: invent 2021 at Las Vegas

Achievements & Events

Faculty- Ambassador
Best Paper Presentation Award
AWS Academy Success Story on AWS official Blog
AWS Expert Talk 2020
USA-Conference
Paper Presentation
Conference-Team
AWS Expert Talk by IEEE 2020

RSS Recent Announcements

  • AWS Fargate for Amazon Elastic Kubernetes Service is now available in the Amazon Web Services China Beijing and Ningxia Regions June 24, 2022
  • Amazon EC2 Auto Scaling announces increased Auto Scaling group default limit per account June 24, 2022
  • Amazon EC2 G5 instances now available in additional regions June 23, 2022
  • Amazon EC2 C7g instances powered by AWS Graviton3 processors now available in US East (Ohio) and Europe (Ireland) June 23, 2022
  • Amazon Connect Wisdom now enables you to integrate agent assistance capabilities into custom agent applications June 23, 2022

Recent Posts

  • Deployment of Website Using AWS CICD pipeline & Fargate
  • Install terraform on ubuntu and Create EC2 instance on AWS using terraform script
  • Install Cloudwatch agent on on-premises Windows server
  • Install Cloudwatch agent on on-premises Linux server
  • Deploy Flask website using AWS CLI with AWS Lambda, AWS API Gateway and Zappa
March 2019
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Dec   Jan »
web counter
©2022 Sandip Patel | WordPress Theme by SuperbThemes