Devops Jenkins Installation in linux using apache tomcat

  • Slides: 4
Download presentation
Devops Jenkins : Installation in linux using apache tomcat Created By: Amrit Choudhary Devops

Devops Jenkins : Installation in linux using apache tomcat Created By: Amrit Choudhary Devops Engineer https: //buildreleasedeployment. wordpress. com/

Pre-requisites taken care through simple commands Pre-Requisites 1) Must have jdk installed 2) Set

Pre-requisites taken care through simple commands Pre-Requisites 1) Must have jdk installed 2) Set JAVA_HOME env variable in /etc/profile Install Java yum install java-1. 7. 0 -openjdk Jenkins war repository link: Go to below link and download any version of jenkins wget https: //updates. jenkins-ci. org/download/war/2. 49/jenkins. war

Practical implementation part Step 1) Install Java in Linux Eg. In Redhat : yum

Practical implementation part Step 1) Install Java in Linux Eg. In Redhat : yum install java-1. 7. 0 -openjdk Step 2) download Jenkins war Eg. wget https: //updates. jenkins-ci. org/download/war/2. 49/jenkins. war Step 3) copy Jenkins to required location from where you want to run it. Eg. cp -rf jenkins. war /var/ci-server/ Step 4) go to particular directory of choice where Jenkins. war is Eg. cd /var/ci-server Step 5) chmod 777 Jenkins. war (provide full permissions) Step 6) chown vagrant: vagrant Jenkins. war (provide owner & group permissions) Step 7) run jenkins. war as background process , pass it to some output. log file Eg. nohup java –jar jenkins. jar & > Jenkins. log step 8) access Jenkins http: //192. 168. 56. 101: 8080

Steps to Get Jenkins up and running Steps 1) When it prompts for password

Steps to Get Jenkins up and running Steps 1) When it prompts for password go to the location provided by Jenkins and copy/paste the password 2) Select the below option for default plugins to be installed by Jenkins 3) Fill the details and create the user for Jenkins Congrats Jenkins server is up & running