更新客户端启动脚本
This commit is contained in:
parent
ec17cee986
commit
304d3e46c7
@ -4,6 +4,16 @@
|
||||
|
||||
* API_BASE_URL=http://localhost:8080 - 后端接口基础地址
|
||||
|
||||
## 数据采集客户端
|
||||
|
||||
启动前需要配置一下服务端链接信息和网卡信息:
|
||||
|
||||
```json
|
||||
{"address":"服务端地址","networkInterface":"网卡名称","token":"注册Token"}
|
||||
```
|
||||
|
||||
配置完成后直接使用`./client.sh start`一键启动即可,若无执行权限可以`chmod +x client.sh`增加一下执行权限。
|
||||
|
||||
## 数据汇总服务端
|
||||
|
||||
启动前需要先完成以下环境变量配置,若不修改则使用下列默认值。
|
||||
|
0
itbaima-monitor/client.sh
Normal file → Executable file
0
itbaima-monitor/client.sh
Normal file → Executable file
1
itbaima-monitor/config/server.json
Normal file
1
itbaima-monitor/config/server.json
Normal file
@ -0,0 +1 @@
|
||||
{"address":"服务端地址","networkInterface":"网卡名称","token":"注册Token"}
|
Loading…
x
Reference in New Issue
Block a user