Total Steps:
- Step1, Download java 8 or 11 as Jenkins supports thatStep2, Download Apache Tomcat ServerStep3, Download Jenkins.war fileStep4, Copy Jenkins.war to "webapps" folder of folder of Apache Tomcat ServerStep5, Start Apache Tomcat ServerStep6, Hit Tomcat URLStep7, Launch Jenkins from Apache URLStep8, Install pluginsStep9, Shutdown running Tomcat server
Step1, Download java 8 or 11 as Jenkins supports that
download : https://www.oracle.com/java/technologies/downloads/#java8set env variable: JAVA_HOMEcheck java if works: java -version
Step2, Download Apache Tomcat Server
download:https://tomcat.apache.org/select proper version and platform(windows or linux or mac)if windows then could select core : "64-bit_windows_zip"
Step3, Download Jenkins.war file
download: https://www.jenkins.io/download/select/choose "Generic Java package(.war)" to download in part "Long-term Support(LTS)"
Step4, Copy Jenkins.war to "webapps" folder of folder of Apache Tomcat Server
find "webapps" folder in Apache Tomcat (ex: apache-tomcat-9.0xxx-windows-x64)copy "Jenkins.war" to "webapps" of Apache Tomcat (ex: apache-tomcat-9.0xxx-windows-x64)
Step5, Start Apache Tomcat Server
startup – To start tomcat server. By default it starts at 8080 portshutdown – To shutdown running tomcat serverchange default port 8080 to any port(ex:8010). if not change, it will conflict and prompt Error.how to change port? solution is: 1) go to conf folder in Apache tomcat folder 2) find server.xml file,content like
Step6, Hit Tomcat URL - (localhost:8080)
Open a browser and input localhost:8080
Step7, Launch Jenkins from Apache URL
Unlock Jenkins page will be prompted. find initial password "daf9aaxxxxxxxxxxxxx" according to page prompted path OR get the information from Step5. Then Input it.
Step8, Install plugins
It will ask you to Customize jenkins by installing a good number of plugins. You can manually choose or install all suggested plugins. I will recommend to go for “Install suggested plugins“Plugin installation will take time. Let it be completed. Now it will ask you to create first admin user. Set Username and passowd then keep it in mind. then create and click on “Save and Continue” button.Go through steps, then "Jenkins is ready!", click "Start using Jenkins", then "Welcome to Jenkins!" will be showed.



