Install Jenkins on an ec2 instance

0 votes
How do I install jenkins on an ec2 instance? Its a Linux instance, EC2 RHEL 7.x Instance, to be specific.
Jul 31 in AWS by Yamini
22 views

1 answer to this question.

0 votes

Hey @Yamini, follow these steps:

1. Install Java

yum install java-1.8*

2. Confirm java version

java -version

3. Install Jenkins:

yum -y install wget
wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum -y install jenkins

4. Start and enable jenkins:

# Start jenkins service
systemctl start jenkins

# Setup Jenkins to start at boot,
systemctl enable jenkins
answered Jul 31 by Varsha

Related Questions In AWS

0 votes
1 answer

Install RStudio on AWS EC2 instance

Amazon Linux AMI 2017.09.1 is based on ...READ MORE

answered Jul 27, 2018 in AWS by Priyaj
• 56,900 points
442 views
0 votes
1 answer

How to install Python on my ec2 instance?

EC2 on linux machine currently supports python3.4 ...READ MORE

answered Mar 27 in AWS by Ritesh
458 views
+1 vote
2 answers

How do I run python script on aws EC2 instance(ubuntu)?

I believe that you are using the ...READ MORE

answered Apr 17, 2018 in AWS by Cloud gunner
• 4,280 points
2,195 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer