4.3.1:部署skywalking java agent
~
~
~
~
~
agent.service_name=${SW_AGENT_NAME:tomcat}
agent.namespace=${SW_AGENT_NAMESPACE:tomcat}
collector.backend_service=${SW_AGENT_COLLECTOR_BACKEND_SERVICES:192.168.58.152:11800}
4.3.2: 部署tomcat
~$ cd /apps
~$ wget https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.98/bin/apache-tomcat-8.5.98.tar.gz
~$ tar xf apache-tomcat-8.5.98.tar.gz
~$ vim bin/catalina.sh
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/apps/skywalking-agent/skywalking-agent.jar";export CATALINA_OPTS
4.3.3:部署jenkins
~$ cd /apps/apache-tomcat-8.5.98/webapps/
~$ wget https://get.jenkins.io/war-stable/2.426.2/jenkins.war
4.3.4: 启动tomcat
~$ /apps/apache-tomcat-8.5.98/bin/catalina.sh run
4.3.5: skywalking验证