Greetings, If you are on a 64bit OS, then you should install the 64bit RPM so that you get a 64bit JRE installed. In general though, you should use the noarch RPM and install your own vendor provided JRE.

sudo yum install java-1.8.0-openjdk-devel
java -version (shows 1.8.0)
cd /home/ec2-user/
sudo yum install wget
wget https://github.com/igniterealtime/Openfire/releases/download/v4.3.2/openfire-4.3.2-1.noarch.rpm
sudo rpm -Uhv openfire-4.3.2-1.noarch.rpm – no errors (Openfire restarted with systemctl, the only output)
After updating AWS inbound rule i was still not able to login to Openfire’s web setup at http://publicip:9090
So i have restarted the server and then it was accessible (although it still didn’t show 9090 port via netstat, it shows up on Ubuntu machine though).

Anyway. Openfire should install the daemon and run it automatically. If it doesn’t, then try to restart the server. No need to run it manually via sh script. As i’ve said, i have tested on 7.5 as that’s what AWS has. Maybe older version is missing something or your system is modificated. Although all it should be needing is proper Java (8 only for now).