I would like to get help setting up a chat server on my Linux server. Please let me know if you are interested.
please refer iopenfire installation guide and below refrence link for insatlling in centos
Install OpenFire 3.9.3 on CentOS 6.6 x86_64 | Welcome to Linux Solution
Are you having a particular issue with getting setup?
In general, you should install the noarch RPM for the most recent release and also install a java-1.8.0 JRE provided by the operating system vendor.
yum install java-1.8.0-openjdk for example to get the OpenJDK JRE