mysql_install_db giving error
Neither host '127.0.0.1' nor 'localhost' could be looked up with./bin/resolveip
Just add string in /etc/hosts
Based on your prompt which identifies your host as 'localhost' in your screen shots it would appear that the program is designed to not accept that as a valid hostname.
Please change your hostname to something other than 'localhost'.
"Please configure the 'hostname' command to return a correcthostname.If you want to solve this at a later stage, restart this scriptwith the --force option"
Alternately, the above message suggests you can use the --force option to over ride this. But having a sensible hostname seems like the better path.
-HTH
Please execute below steps to resolve your ip Address.
vi /etc/sysconfig/networkHOSTNAME=myboxvi /etc/hosts10.103.14.112 mybox.example.com mybox/usr/bin/resolveip 10.103.14.112
logout from the box and login again.
It works fine.
Give a try.