Install netatalk on SmartOS

This tutorial will show you how to install netatalk on SmartOS. Netatalk is an open-source implementation of the Apple Filing Protocol, which used to be the default file-sharing protocol on Macs. It has since been replaced as the default file-sharing protocol on Macs by SMB/CIFS.
Netatalk can be used to build your own NAS from commodity hardware instead of buying one, which is also an option.
SmartOS supports AMD Ryzen and AMD EPYC CPUs since a while back, in addition to the long-supported Intel CPUs, such as the Intel Xeon.