As root, the "hostname" command will accept the new hostname as an argument. To change the IP address, use "ifconfig" with switches for the IP address and the appropriate interface.
To make the changes permanent, you'll have to modify/verify the change in /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<interface>.
Cheers!
|