Install the server
- Spin up a clean VM running Fedora 30, 29, RHEL 7, or CentOS 7
- If you're using RHEL or CentOS, you need to enable the EPEL package repository.
sudo yum install -y epel-release
- Configure the package repository.
sudo dnf copr enable oyvindh/Nivlheim
- CentOS / RHEL:
sudo yum install -y yum-plugin-copr sudo yum copr enable oyvindh/Nivlheim
or go to the project page at Fedora Copr,
download the appropriate repository config file, and place it in
- Install the packages:
sudo dnf -y install nivlheim-server nivlheim-client
- Open the web admin interface in a browser:
At this point, there's no data in the system, because no clients have been configured yet.
Get the client running
/etc/nivlheim/client.conf, add one line:
- The client package has already configured a cron job, but to speed things up you can manually run the client:
Open the web admin interface in a browser, go to "Settings", and you should see that there's a new machine waiting to be approved. Click "approve".
Run the client one more time:
- Wait a few seconds, and refresh the web page. You should see some information about the machine. It takes a few seconds for the system to process before it shows up.
Install more clients
Spin up a new VM or use another existing machine.
Configure the package repository as detailed above.
sudo dnf -y install nivlheim-client
/etc/nivlheim/client.conf, add one line with the server hostname or ip address
If you are using a self-signed certificate for the web server (by default the nivlheim_server package will set it up with one), then the CA certificate file must be distributed to the clients.
/var/www/nivlheim/CA/nivlheimca.crtfrom the server, and place it in
/var/nivlheimon the machine you're installing the client software on.
Run /usr/sbin/nivlheim_client manually (as root), or wait for cron to run it (could take up to 5 minutes).
On the web admin pages the new machine will show up as waiting for approval. After it has been approved, and the client has run one more time, data from it will start showing up in the system.
How to contribute
- Do you have a suggestion, feature request, or idea? Or have you found a bug? Go to the "issues" page and create a new issue! Everything is welcome.
- Would you like to contribute code? Fork the repository and create a pull request! We try to use the GitHub workflow. You can also ask to be added as a collaborator.
- Questions? Contact me at email@example.com