LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to set up domain (https://www.linuxquestions.org/questions/linux-networking-3/how-to-set-up-domain-32883/)

ronald_fancher 10-15-2002 02:02 PM

How to set up domain
 
I am trying to install Oracle 11i on my linux box and then get my Windows 2000 PC to talk to it. During the Oracle install it asks me for my machine name and domain name, such as mylinuxbox.mydomain.com. I use a cable modem and Linksys router, and don't really understand what the domain name is supposed to be. How do I set up a domain so that the Linux box and Windows 2000 PC believe they are part of a domain called mydomain.com? Thanks in advance for any advice.

bah 10-15-2002 08:45 PM

What does the "hostname" program say? (ie type in "hostname" in a shell and press enter).
Linux normally sets the host and domain name during boot, in the rc scripts. Most distros read the hostname from a file called "HOSTNAME" or "hostname" in the /etc directory. If you change the host name, you might need to change the /etc/hosts file as well.

Under w2k look in [Control Panel]->[System] under the "Network Identification" tab.

ronald_fancher 10-15-2002 09:03 PM

hostname says:
localhost.localdomain.com.

I need it to say:
blah.localdomain.com.

I am on Redhat 7.3, and I don't see any of the files that you mentioned.

/etc/hosts says this:
192.168.1.11 blah.localdomain.com

ronald_fancher 10-15-2002 09:18 PM

for anyone reading this thread, bah was on the right track. i had to change HOSTNAME in /etc/dhcpc/dhcpcd-eth0.info to get hostname to report blah.localdomain.com. thanks bah.

BiTurboMan 12-19-2003 10:41 AM

I am also installing Oracle 11i and ran into the same problems...

Here is what I did...... (if it is wrong, maybe someone can point that out)...

a) Edited the /etc/sysconfig/network file and deleted the name I gave during installation... (manual IP configuration)

b) In Xwin or Gnome (whatever u use,) Redhat>System Tools > Network,,,
b1) Goto to Hosts tab and add new entry...
b2) I added "11.11.11.11" for IP, "redhat.vision.com" for hostname (fake domain) and "redhat" for Alias.

c) Tested it by typing Hostname at terminal:
Ping redhat.vision.com
ping redhat

Both should reply with that 11.11.11.11 ip...

d) run RapidWiz and it should pickup "redhat" as the hostname and "vision.com" as the domain...


I hope that helps......


:scratch: :scratch:
I couldn't check to see if the portal at the end of the install is responding due to the fact that I have a different installer issue...

I keep getting "Unable to create file with proper privileges"...

It's file permissions issue but I gave full permissions and created oracle and applmgr accounts, a dba group, assigned etc.

Running the installer as root...

11.5.9 on Redhat 9...


All times are GMT -5. The time now is 04:56 AM.