- Spin up a clean VM running Fedora 27, 26, RHEL 7, or CentOS 7
- If you're using RHEL or CentOS, you need to enable the EPEL package repository.
- Configure the package repository:
sudo dnf copr enable oyvindh/Nivlheim
or go to the project page at Fedora Copr,
download the appropriate repository config file, and place it in
/etc/yum.repos.d/
- Install the packages:
sudo dnf -y install nivlheim-server nivlheim-client
- Open the web admin interface in a browser:
https://<your server>/
At this point, there's no data in the system, because no clients have been configured yet.
- Edit
/etc/nivlheim/client.conf
, add one line:
server=localhost
- The client package has already configured a cron job, but to speed things up you can manually run the client:
sudo /usr/sbin/nivlheim_client
-
Open the web admin interface in a browser, and you should see that there's a new machine waiting to be approved. Click "approve".
-
Run the client one more time:
sudo /usr/sbin/nivlheim_client
- 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.
-
Spin up a new VM or use another existing machine.
-
Configure the package repository as detailed above.
-
Install the
nivlheim-client
package.
sudo dnf -y install nivlheim-client
- Edit
/etc/nivlheim/client.conf
, add one line with the server hostname or ip address
server=yourserver.example.com
-
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.
Copy/var/www/nivlheim/CA/nivlheimca.crt
from the server, and place it in/var/nivlheim
on 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 one hour).
-
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.
- 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 oyvind.hagberg@usit.uio.no