Student Reviews
( 5 Of 5 )
1 review
Video of How to install Jenkins on Amazon AWS EC2 Linux 8 Steps in Jenkins course by Automation Step by Step channel, video No. 20 free certified online
Free Courses https://automationstepbystep.com
Hi, I am Raghav & today we will learn:
1. How to download and install Jenkins on aws ec2 linux
2. How to access Jenkins from browser
3. How to start and stop Jenkins
4. How to start Jenkins on different port
5. How to uninstall Jenkins
Step 1 : Connect to your Linux machine
SetUp JAVA PATH
Set up Custom TCP port: 8080 in AWS Security Groups
Step 2: Update Packages
sudo yum update
Step 3 : Check Java is installed. If not install java
java -version
sudo yum install java-1.8.0
To check and select one out of multiple java versions available
sudo /usr/sbin/alternatives --config java
Step 4 : Download latest Jenkins code package
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
Step 5 : Import a key file from Jenkins-CI to enable installation from the package
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
Step 6 : Install Jenkins
sudo yum install jenkins
Step 7 : Start jenkins
sudo service jenkins start
Step 8 : Access Jenkins server using the public DNS of your ec2 on port 8080
http://{ec2-public-dns}:8080
example : http://3.89.79.74:8080/
Note : Here you might have to allow port 8080 in your security group settings
Useful tips
To start jenkins on a diff port
Update port number in /etc/sysconfig/jenkins
To fetch initial admin password
sudo su -
cd /var/lib/jenkins/secrets/
cat initialAdminPassword
0bcbbcab7f984af7b4171b55e9201d04
To stop Jenkins
sudo service jenkins stop
To uninstall Jenkins
sudo service jenkins stop
sudo yum remove jenkins
sudo rm -r /var/lib/jenkins
References
https://docs.aws.amazon.com/aws-technical-content/latest/jenkins-on-aws/installation.html
HIT SUBSCRIBE & BELL TO GET NEW VIDEOS
JOIN me on this educational journey as a member and get exclusive perks - Click the JOIN button
https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/join
ONLINE COURSES TO LEARN
https://automationstepbystep.com/909-2/online-courses/
------------ UI TESTING ------------
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse - http://bit.ly/2N8DZxb
------------ API TESTING ------------
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
General - https://bit.ly/2PYdwmV
Katalon Studio API Testing - https://bit.ly/2BwuCTN
------------ MOBILE TESTING ------------
Mobile Playlist - https://bit.ly/2PxpeUv
------------ CI CD DEVOPS ------------
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx
------------ VERSION CONTROL SYSTEM ------------
Git & GitHub - https://bit.ly/2Q1pagY
------------ PERFORMANCE TESTING ------------
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Performance Testing - https://bit.ly/2wEXbLS
------------ JAVA ------------
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ
------------ MAVEN ------------
Maven - https://bit.ly/2NJdDRS
------------ OTHERS ------------
Redis- https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO
Ask Raghav - https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA
Keep Learning,
Raghav
Website - https://automationstepbystep.com/
LifeCharger - http://lifecharger.org/
Udemy Courses - https://www.udemy.com/user/raghav-pal-3/
Facebook - https://www.facebook.com/automationstepbystep
Twitter - https://twitter.com/automationsbs
Youtube - http://youtube.com/automationstepbystep
You can support my mission for education here:
https://www.patreon.com/raghavpal