Folks,
Hello. I installed Oracle Database Server 11gR2 in the Operating System Oracle Linux 5. All clients (NetCA, DBCA, SOL Deveoper, SQL Plus ...) run on Database Server correctly. The listener LISTENER is listening on the Client Tools in Linux successfully.
I also installed Oracle Database 11gR2 Client (SQL Developer, NetMgr, NetCA, sqlplus, ...) in Windows XP. Both Linux and Windows XP are VMs on the top of Host OS Windows 7.
In order for the Client Tools in Windows XP to login into the Database Server in Linux, both Linux and Windows XP need to be configured into a Network. I have configured the 3 machines as below:
Windows 7 IP address : 192.168.196.1
Windows XP IP address : 192.168.196.101
Oracle Linux 5 IP address : 192.168.196.102
The 3 machines can ping each other successfully. Windows XP Oracle Database Client Tools can login into Linux Oracle Database Server successfully.
But some strange network connection issues usually happen. The thing is that when I installed the Operating System Oracle Linux 5, its default host name is "localhost.localdomain" and default IP address is 127.0.0.1. Now, its IP address has been configured as 192.168.196.102 but its host name remain as "localhost.localdomain". The hard-coded relationship "localhost.localdomain and 127.0.0.1" is breaked down and causes problems. I don't know how to give a new hostname for the new IP address 192.168.196.102 in Linux.
My question is:
After change Linux default IP address 127.0.0.1 into 192.168.196.102, how to change its default hostname "localhost.localdomain" into a new hostname ?
Thanks in advance.