mirror of
https://gitee.com/dromara/cubic.git
synced 2024-12-03 12:48:41 +08:00
up
This commit is contained in:
parent
5df5dd8413
commit
c108cfb978
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/agent-dist/
|
||||
*.iml
|
||||
/agent-proxy-dist/
|
||||
|
22
README.md
22
README.md
@ -5,20 +5,28 @@
|
||||
![输入图片说明](https://images.gitee.com/uploads/images/2020/0514/142021_d5e1ce4b_1168339.png "屏幕截图.png")
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
目前整体项目分为如下几个部署模块
|
||||
cubic-agent 探针数据采集,以及动态命令执行
|
||||
cubic-proxy 代理,用于维护通道和命令下发,目前包含简单的web-ui
|
||||
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
1. git clone https://gitee.com/sanjiankethree/cubic.git
|
||||
2. 执行打包脚本 ./script/build.sh
|
||||
3. 打包完成的agent 在agent-dist目录下
|
||||
4. 打包完成的proxy 在agent-proxy-dist目录下
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
1. agent 加载如下
|
||||
java -jar -javaagent:/xxx/agent-dist/cubic-agent.jar yyy.jar
|
||||
|
||||
2. 启动代理服务
|
||||
java -jar cubic-proxy.jar
|
||||
|
||||
3. 访问web ui localhost:6080
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
@ -139,6 +139,38 @@
|
||||
<testFailureIgnore>true</testFailureIgnore>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>clean</id>
|
||||
<phase>clean</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo>${project.basedir}</echo>
|
||||
<delete dir="${project.basedir}/../agent-proxy-dist" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>package</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<mkdir dir="${project.basedir}/../agent-proxy-dist" />
|
||||
<copy file="${project.build.directory}/matrix-proxy.jar" tofile="${project.basedir}/../agent-proxy-dist/cubic-proxy.jar" overwrite="true" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
Loading…
Reference in New Issue
Block a user