There are no items in your cart
Add More
Add More
Item Details | Price |
---|
How
can you easily setup Jenkins on AWS EC2 instance (Ubuntu)
Wed Jul
27, 2022
"Everything is out there you just need to look closely" —
Step - 1 Install Java
Update your system
sudo apt update
Install javasudo apt install openjdk-11-jre
Validate Installation
java -version
It should look something like this
openjdk version "11.0.12" 2021-07-20 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
Just copy these commands and paste them onto your terminal.
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io.key | sudo tee \ /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ https://pkg.jenkins.io/debian 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:
You are watching my videos, right
?
I think we are pretty much done here.
Thanks
Do Check Out Python For DevOps Course