If Localization step is empty or error message is Fatal error: Class ‘DOMDocument’ not found during magento installation

you can run this command;

yum --enablerepo remi install php-xml