Installing some of the problems encountered Jenkins

1. If Jenkins is installed inside the virtual machine to access address is a little change, I was not installed in the following Tomcat, start-up mode is: java -jar jenkins.war, access address is: ip virtual machine: 8080, so I the access address is: 192.168.238.131: 8080. (See virtual machine ip address command: ifconfig)

2. If you open access address displayed:

Need to open port 8080, the operation command is as follows:

View firewall: Firewall-cmd --state, if the firewall is turned off need to turn on the firewall: systemctl Start firewalld.service

Open port, opening 8080: firewall-cmd --zone = public --add -port = 8080 / tcp --permanent

After opening firewall ports need to restart: systemctl restart firewalld.service

Enter the command reload the configuration: Firewall-cmd --reload.

3. lsof -i: 8080, view the use of a particular port. View firewall: Firewall-cmd --state,

4. Start node Times the following error after the establishment of nodes:

SSHLauncher {主机='192.168.190。***',端口= 22,凭据ID ='ee650067-daa2-45e3-bab5-a7b3df2f3e24',jvmOptions ='/ usr / java / jdk1.8.0_201',javaPath ='/ usr / java / jdk1.8.0_201',prefixStartSlaveCmd ='',suffixStartSlaveCmd ='',launchTimeoutSeconds = 210,maxNumRetries = 10,retryWaitTime = 15,sshHostKeyVerificationStrategy = hudson.plugins.sshslaves.verifiery.Verifyy = Verifications,KnoownHost真正}

[03/21/19 11:53:09] [SSH] Opening and 192.168.190. ***: SSH 22 connections.

C: \ Users \ 8 *** \. ssh \ known_hosts [SSH] in C: \ Users \ w *** \. ssh \ can not find the "known hosts" file on the known_hosts. Make sure that on this path to create one, and Jenkins can read it.

Key exchange is not complete, the connection is closed.

This solution needs to be done in two steps: 1) Configure officials - startup mode, select a non-verify mode; 2) to configure the machine, add the path of java, if this will not add suggesting that not java.

 

Guess you like

Origin www.cnblogs.com/onerland/p/11720216.html