Your hostname is not set properly errors


You may receive this errors on Linux systems in several programs specifically on installation on service setup step.

Most common reason for this problem, if your fully qualified domain name does not include any . (dot) character, software used to setup the service thinks that your hostname is not set properly.

If following command returns a hostname with dot(s), this makes setup software happy:

$ hostname --fqdn

As you can see, it doesn’t return a dotted hostname. We can solve this problem with adding a dotted hostname in /etc/hosts file like below:    myserver.localhost  myserver

You can provide more than one hostname for ip but the first entry must be a dotted version.After that run the command again:

$ hostname --fqdn

It probably solves your problem.Please check hostname related articles below.