Easy Installation - My Style :)
“Take it easy, but take it.” - Harshit Sahu
Step 1: Install Java
Update your system
sudo apt update
Install java
sudo apt install openjdk-11-jre
Validate Installation
java -version
It should look something like this
openjdk version "11.0.12" 2023-01-17
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.12+7-post-Debian-2, mixed mode, sharing)
Step 2: Install Jenkins
sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" \
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins
Step 3: Start Jenkins
sudo systemctl enable jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins
Step 4: Open port 8080 from AWS Console:
Now login with the login password with the directed path
Enjoy Learning and coding !!!