Openfire can be used to create chat server in RHEL. The setup and configuration is fairly straightforward.

Spark can be used on the client system.

download

Click to Download

The installation and configuration instructions can be found here.

Happy chatting.