From d69ea04609f3f6c0055002ce7deac43dcc5429e4 Mon Sep 17 00:00:00 2001 From: wubijie Date: Wed, 13 Sep 2023 14:15:28 +0800 Subject: [PATCH] Modify the README.md file --- PilotGo.spec | 5 ++++- README.md | 55 ++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 49 insertions(+), 11 deletions(-) diff --git a/PilotGo.spec b/PilotGo.spec index 75f1ddf..c0a5ab6 100755 --- a/PilotGo.spec +++ b/PilotGo.spec @@ -2,7 +2,7 @@ Name: PilotGo Version: 2.0.1 -Release: 1 +Release: 2 Summary: PilotGo is a plugable operation platform written in go License: MulanPSL-2.0 URL: https://gitee.com/openeuler/PilotGo @@ -89,6 +89,9 @@ install -D -m 0644 scripts/service/PilotGo-agent.service %{buildroot}%{_unitdir} %changelog +* Wed Sep 13 2023 wubijie - 2.0.1-2 +- Modify the README.md file + * Fri Sep 01 2023 jianxinyu - 2.0.1-1 - Package init diff --git a/README.md b/README.md index 9d560c7..10112b5 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,56 @@ #### 介绍 PilotGo is a plugable operation platform written in go. -#### 软件架构 -软件架构说明 - +#### 使用说明 +请在使用之前关闭防火墙,PilotGo各组件可以集群部署也可单机部署,采用部署需要在各组件中配置相应服务的真实ip地址。 #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 安装mysql、redis,并设置密码; +2. 安装PilotGo-server,并修改配置文件: + >dnf install -y PilotGo-server -#### 使用说明 + >vim /opt/PilotGo/server/config_server.yaml + + http_server:addr为安装PilotGo-server地址; + + socket_server:addr为安装PilotGo-server地址; + + mysql:host_name为安装mysql地址;user_name为DB的登录用户;password为DB访问密码; + + redis:redis_conn为安装redis服务地址;redis_pwd为redis密码; + + 启动服务 + >systemctl start PilotGo-server + + 停止服务 + >ystemctl stop PilotGo-server + + 服务状态 + >systemctl status PilotGo-server +3. 安装PilotGo-agent: + >dnf install -y PilotGo-agent + + >vim /opt/PilotGo/agent/config_agent.yaml + + server:addr为安装PilotGo-server地址; + + 启动服务 + >systemctl start PilotGo-agent + + 停止服务 + >systemctl stop PilotGo-agent + + 服务状态 + >systemctl status PilotGo-agent +4. 插件安装: + [PilotGo-plugin-grafana插件安装](https://gitee.com/src-openeuler/PilotGo-plugin-grafana) + [PilotGo-plugin-prometheus插件安装](https://gitee.com/src-openeuler/PilotGo-plugin-prometheus) + +#### 补充连接 -1. xxxx -2. xxxx -3. xxxx +1. [PilotGo使用手册](https://gitee.com/openeuler/docs/tree/master/docs/zh/docs/PilotGo/使用手册.md) +2. PilotGo[代码仓](https://gitee.com/openeuler/PilotGo) #### 参与贡献 -- Gitee