Thursday, June 16, 2022

Install Jenkins on Amazon Linux 2 instance:

 





Step 1:Launch the basic EC2 instance with 8080 port enable in the security group.

Step 2:Update the software package of the instance using the below command:

Step 3:Install java packages and remove the oldest version of java if any:

Step 4:Add the Jenkins repo

Step 5:Import the key file:

Step 6:Install Jenkins using the below command:

Step 7:Enable the Jenkins service to start at boot:

Start Jenkins as a service:

You can check the status of the Jenkins service using the command:

Step 8: Open the browser and hit the public IP along with the 8080 port.

Step 9: Copy the path and get the password from the server:

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

Step 10: Install the suggested plugins :

Step 11: Add the user credentials and save it:

Step 12: Installation and configuration are completed and now you can start creating the Jenkins jobs.

So I hope this was very helpful and if you have any doubts or any questions you can write them down in the comment section below and I will try to answer you as soon as I can.

▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬

Youtube Subscription ► https://bit.ly/2LENtS1

Facebook Page: ► https://www.facebook.com/EasyAWSLearn/

Medium: ► https://techworldwithvijaypatel.mediu...

Dev: ► https://dev.to/easyawslearn

Telegram Channel: ► https://t.me/devtul

Thank you.


No comments:

Post a Comment

Wireless Security Configuration: Protect Your Network Now!

Introduction: In today’s connected world, wireless networks are as common as smartphones, and they’re often the gateway to our personal, pr...