1.下载sentinel-dashboard的jar包
github下载链接:
2.使用命令进入jar包的文件夹
3.使用如下命令
sudo java -Dserver.port=9999 -Dcsp.sentinel.dashboard.server=localhost:9999 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard-1.8.0.jar
因为sentinel-dashboard默认启动是使用8080端口,和tomcat冲突。这里指定的是9999端口。可根据自己的需求设置。
4.使用localhost:9999启动后台管理。
以上为mac本地启动sentinel-dashboard的过程。2022年12月01日