Fedora IoT¶
Fedora IoT is an excellent choice for a bare-metal deployment. It includes support for
- Secure Boot
- Code signing of all software updates
- Partition-based, powerplug-safe A/B software update with rollback
- Robust networking and security features from Red Hat
Normal includes native packages for Fedora IoT which make it easy to deploy a robust, production-ready gateway.
Prerequisites¶
In order to install NF on physical hardware, you will need a device supported by Fedora IoT. You will also need basic familiarity with the Linux command-line and system administration.
Follow the Getting Started guide to download a Fedora image for your architecture. You should follow the instructions for installing your SSH key onto the device.
Proceed to the next step once your device is connected to the internet and you have logged into using SSH.
Installing Normal Framework¶
To install, just run the following command:
curl https://nfrpmrepo.z13.web.core.windows.net/install-fc.sh | bash
This will install the necessary software repositories, and then install the framework.
Using NF on Fedora IoT¶
- All local state is placed in
/var/nf/
- NF processes are put into the
nf.slice
systemd slice; you may apply resource limits to this slice.
In order to change the environment, you should create a systemd
override file; for instance by using systemctl
:
systemctl edit nf-sparkplug.service