Recently bought a glkvm and was interested in getting it to work with my existing infrastructure. I use meshcentral to remotely manage my servers, and I wanted to use a glkvm to manage some servers that don’t have AMT.
This post documents how to install the meshcentral management agent into the glkvm, so anywhere it has a network connection that can reach the internet I can remotely connect and manage the glkvm and the attached device.
I’m aware of the built-in tailscale client, but since I don’t use tailscale for remote management I decided to post this in case it can help anyone else trying to install the meshcentral client on the glkvm device.
- Log in to the meshagent interface, go to your group and click “Add agent”
- Pick the following options:
- Operating System: Linux / BSD / macOS Binary Installer
- System Type: ARM64-HF
- Installation Type: Background and Interactive
- Copy the installer line
- Log into the glkvm and access the terminal (Toolbox → Terminal → Access)
- In the terminal, navigate to
tmp - Paste the installer into the command prompt and run as
rootto download the meshcentral agent - Add execute permissions to the installer
chmod 0755 meshagent
- Run the installer with
meshagent -install- You can ignore the following error:
sh: line 1: getent: command not found
- You can ignore the following error:
- Create a symbolic link for the startup script so the meshagent automatically starts up on bootup
ln -s /etc/init.d/meshagent /etc/kvmd/user/scripts/S01meshagent
Now you should see the glkvm in your meshcentral interface! To be able to connect, you still have to do some extra work with meshrouter but this is already integrated into my workflow.
In the future I can show a guide on how to setup a self-hosted glkvm cloud server from their GitHub repository, this keeps all of your data on your own servers and doesn't use any external hosted services at all, keeping all of your own data in your control.