大众点评CAT安装部署记录

这里写图片描述

maven仓库找不到cat-core的jar:
1 去/home/apache-tomcat-7_2/webapps/cat/WEB-INF/lib下载
cat-core-1.4.0.jar到本地电脑
2

mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\cat-mvn-repo\cat-core-1.4.0.jar -DgroupId=com.dianping.cat -DartifactId=cat-core -Dversion=1.4.0 -Dpackaging=jar
D:\dev\apache-maven-3.3.9>cd bin

D:\dev\apache-maven-3.3.9\bin>mvn install:install-file -Dfile=C:\Users\Administr
ator\Desktop\cat-mvn-repo\cat-core-1.4.0.jar -DgroupId=com.dianping.cat -Dartifa
ctId=cat-core -Dversion=1.4.0 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom
---
[INFO] Installing C:\Users\Administrator\Desktop\cat-mvn-repo\cat-core-1.4.0.jar
 to D:\dev\maven-pro\repos\com\dianping\cat\cat-core\1.4.0\cat-core-1.4.0.jar
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall795301035505687
052.pom to D:\dev\maven-pro\repos\com\dianping\cat\cat-core\1.4.0\cat-core-1.4.0
.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.044 s
[INFO] Finished at: 2017-10-08T11:05:37+08:00
[INFO] Final Memory: 8M/115M
[INFO] ------------------------------------------------------------------------

同样的方法安装cat-client

击右上角的登陆,用账号和密码都是catadmin来登陆,在“配置”的最后一项“全局告警配置”的“客户端路由”里面改为127.0.0.1:2280后,提交刷新实时页面。

cat 的war存放路径:
/home/apache-tomcat-7_2/webapps/cat.war

posted @ 2017-10-08 19:12  陆陆通通  阅读(197)  评论(0编辑  收藏  举报