304 North Cardinal St.
Dorchester Center, MA 02124
This error took me an hour to solve
ERROR: Installation can not proceed. Please fix your /etc/hosts file
You need to make sure the hostname is on the first line and should match the hostname of the server. All the documentation I see mentions something like mail.domain.com. This leads to confusion because usually your server hostname is going to be something else.
This is what my host file looks like which let me proceed
xxx.xxx.xxx.xxx host.domain.com 127.0.0.1 localhost.localdomain localhost
Also, make sure you use the actual IP of your server and not the loop back IP address