参考:https://www.cnblogs.com/binyue/archive/2004/01/13/12238578.html更加详细
官网下载最新jar包https://github.com/alibaba/Sentinel/releases
在存放改jar包的文件夹下打开cmd
java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard-1.8.0 -jar sentinel-dashboard-1.8.0.jar
这里我的8080端口被tomcat占用了所以改为8000
java -Dserver.port=8000 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard-1.8.0 -jar sentinel-dashboard-1.8.0.jar
在地址栏输入localhost:8000 用户名:sentinel,密码:sentinel
启动自己的项目就可以监控了