Thursday, January 13, 2022

Day1- jenkins

1. Git install
$ apt-get install git
$ yum install git -y
Install latest version of git by compiling from source code,
jenkins.io/download
as of today, ssh certificate of jenkins is expired so steps are not working....

https://progressivecoder.com/creating-an-aws-account-a-step-by-step-process-guide/

installation
https://www.section.io/engineering-education/setup-ssh-ubuntu-vm-aws/
or jenkins.io/debian-stable
cloudbees.com/jenkins
hudson** - paytool


aws -> ubuntu 20.04 -> Instance type: t2.micro -> next ->  security group
add ports
-> add - tcp port  8080 anywhere/0
or use the existing security group which fulfil the requirement for jenkins
-> view n launch -> launch
-> save or use the exisint keypair
connect to your instance -> 
login to the instance
paste the command from the installation guide ..
# curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee /usr/share/keyrings/jenkins-keyrung.asc > /dev/null
2. Install java
$ sudo apt install OpenJdk-8-jdk
apt update
apt install default-jdk
apt install jenkins

3. Run jenkins - installl
we just follow official steps

curl -fsSL https:/
https://www.toolsqa.com/jenkins/install-jenkins/
https://www.toolsqa.com/jenkins/install-jenkins/
https://www.toolsqa.com/jenkins/install-jenkins/
https://www.toolsqa.com/jenkins/install-jenkins/
sudo t

https://www.toolsqa.com/jenkins/install-jenkins/
Tomorrow: Creating jenkins jobs..


github.com/anujdeveloplearn/interviewQuestions/tree/master/interviewQuestions


codeshare.io

curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee     /usr/share/keyrings/jenkins-keyring.asc > /dev/null
apt update
apt install default-jdk
apt install jenkins

No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...