Just use the echo command to replace the contents of /proc/sys/kernel/hostname with your new host name.

Then restart the network interfaces:

Now you can use the hostname command to verify that it has changed.