https://www.coachdevops.com/2024/01/i...
Pre-requisites:
port 8080 opened in firewall rule to access Jenkins
Connect to EC2 instance using git bash or iTerm
Steps to install Jenkins:
Perform update first
sudo apt update
Install Java 17
sudo apt install openjdk-17-jdk -y
Once install java, enter the below command
Verify Java Version
java -version
Maven Installation
Maven is a popular build tool used for building Java applications. Please click here to learn more about Maven. You can install Maven by executing below command:
sudo apt install maven -y
Jenkins Setup
Update Ubuntu package
sudo apt update
download the keys from Jenkins website
Install Jenkins
sudo apt install jenkins -y
Watch video How to Setup Jenkins on Ubuntu Instance in AWS Cloud | Configure Jenkins using 17 on Linux Instance online without registration, duration hours minute second in high quality. This video was added by user DevOps Coach 17 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,512 once and liked it 15 people.