Agent for CloudRay, a server management & monitoring service.
For detailed information and installation instructions please visit the Agent Docs.
Note
These instructions are intended for developers building the agent from source. If you're looking to install the agent, please follow the official installation guide.
- Install Rust from https://www.rust-lang.org/tools/install
- Clone the repository:
git clone https://github.com/cloudray-io/cloudray-agent.git cd cloudray-agent - Build the agent:
cargo build --release
- To test installing service:
sudo ./target/release/cloudray-agent install-service --reg-code <REG_CODE>
- To run directly:
./target/release/cloudray-agent run