Skip to content

Instantly share code, notes, and snippets.

@mohanpedala
Last active July 16, 2017 18:10
Show Gist options
  • Save mohanpedala/68a43b4a25de84aa8d8253a52da01647 to your computer and use it in GitHub Desktop.
Save mohanpedala/68a43b4a25de84aa8d8253a52da01647 to your computer and use it in GitHub Desktop.
Jenkins AWS setup on rhel
  1. Installation Add the Jenkins repository to the yum repos, and install Jenkins from here.
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
  1. Installation of a stable version /n There is also a LTS YUM repository for the LTS Release Line
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
  1. Installation of Java Jenkins requires Java in order to run, yet certain distros don't include this by default. To install the Open Java Development Kit (OpenJDK) run the following:
sudo yum install java
  1. Start Jenkins
sudo service jenkins start/stop/restart
sudo chkconfig jenkins on 

Reference link click here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment