There are upsides and downsides to every Linux distribution. Ubuntu is as good as any of them, so go for it as you have some experience with it.
I had full, immediate success with this on Ubuntu server 16.04 :-
sudo apt-get install gdebi
sudo apt-get install gdebi sudo wget http://download.igniterealtime.org/openfire/openfire_4.1.5_all.deb sudo gdebi openfire_4.1.5_all.deb
sudo gdebi openfire_4.1.5_all.deb
Thanks. The whole thing is brilliant