[HELP] Step By Step Install OpenFire in OS centos6

hello i new member in this community…
and i want to see how step by step for instal openfire in centos 6… until it success working
i done try any instruction for instal openfire in google…
but not work 100%…
there are some that I managed success install to the admin login …
but after I try connecting to spark it didn’t work … cant connect…
maybe here is a link that explains how to install openfire from the beginning until you can connect to spark … via the ssh centos6 vps

thanks