标签:x64 run too runtime tar oca block version roo
我这里用的是 tomcat ,需配置 JDK 环境,然后给 Jenkins 发送密钥对。
[root@tomcat ~]# tar xf apache-tomcat-8.5.16.tar.gz
[root@tomcat ~]# tar xf jdk-8u191-linux-x64.tar.gz
[root@tomcat ~]# mv jdk1.8.0_191/ /usr/local/java
[root@tomcat ~]# mv apache-tomcat-8.5.16 /usr/local/tomcat
[root@tomcat ~]# vim /etc/profile
export JAVA_HOME=/usr/local/java/
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar[root@tomcat ~]# source /etc/profile
[root@tomcat ~]# java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
[root@tomcat ~]# ssh-keygen
[root@tomcat ~]# ssh-copy-id 192.168.200.117
标签:x64 run too runtime tar oca block version roo
原文地址:https://www.cnblogs.com/2567xl/p/12849375.html