LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2002, 02:02 PM   #1
ronald_fancher
LQ Newbie
 
Registered: Apr 2001
Posts: 14

Rep: Reputation: 0
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.
 
Old 10-15-2002, 08:45 PM   #2
bah
Member
 
Registered: Apr 2001
Posts: 38

Rep: Reputation: 15
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.
 
Old 10-15-2002, 09:03 PM   #3
ronald_fancher
LQ Newbie
 
Registered: Apr 2001
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 10-15-2002, 09:18 PM   #4
ronald_fancher
LQ Newbie
 
Registered: Apr 2001
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 12-19-2003, 10:41 AM   #5
BiTurboMan
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
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......



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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the domain name? Focle_Wulf-190 Slackware 3 03-28-2020 10:29 PM
Hot to set a Domain Name. philipina Linux - Networking 3 09-08-2004 02:11 PM
how do I set the domain name? exodist Linux - Software 6 09-02-2004 01:47 PM
Set up DNS for my domain. ikhebhet Linux - Networking 2 08-03-2003 08:39 PM
Want to set up a new domain name and hostname? hamster Linux - Networking 6 04-06-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration