DevOps Project: Integrate Jenkins with project po.

  Follow these all steps to integrate the sample project with Jenkins.



1) Make the Aws account and then make an Ec2 Instance with the name: Jenkins_Server


2)  open this link in a new tab https://pkg.jenkins.io/redhat-stable/


copy this code and past into MobaXterm and execute.





If, you get error after first two code install please run "amazon-linux-extras install epel" command and install it.



Then, Copy the command java-openjdk11 and install jenkins command in MobaXterm.



Check  through run command "amazon-linux-extras", epel and java-openjdk11 are Enabled or not.



Once Enabled, Now install "yum install jenkins" command.

Now check the status of Jenkins via command "service jenkins status"


If Disabled, run the command to start jenkins "service jenkins start"

Now wait few minutes, your Jenkins will be start very soon.

Now, Open the AWS EC2 --> Jenkins_server instance and copy public Ip and paste into browser



Once you Paste Ip in browser use behind port 8080 like below image and you will gate same screen in your browser.


Now, copy the path which you can see on display below the Unlock Jenkins and paste into MobaXterm you will read your administrator password.


Copy password and paste into jenkins. Your jenkins will start.

And if you want to change your password go in setting and change from there.


Comments

Popular posts from this blog

Error Solving : -bash: /usr/local/bin/kubectl: cannot execute binary file : after Kubernetes installation: you're trying to run the kubectl command on an EC2 instance in AWS

Nodejs Application project : using Aws, Jenkins, Docker, Kubernetes

Create two public subnets and two private subnets in two different availability zones(AZ) ( one public and one private subnet in each AZ).Create an instance of webserver (like apache ) in each AZ and an instance of db server in any AZ. Attach web servers to ELB and make sure to support cross zone availability.