Page 1 of 1

SOLVED: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 11:00 am
by darreldamon
I'm doing a manual install on my old 32 bit machine and following the full DVD install of Fedora 19 and then installing all the Amahi parts.

My question is this. Every time I install Fedora, it comes up with a hostname of NAS4FREE. No matter what I try, it insists that this is my hostname. If I try to change it in Linux after the install (to Amahi), other installs (like hard disk management, VNC, etc) fail with messages that say that Amahi:1 is invalid.

Any suggestions? I am a complete noob for linux.

Re: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 11:16 am
by bigfoot65

Re: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 11:32 am
by darreldamon
Tried the advice at the link you posted. Linux told me that the command hostname did not exist. Perhaps I had a bad install and I will try it again. Is that command loaded into Linux when I do the minimal install per the manual installation directions for Fedora?

Re: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 11:34 am
by bigfoot65
When you do the install, there should be a place to set the host name. It usually is set tom localhost.localdomain by default.

The command may have changed in Fedora 19. You can search the internet for more updated guidance.

Re: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 2:35 pm
by darreldamon
Found it. Your post queued me into a different google search.

Fedora 19 does not ask for a hostname on install. Not sure where it is getting the hostname.

The command for changing the hostname in Fedora 18, 19 and 20 is no longer "hostname". It is "hostnamectl"

Thanks for the feedback and setting me on the right track.

Re: Fedora 19 and hostname on a new install

Posted: Tue Aug 18, 2015 3:36 pm
by bigfoot65
It should have displayed it right before adding users on install.

Glad you found the solution.