The ConHive Agent is a lightweight, single-binary tool that requires no complex installation. Simply download the binary and start the agent with a single command.
You can download the ConHive Agent from the release page. The agent is available for both Windows and Linux.
After downloading, extract the archive to reveal the agent binary. Copy the binary to your desired directory.
Linux:
tar -xzf agent_Linux_x86_64.tar.gz
Windows:
Use your preferred archive tool (e.g., 7-Zip) to extract the files.
Run the agent using:
./conhive-agent run
Run the agent using PowerShell:
.\conhive-agent.exe run
Alternatively, you can run the agent via Docker:
docker run ai2hive/conhive-agent:latest
For a quick and easy installation on Linux, use the provided installation script.
Download the Installation Script:
wget https://conhive.ai/hub/install_conhive_agent.sh -O install_conhive_agent.sh
Make the Script Executable:
chmod +x install_conhive_agent.sh
Run the Installation Script:
sudo ./install_conhive_agent.sh <CONHIVE_ENDPOINT> <CONHIVE_REGISTERTOKEN> <CONHIVE_DEVSLUG>
<CONHIVE_ENDPOINT>
with the endpoint for your ConHive setup (omit http://
or https://
).<CONHIVE_REGISTERTOKEN>
with your agent registration token.<CONHIVE_DEVSLUG>
with your developer identifier.Verify Installation:
Ensure the agent service is running by checking its status:
sudo systemctl status conhive-agent.service
This section provides a comprehensive step-by-step walkthrough for installing the ConHive Agent on your Linux device. For a quick setup, refer to the quick install instructions above.
Download the Installation Script:
wget https://conhive.ai/hub/install_conhive_agent.sh -O install_conhive_agent.sh
Set the Script Permissions:
chmod +x install_conhive_agent.sh
Execute the Installation Script:
sudo ./install_conhive_agent.sh <CONHIVE_ENDPOINT> <CONHIVE_REGISTERTOKEN> <CONHIVE_DEVSLUG>
Check Service Status:
Verify that the ConHive Agent is running properly:
sudo systemctl status conhive-agent.service
Download and Extract the Agent:
Download the appropriate binary from the release page.
Extract the archive:
tar -xzf agent_Linux_x86_64.tar.gz
Copy the Binary:
Move the conhive-agent
binary to your preferred directory.
Start the Agent:
Navigate to the directory containing the binary and run:
./conhive-agent run
Optional: Run as a Service
For continuous operation, consider setting up the ConHive Agent as a system service. Refer to your Linux distributionβs documentation for creating a systemd service file.
By following these steps, you can quickly deploy the ConHive Agent on your device and begin managing your infrastructure with ease. Whether you choose the automated script or a manual setup, ConHive offers a flexible and efficient solution to meet your device management needs.