Re: proper way to change ip and hostname
Thomas Hood wrote:
> Brian Kimball wrote:
> > But that only handles the bare minimum. You will also need to
> > reconfigure any software that has your old hostname, IP address,
> > netmask, network address, etc., hardcoded in its config files.
> > In this case grepping everything in /etc is the only sure-fire
> > way to remember what needs to be changed and what doesn't.
>
> But in many cases the software should have been configured to
> use "localhost" anyway, and this name -- the canonical hostname
> corresponding to IP address 127.0.0.1, never changes.
Good point. I was thinking from the point of view of having multiple
linux machines on a network. I guess not everyone's that lucky. ;-)
Reply to: