Setup Menus in Admin Panel

How to install Jenkin local system?

Environment Used

  • Java SE 7 (1.7_079)
  • Maven Eclipse Plugin– Eclipse IDE for Java EE Developers
  • JBoss Application Server (AS) 7.1.1.Final(Latest stable released version is 7.1.1.Final) or Tomcat 7.0.65(Demo was using tomcat 7.0.65 with 8081 free port in my machine, change as per your free port)
  • Operating System : Windows XP/7/8, 32/64 bit (Demo was using windows 7, 64 bit)

Installation of Jekin Description

Download the Jenkin War

Step 1) Go to http://mirrors.jenkins-ci.org/war/latest/jenkins.war and download war for tomcat server.

Download the Tomcat Zip

Step2) Go to http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.65/bin/apache-tomcat-7.0.65-windows-x64.zip or Go link https://tomcat.apache.org/download-70.cgi and click on “64-bit Windows zip (pgp, md5, sha1) “

           Tomcat_Download_Link  

Step 3) Extract the “apache-tomcat-7.0.65-windows-x64” zip extracttomcat

Step 4) Change the HTTP port by traversing the path “apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\conf” and modifying the “server.xml” file

Tomcat_Sever_PORT_Change

Step 5) Run the tomcat by running the “catalina.bat start” from “apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\bin”

  • In case of port binding error occurs during server run, please change the port from “8085” “8088”

tomcat_port_88

 

Step 6) after modifying the port re-run the above command in new command prompt and access the URL: http://localhost:8088/

 

Step 7) add the Admin and Jenkin User to Tomcat for Security reason by modifying the “apache-tomcat-7.0.65/conf/tomcat-users.xml”

<role rolename=”manager-gui”/>

<user username=”admin” password=”nimda” roles=”manager-gui”/>

<user username=”jenkin” password=”jenkin” roles=”manager-gui”/>

addtomcat_user

Step 8) first stops the tomcat server by running the command “catalina.bat stop” and start again “catalina.bat start”

Tomcat_Stop

start_tomcat_server

Step 9) Go to link http://localhost:8088/ and click on manager app and system will ask for user and password, provide the user/password as “admin/nimda”

Tomcat Server Home

Server_Home

Tomcat Server Admin

tomcat1

Step 10) Copy the downloaded Jenkin war “http://mirrors.jenkins-ci.org/war/latest/jenkins.war” to tomcat webapp folder “apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\webapps”

Step 11) after deploy the war in tomcat access the Jenkin application by url: http://localhost:8088/jenkins/ and Jenkin Home page will open.

Jenkin_Home

 

January 6, 2016

0 responses on "How to install Jenkin local system?"

Leave a Message

Your email address will not be published. Required fields are marked *

About Us

Pradeep Academy is an online & Training institute To make learning easy, interesting, affordable and accessible to millions of learners across the Globe. To create an alternative learning platform, using a unique learning methodology of live online interactive courses along with 24x7 support. We aim to empower our customers with skills which will help them get an edge in their careers and improve their lives.

Contact Us

Address :

PradeepIT Consulting Services Pvt Ltd

205,Brigade gardens, No.19 Church Street , Bangalore – 560001, Karnataka, India

Email : [email protected]
Ph No: 08047363377
Web: https://academy.pradeepit.com
top
© Pradeep Academy.  Design & Developed by