Running the Installer
To run the installer:
- Start the installer.
Change the folder where tml-installer is deployed, then run the following command to start the tml-installer container:
./start-installer.sh HOST_IP
HOST_IP is the broadcast IP address of the host machine on which the installer is being run. It can be determined by running the command:Platform Command Windows Command Prompt. Type ipconfig and press Enter. Look for Default Gateway under your network adapter for your router's IP address. Look for IPv4 Address under the same adapter section to find your computer's IP address.
Unix/Linux: ifconfig -a
Look for the broadcast address on the interface that shows status:active.
- Accept the License.
After above command is issued for the first time, the following license message is shown:
You must accept the License agreement before proceeding. Press ENTER key to read license. Press q to finish reading.
After pressing Enter, the following license is shown:
After reading the license terms and pressing q, the following question is prompted:Do you accept the license (y/n)?
Pressing N/n quits the installer.
Pressing Y/y enables the installer to record the acceptance of license in file "license_accepted.txt", you will not be required to read and accept the license again.
Example contents of file "license_accepted.txt":License accepted on Thu Nov 29 13:48:34 PST 2018
- Installer starts.
Example ouput of start-installer.sh.:
Setup tml-installer.env Load installer image bcf2f368fe23: Loading layer [==================================================>] 5.792MB/5.792MB 344fb4b275b7: Loading layer [==================================================>] 3.584kB/3.584kB b97e1a6c18dd: Loading layer [==================================================>] 100.1MB/100.1MB 50977f0ef3b1: Loading layer [==================================================>] 424.9MB/424.9MB f4c3bc0cbf1e: Loading layer [==================================================>] 5.384MB/5.384MB 2c9576eb3262: Loading layer [==================================================>] 12.29kB/12.29kB 734b1e5704cb: Loading layer [==================================================>] 5.632kB/5.632kB a7c37590ab8c: Loading layer [==================================================>] 4.096kB/4.096kB 0460408af918: Loading layer [==================================================>] 4.608kB/4.608kB e3f7d5acda52: Loading layer [==================================================>] 75.36MB/75.36MB a4eea740a88b: Loading layer [==================================================>] 4.608kB/4.608kB a665bb3f02bc: Loading layer [==================================================>] 1.115MB/1.115MB eea70e4bff41: Loading layer [==================================================>] 1.114MB/1.114MB 98597c071c4b: Loading layer [==================================================>] 15.87kB/15.87kB ef01eade524a: Loading layer [==================================================>] 15.36kB/15.36kB c96a7838c247: Loading layer [==================================================>] 1.549MB/1.549MB 61f9e64c0f7e: Loading layer [==================================================>] 1.549MB/1.549MB 6158184aa52f: Loading layer [==================================================>] 9.216kB/9.216kB f5de6e652758: Loading layer [==================================================>] 5.632kB/5.632kB 56e16bb96fbf: Loading layer [==================================================>] 3.072kB/3.072kB 003d69e985ba: Loading layer [==================================================>] 7.168kB/7.168kB c050db2f343c: Loading layer [==================================================>] 12.29kB/12.29kB b7e658a234c3: Loading layer [==================================================>] 5.632kB/5.632kB 0e31aaa2a63a: Loading layer [==================================================>] 46.1MB/46.1MB e0e1aedf9750: Loading layer [==================================================>] 28.67kB/28.67kB 6f2dc4adb0ab: Loading layer [==================================================>] 6.144kB/6.144kB fe229307b3bd: Loading layer [==================================================>] 1.146GB/1.146GB Loaded image: tml-installer:v5.1.0.91 Start tml-installer in foreground Creating network "51091_default" with the default driver Creating volume "51091_jenkinsvol" with default driver Creating tml-installer ... done Attaching to tml-installer tml-installer | ls: cannot access '/var/jenkins_home/userContent': No such file or directory tml-installer | Running from: /usr/share/jenkins/jenkins.war tml-installer | webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") tml-installer | Jun 26, 2019 9:05:38 PM org.eclipse.jetty.util.log.Log initialized tml-installer | INFO: Logging initialized @370ms to org.eclipse.jetty.util.log.JavaUtilLog tml-installer | Jun 26, 2019 9:05:38 PM winstone.Logger logInternal tml-installer | INFO: Beginning extraction from war file tml-installer | Jun 26, 2019 9:05:39 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath tml-installer | WARNING: Empty contextPath tml-installer | Jun 26, 2019 9:05:39 PM org.eclipse.jetty.server.Server doStart tml-installer | INFO: jetty-9.4.z-SNAPSHOT; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_201-b08 tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet tml-installer | INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart tml-installer | INFO: DefaultSessionIdManager workerName=node0 tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart tml-installer | INFO: No SessionScavenger set, using defaults tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging tml-installer | INFO: node0 Scavenging every 660000ms tml-installer | Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME") tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.handler.ContextHandler doStart tml-installer | INFO: Started w.@78461bc4{Jenkins v2.135,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war} tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.AbstractConnector doStart tml-installer | INFO: Started ServerConnector@687a762c{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} tml-installer | Jun 26, 2019 9:05:40 PM org.eclipse.jetty.server.Server doStart tml-installer | INFO: Started @2472ms tml-installer | Jun 26, 2019 9:05:40 PM winstone.Logger logInternal tml-installer | INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled tml-installer | Jun 26, 2019 9:05:41 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Started initialization tml-installer | Jun 26, 2019 9:05:42 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses tml-installer | WARNING: Created /var/jenkins_home/plugins/gradle/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness tml-installer | Jun 26, 2019 9:05:42 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Listed all plugins tml-installer | Jun 26, 2019 9:05:45 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Prepared all plugins tml-installer | Jun 26, 2019 9:05:45 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Started all plugins tml-installer | Jun 26, 2019 9:05:46 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error tml-installer | INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping tml-installer | Jun 26, 2019 9:05:47 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Augmented all extensions tml-installer | Jun 26, 2019 9:05:47 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Loaded all jobs tml-installer | Jun 26, 2019 9:05:47 PM jenkins.util.groovy.GroovyHookScript execute tml-installer | INFO: Executing /var/jenkins_home/init.groovy.d/tcp-slave-agent-port.groovy tml-installer | Jun 26, 2019 9:05:47 PM hudson.model.AsyncPeriodicWork$1 run tml-installer | INFO: Started Download metadata tml-installer | Jun 26, 2019 9:05:47 PM jenkins.install.UpgradeWizard applyForcedChanges tml-installer | INFO: New API token system configured with insecure options to keep legacy behavior tml-installer | Jun 26, 2019 9:05:48 PM jenkins.InitReactorRunner$1 onAttained tml-installer | INFO: Completed initialization tml-installer | Jun 26, 2019 9:05:48 PM hudson.WebAppMain$3 run tml-installer | INFO: Jenkins is fully up and running tml-installer | Jun 26, 2019 9:05:52 PM hudson.model.UpdateSite updateData tml-installer | INFO: Obtained the latest update center data file for UpdateSource default tml-installer | Jun 26, 2019 9:05:53 PM hudson.model.DownloadService$Downloadable load tml-installer | INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller tml-installer | Jun 26, 2019 9:05:53 PM hudson.model.DownloadService$Downloadable load tml-installer | INFO: Obtained the updated data file for hudson.tasks.Ant.AntInstaller tml-installer | Jun 26, 2019 9:05:53 PM hudson.model.DownloadService$Downloadable load tml-installer | INFO: Obtained the updated data file for hudson.plugins.gradle.GradleInstaller tml-installer | Jun 26, 2019 9:05:54 PM hudson.model.DownloadService$Downloadable load tml-installer | INFO: Obtained the updated data file for hudson.tools.JDKInstaller tml-installer | Jun 26, 2019 9:05:54 PM hudson.model.AsyncPeriodicWork$1 run tml-installer | INFO: Finished Download metadata. 6,519 ms tml-installer | --> setting agent port for jnlp tml-installer | --> setting agent port for jnlp... done
Copyright © Cloud Software Group, Inc. All rights reserved.