MicroAI Security & Monitoring is an Edge-native AI platform that embeds and trains advanced security algorithms directly on a device, machine, or process.
This guide will help you install, configure, and validate the MicroAI Security & Monitoring agent, ensuring it operates correctly and securely. No technical expertise is required—just follow the steps carefully, and you'll have the agent up and running in no time!
Follow the steps below to install MicroAI Security on your system. The installation process varies depending on your operating system and architecture. Before proceeding, ensure you have your Licensing key, which is essential for activating the agent.
Determine your Operating system and architecture here.
Download the latest supported release from the packages page and transfer it onto the system intended for installation. Alternatively, use the commands directly from step 2.
Copy the following section for your operating system and architecture and update the command to match it with your details.
- Replace
<latest-version>
with the latest release version. The latest version can be found on the packages page or on the top of this page.
wget https://maicdn.micro.ai/security/linux/MicroAI-Security-linux-amd64-<latest-version>-rc1.tar.gz
tar -xzf MicroAI-Security-linux-amd64-<latest-version>-rc1.tar.gz
cd MicroAI-Security-linux-amd64-<latest-version>/bin
chmod +x main
wget https://maicdn.micro.ai/security/linux_arm/MicroAI-Security-linux-arm-<latest-version>-rc1.tar.gz
tar -xzf MicroAI-Security-linux-arm-<latest-version>-rc1.tar.gz
cd MicroAI-Security-linux-arm-<latest-version>/bin
chmod +x main
wget https://maicdn.micro.ai/security/linux_arm/MicroAI-Security-linux-arm64-<latest-version>-rc1.tar.gz
tar -xzf MicroAI-Security-linux-arm64-<latest-version>-rc1.tar.gz
cd MicroAI-Security-linux-arm64-<latest-version>/bin
chmod +x main
Invoke-WebRequest https://maicdn.micro.ai/security/windows/MicroAI-Security-windows-amd64-<latest-version>-rc1.exe -OutFile MicroAI-Security-windows-amd64-<latest-version>.exe
Activate your license and retrieve your license key on MicroAI Launchpad. See activation walkthrough for guided steps.
If you're enabling the Local UI Console, install Java 17 for your linux environments:
wget https://download.oracle.com/java/17/archive/jdk-17.0.9_linux-x64_bin.tar.gz
mkdir -p /usr/lib/jdk
tar xvzf jdk-17.0.9_linux-x64_bin.tar.gz -C /usr/lib/jdk
Windows installer includes this step in the instllation process.
Replace <license-key>
with a valid license key retrieved from step 3. See configurations to find the default configurations the agent is set up with.
sudo ./main -MAI_API_KEY=<license-key>
sudo ./main -MAI_API_KEY=<license-key> -console
sudo ./main -MAI_API_KEY=<license-key> -console -console.port=<port>
sudo ./main -MAI_API_KEY=<license-key> -console -javapath=/usr/lib/jdk/jdk-17.0.9/bin/java
Double-click the .exe
file and follow the installation steps. See Launching MicroAI Security & Monitoring for a detailed walkthrough.
Docker provides an efficient way to run MicroAI in a containerized environment. If you prefer deploying the agent as a Docker container, use the following commands, selecting the appropriate version based on your system architecture.
- Ensure Docker is installed and running on your system before executing the commands.
- Replace
<license-key>
with the actual MicroAI License key for authentication. - Using
--privileged
and--net=host
grants the container full system access, which is required for security monitoring but should be used cautiously. - The image tag
<latest-version>
corresponds to the MicroAI agent version; update it as needed for newer versions.
docker run -v /etc/ssl:/etc/ssl -d --privileged --net=host --pid=host --ipc=host --name microai_security_<latest-version> -e MAI_API_KEY=<license-key> -ti plasmacomputing/microai_security:linux-amd64-<latest-version>-rc1
docker run -v /etc/ssl:/etc/ssl -d --privileged --net=host --pid=host --ipc=host --name microai_security_<latest-version> -e MAI_API_KEY=<license-key> -ti plasmacomputing/microai_security:linux-arm-<latest-version>-rc1
docker run -v /etc/ssl:/etc/ssl -d --privileged --net=host --pid=host --ipc=host --name microai_security_<latest-version> -e MAI_API_KEY=<license-key> -ti plasmacomputing/microai_security:linux-arm64-<latest-version>-rc1
See Launching MicroAI Security & Monitoring for a detailed walkthrough.
After installation, use the following steps to ensure the agent is running correctly:
- Check if the process is running:
ps aux | grep main
- Verify logs for errors:
cat <installation-path>/data/logs/microai-main.log
- Confirm API key authentication and start of agent:
cat <installation-path>/data/logs/microai-main.log [*] MicroAI Security and Monitoring v2.2.17 - Release linux amd64 [-] MicroAI Starting [-] Training Mode set [-] Profile API: *** [-] Device activated sucessfully [-] starting subprocess 0 [-] starting subprocess 1 [-] starting subprocess 2 [-] starting subprocess 3 [-] starting subprocess 4 [-] Training started [-] Training complete! [-] Everything started
If all checks pass, the agent is successfully installed and operational!
To customize your agent settings, refer to the Configurations Guide.
See configure url and port monitoring page to get a walkthrough on how to use the local UI and monitor these options. Requires Local UI to be running
Review our extend agents capabilities page to apply custom remediation options and take custom actions on the agents alerts and notifications.
If you wish to view your profile, devices or update your plan, follow this guide.
Take a peek at our feature page for current features available with our agent.
If you encounter issues, try these solutions:
- Solution:
chmod +x main sudo ./main -MAI_API_KEY=<license-key>
- Solution:
java -version # Ensure Java 17 is installed sudo ./main -MAI_API_KEY=<license-key> -console
- Solution:
- Verify your License key
- Ensure you have an active internet connection
- Check logs:
<installation-path>/data/logs/microai-main.log
For further assistance, contact [email protected].
See Software Licensing Agreement for more details.
- Company: MicroAI™
- Website: www.security.micro.ai
- Email: [email protected]