程序员潇然 发表于 2022-10-10 10:07:46

ubuntu安装sentinel linux安装配置 启动失败 not found

### 下载

直接github下载release包

!(data/attachment/forum/202210/10/100434evykz7yz0jfwkrvv.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

ps:图片上是因为我安装了一些插件所以出现了加速下载这种


上传到服务器,创建目录,sentinel只是一个jar包,没有太多配置

创建启动脚本

start.sh

```bash
#!/bin/sh

nohup java -Dserver.port=8718 -Dcsp.sentinel.dashboard.server=127.0.0.1:8718 -Dlogging.file=/usr/local/services/sentinel-dashboard-1.8.4/logs/sentinel-dashboard.log -Dsentinel.dashboard.auth.username=sentinel -Dsentinel.dashboard.auth.password=b7yf2RB5p8CwLF -jar /usr/local/services/sentinel-dashboard-1.8.4/sentinel-dashboard-1.8.4.jar > /usr/local/services/sentinel-dashboard-1.8.4/logs/run.out 2>&1 &
echo $! > /usr/local/services/sentinel-dashboard-1.8.4/runing.pid
```

!(data/attachment/forum/202210/10/100532xhkgapx94jjgsmsz.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")


踩坑,启动报错,最终发现是密码设置中设置了特殊字符,有些字符是不可以作为密码使用的

!(data/attachment/forum/202210/10/100650zcptz8868611z8zb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

修改去掉了`!` 就好了

b7yf2RB5p8CwLF
页: [1]
查看完整版本: ubuntu安装sentinel linux安装配置 启动失败 not found