How to Setup Jenkins on Ubuntu Instance in AWS Cloud | Configure Jenkins using 17 on Linux Instance

Опубликовано: 04 Октябрь 2024
на канале: DevOps Coach
1,512
15

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