- install jdk1.8.0_192 to /usr/local/
- set the classpath in /etc/profile
- ln -s /usr/local/jdk1.8.0_192/bin/java /bin/java
- scp apache-tomcat-8.5.35 to the target server (/usr/local/apache-tomcat-8.5.35)
- chmod -R 777 /usr/local/apache-tomcat-8.5.35
- stop firewalld
1 | # 停止并禁用firewalld开机启动 |
/data/docker_volumes/jenkins/.ssh/192.1.114.170_jenkins_id_rsa.pub >>>>>>>>>>>>>>>> user@ip–>authorized_keys
1
FYI https://www.cnblogs.com/weifeng1463/p/7878366.html
~/.ssh/id_rsa.pub >>>>>>>>>>>>>>>> user@ip–>authorized_keys
- target-server /etc/ssh/ssh_config 中的 StrictHostKeyChecking ask 改成 StrictHostKeyChecking no