Running PiAware on a QNAP TS-251+ NAS

If you’re into docker, try this: Guide to ADS B Data Receiving, Decoding and Sharing, Leveraging RTLSDR and Docker · mikenye/docker-readsb Wiki · GitHub

Otherwise, isn’t this thread exactly what you’re looking for?
https://discussions.flightaware.com/t/howto-install-piaware-3-8-1-on-ubuntu-and-debian-amd64/