If you want to do a native install you can follow the tutorial here for Debian/Ubuntu… https://docs.elastiflow.com/docs/elastic_install_ubuntu
There is a RedHat tutorial as well.