Text changes and fixed mysql not starting.
Text changes.
Fixes unknown command warning on fetching public ip.
Fixes unknown command on fqdn and uses hostname command.
Changed CentOs to CentOS.