How to Setup Jenkins on Ubuntu Instance in AWS Cloud | Configure Jenkins using 17 on Linux Instance
Вставка
- Опубліковано 11 вер 2024
- www.coachdevop...
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
how we suppose to find the commands if you wont proved command file even the jenkins site has command it would help you provide you pdf
its in the description
Add Repository key to the system
curl -fsSL pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \
/usr/share/keyrings/jenkins-keyring.asc > /dev/null
Append debian package repo address to the system
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
pkg.jenkins.io/debian binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt update
sudo apt install jenkins -y
www.coachdevops.com/2024/01/install-jenkins-on-ubuntu-2204-setup.html
yon can refer in my website. we cant add those commands in the description as special characters are not supported