Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Jenkins Installation in Ubuntu 18.04


INSTALL JENKINS IN UBUNTU SERVER IN EC2 :



  • FIRST INSTALL JDK 8 ON SYSTEM:

$ sudo apt update

$ apt Install openjdk-8-jdk


Set JAVA_HOME in  /etc/environment

Add this line JAVA_HOME=“/usr/lib/jvm/java-8-openjdk-amd64/”

or Simply type command export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/

Now check Java home by type

$ echo $JAVA_HOME

  • Add the Jenkins Debian repository.


wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -


Next, add the Jenkins repository to the system with:

sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'


$ sudo apt updatesudo

$ apt install jenkins



Check your jenkins is working or not

Go to the browser and type http://:8080



This post first appeared on How EnterpriseApplication Integration Help, please read the originial post: here

Share the post

Jenkins Installation in Ubuntu 18.04

×

Subscribe to How Enterpriseapplication Integration Help

Get updates delivered right to your inbox!

Thank you for your subscription

×