Install the NoMachine package via .deb or .rpm following your Linux distribution.
Start the service using:
Sudo/etc/NX/nxserver --startup
Start at boot time using:
Sudo systemctl enable nxserver.service
Connect via using the NoMachine client on another device.