I have a Centos 5.8 server. How can I add my server IP address 192.168.20.254 so that it reflects when I run the command `hostname -i`

At the moment the command only shows the loopback IP 127.0.0.1 and the software I am trying to install complains that the server IP is not reflected here.