- Golang: >=1.12
- OS:linux\unix\windows
- Depends: protoc, go-bindata
just for linux\windows\darwin
make all
just for linux\windows\darwin
make clean
- prepare the config file
- prepare mysql and run the init sql;
- run the easyagent server with the cmd below
./easy-agent-server -c example-config.yml --debug
- prepare the install curl cmd
- exec the curl cmd on the target host
- check the sidecar process
#change 127.0.0.1 to server ip
curl 'http://127.0.0.1:8889/api/v1/deploy/sidecar/install/shell?TargetPath=/opt/dtstack/easymanager/easyagent&CallBack=aHR0cDovLzE3Mi4xNi4xMC4zNzo4ODY0L2FwaS92Mi9hZ2VudC9pbnN0YWxsL2NhbGxiYWNrP2FpZD0tMQ==' | sh
#check sidecar process
ps -ef|grep sidecar