Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have an issue regarding hostname and domainname on Oracle Linux 5.4(which comes with RHEL kernel only). I hope this is the right place to ask this question(as it ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    18

    setting hostname and domain name after installation

    Hi,

    I have an issue regarding hostname and domainname on Oracle Linux 5.4(which comes with RHEL kernel only).
    I hope this is the right place to ask this question(as it is about Oracle Linux )

    I followed the steps given on oracle-base website for Oracle Linux 5.4 installation.


    As per the snapshots and guidelines give on this link,I should have been asked to configure network interface.
    But It didn't show the screens shown in snapshots 16,17 and 18 where I could have entered hostname,domainname,IP etc.

    And when I checked after installation,it showed me

    hostname
    localhost.localdomain

    and

    domainname
    (none)
    That's because it took DHCP network configuration automatically(Correct me if i am wrong!!).
    Although I am going to turn it's currnet DHCP assigneed IP into static IP.

    Now,as I am going to have to install Oracle E-Business suite on this platform,I must have hostname,domainname and IP set properly.

    Please guide me how I can set these three things(hostname,domainname and IP) permenantly.
    Also should I turn it's current DHCP IP into static IP before changing hostname and domainname or after it?

    Thanks,
    Rushi

  2. #2
    Just Joined! arespi's Avatar
    Join Date
    May 2011
    Location
    Monterrey , Mexico
    Posts
    46
    For the ip address you should use the system-config-network command.
    For the hostname try using "hostname --help" without the "". It should give you the instructions in how to use the comand. For example, in Mandriva , wich is similar to redhat, the command should be "hostname -v [pcname]" and "domainname -v [domainname]".

    Good Luck
    _________________
    Registered Linux User #185832

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...