Please don't follow random instructions you find on the net. We have getting started guides for all major distros.
Here's what you should be using for Oracle 6 (which is more like RHEL 7, IIRC)
http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+CentOS+7