Changing hostname of linux system

Does somebody know, how I can change the hostname of my RedHat 9 system? The Houdini license server does not work with the default name (something like localxxx.localhost).

First of all it should be possible to use the loopback adress 127.0.0.1 if you are using your own machine for rendering/licensing or any config which needs your local hostname/IP.

If you are not using a DNS or similar its should be very easy to change your hostname using /etc/hosts, check it out it will speek for it self!

Good Luck!

// Joda

you can create a file /etc/hostname
some unix-systems like it as HOSTNAME
try and see what works
mine contains one single word
and that is the name of my machine

/etc/hosts looks like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.10.10 localhost.localdomain

is the same as in /etc/hostname
the 192.168.10.10 is picked arbitrarily from the pool of IP’s reserved for local networks (you can google shitloads of information on that!)

HIH
s.

As already mentioned, make sure you have your hostname in your /etc/hosts file. For example, if your ip address is 192.168.1.2 and your hostname is mybox, add the following line in /etc/hosts:

192.168.1.2 mybox

Also make sure mybox doesn’t appear after 127.0.0.1 in your /etc/hosts.

If all else fails, edit the file /etc/sysconfig/network to say:

HOSTNAME=mybox