You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghe-report/doc/docs/guide/quicklyDistribution.md

59 lines
1.7 KiB
Markdown

3 years ago
```
2 years ago
第一步下载zip包解压
2 years ago
第二步conf->bootstrap.yml修改数据库连接、上传下载地址等信息
3 years ago
第三步启动bin目录下start.sh
2 years ago
第四步,访问 http://localhost:9095 admin 123456
3 years ago
```
2 years ago
## 版本问题
已知以下版本存在兼容性问题,请不要使用
- Node.js V16及以上
- openJdk
- Jdk 1.7及以下/11及以上jdk11部分版本有问题
- Mysql 8.08.0.23/26版本没有问题8.0.21版本存在问题)
3 years ago
## 下载发行版
3 years ago
3 years ago
[下载地址](https://gitee.com/anji-plus/report/releases) https://gitee.com/anji-plus/report/releases <br>
3 years ago
![img.png](../picture/quickly/img_16.png) <br>
3 years ago
## 修改mysql连接
3 years ago
3 years ago
解压下载好的Zip包找到bootstrap.yml <br>
3 years ago
![img_1.png](../picture/quickly/img_17.png) <br>
3 years ago
将图中关于mysql的连接配置信息换成你使用的IP <br>
3 years ago
**注**aj_report库是存放底层基础信息的库flyway启动时会自动建立如果你在这里修改了库将会出错 <br>
3 years ago
![bootstrap.png](../picture/quickly/img_2.png) <br>
3 years ago
**注**请确认你的Mysql是否支持远程连接登陆用户是否有DDL权限 <br>
3 years ago
2 years ago
## OSS配置
3 years ago
2 years ago
OSS底层已支持minio、amazonS3、nfs都配置的情况下优先级minio->amazonS3->nfs <br>
2 years ago
![file.png](../picture/quickly/img.png) <br>
3 years ago
## 启动
3 years ago
3 years ago
linux启动<br>
3 years ago
aj-report-XXX --> bin -->sh start.sh <br>
3 years ago
windows启动<br>
3 years ago
aj-report-XXX --> bin --> start.bat <br>
3 years ago
![img18](../picture/quickly/img_18.png) <br>
如果start.bat启动有问题的话可以尝试以下方法解决。<br>
3 years ago
修改第4行的JAVA_HOME改成你自己的JAVA_HOME并去掉**rem**注释,双击启动<br>
2 years ago
![java.png](../picture/quickly/img_7.png)
3 years ago
## 访问
3 years ago
3 years ago
http://localhost:9095 <br>
2 years ago
默认密码admin 123456 <br>
3 years ago
3 years ago