LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2009, 12:04 PM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question RHEL-5 installation


Hi All,

I have a 64-bit machine at my workplace, and had a DVD of 32-bit server edition of RHEL-5. I have Windows-7 installed over this machine already, which have 180GB HDD and 2 GB RAM. I want to install RHEL-5 on this machine, by removing Windows-7 completely. I also need to install Oracle on the same machine later, as well.
a) How can I crash windows-7 OS completely ?
b) Will 32-bit server edition of RHEL-5 will get installed over 64-bit machine ?
c) For Oracle, I think we need to select few mandatory packages under Development section by customizing the installation during package selection. What are those, or what will happen if we install all ?

Thank You all in advance,
Kapil
 
Old 10-13-2009, 12:19 PM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Hi.


When you install RHEL 5, you get the option to install RHEL over the entire disk thus removing Windows.

Running a 32-bit RHEL on a 64 bit machine should work well. Just remember that a 32-bit kernel will, by default, recognize more than 3 GB of memory.
 
Old 10-13-2009, 12:58 PM   #3
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,193

Rep: Reputation: 123Reputation: 123
I would probably have advised looking into OEL (Oracle Enterprise Linux) what is based on RHEL if your going to use an Oracle Database as well.

P.S. a 32bit OS can only address 4GB of memory (not to be confused with just RAM, it includes RAM but also includes other forms of memory)
 
Old 10-13-2009, 02:54 PM   #4
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi All,

Thank you for your prompt replies.
I have rebooted the machine with the DVD and, formatted whole windows partitions. Now I have around 150Gb of disk space with me.
Now I want to install RHEL-5 over this machine. What should be the ideal partitions for this disk , as we install most of our software under specific users within HOME directory.

Any suggestion will be helpful....

Thank you,
Kapil.
 
Old 10-13-2009, 03:57 PM   #5
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Quote:
Originally Posted by kapilbajpai88 View Post
Hi All,

Thank you for your prompt replies.
I have rebooted the machine with the DVD and, formatted whole windows partitions. Now I have around 150Gb of disk space with me.
Now I want to install RHEL-5 over this machine. What should be the ideal partitions for this disk , as we install most of our software under specific users within HOME directory.

Any suggestion will be helpful....

Thank you,
Kapil.
Partitioning disks can be a real pain, as one often don't quite know how it will be used when you start installing applications and stuff. But I recommend _strongly_ that you use LVM (do you know LVM?). Put /boot on a regular partition, and the rest in LVM.

And I strongly recommend leaving as much disk as possible unpartitioned. More precisely: Add all disk space to a LVM volume group, but don't use it all up when creating file systems - if you leave (as much as possible) disk space unused, you can increase file system very easily at runtime.
 
Old 10-13-2009, 03:58 PM   #6
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Quote:
Originally Posted by r3sistance View Post
P.S. a 32bit OS can only address 4GB of memory (not to be confused with just RAM, it includes RAM but also includes other forms of memory)
Can you please outline this?
 
Old 10-13-2009, 04:08 PM   #7
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi All,

I have installed RHEL-5 successfully and now facing problem with connecting to Internet. It is not showing the Ethernet card at all, and I tried assigning static IP address, but still it is not taking that. IFCONFIG is showing 127.0.0.1 as IP address and not changing to the assigned one.

I have started service network restart, but it is failing over 'eth0',and not allowing me to connect to internet at all. Installation was successful without any error. Could anybody please help me out in this.

Thank you all ,
Kapil
 
Old 10-13-2009, 04:08 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by kenneho View Post
Can you please outline this?
Perhaps you meant "explain"?
the direct addressing range is 2 raised to the power of the number of address bits----i.e. you simply calculate the number of unique states that can be represented.

2^32 = 4,294,967,296 (AKA 4 GBytes)

This is the amount of memory which can be DIRECTLY addressed by a 32-bit system. There are schemes which extend this, but I'm not familiar with the details. For example, look here:
http://en.wikipedia.org/wiki/Physical_Address_Extension
 
Old 10-13-2009, 04:55 PM   #9
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,193

Rep: Reputation: 123Reputation: 123
Ah, well explained Pixellany,

The whole 3GB thing comes from the following. In total you can only address 4GB of memory (again not just RAM), this includes most forms of memory on the system. Well this memory while including the systems main RAM also includes Graphics/Video RAM and this is the major area that appears to make less RAM appear then is actually installed. To show you what I mean I'll explain it with something that I tested out for fun... if you wish to call anything with windows fun I guess...

I have 2 Geforce x8600GTS in SLI with 640MiB of RAM (each), when I installed a 32-bit version of windows on this computer (I now only use 64 bit Vista/CentOS because of the following), 1280MB of RAM (about 1.2 GiB) was already taken by the graphics card, this mean windows barely registered 2.8 GiB of RAM even tho I physically had 4GiB in place. to make it even more of a laugh, there will be other devices with memory on them that also count towards this, even Bios itself may reserve memory allocation for things like ACPI and legacy video support. Other PCI devices might also have memory... It's quite legitimately possible to have up to 1.5 GiB of memory reserved before the main system RAM even gets a look in meaning you could register as low as 2.5GiB.

Last edited by r3sistance; 10-13-2009 at 04:56 PM.
 
Old 10-13-2009, 05:03 PM   #10
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by kapilbajpai88 View Post
Hi All,

I have a 64-bit machine at my workplace, and had a DVD of 32-bit server edition of RHEL-5. I have Windows-7 installed over this machine already, which have 180GB HDD and 2 GB RAM. I want to install RHEL-5 on this machine, by removing Windows-7 completely. I also need to install Oracle on the same machine later, as well.
a) How can I crash windows-7 OS completely ?
b) Will 32-bit server edition of RHEL-5 will get installed over 64-bit machine ?
c) For Oracle, I think we need to select few mandatory packages under Development section by customizing the installation during package selection. What are those, or what will happen if we install all ?

Thank You all in advance,
Kapil
a. just format the partition it is on, and poof its gone. very simple.

b. yes you can install a 32bit OS on a 64bit CPU.

c. sorry can not help you here. have never messed with Oracle in any shape or form, but i did find these links with a fast google search:

http://it.toolbox.com/wiki/index.php..._10g_on_RHEL_5

http://searchenterpriselinux.techtar...286606,00.html

no clue if they will help, but im sure google search will pan out for you on that one.
 
Old 10-13-2009, 06:12 PM   #11
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Quote:
Originally Posted by kapilbajpai88 View Post
Hi All,

I have installed RHEL-5 successfully and now facing problem with connecting to Internet. It is not showing the Ethernet card at all, and I tried assigning static IP address, but still it is not taking that. IFCONFIG is showing 127.0.0.1 as IP address and not changing to the assigned one.

I have started service network restart, but it is failing over 'eth0',and not allowing me to connect to internet at all. Installation was successful without any error. Could anybody please help me out in this.

Thank you all ,
Kapil


Hi All,

Any suggestion for this problem in particular ???

Regards,
Kapil.
 
Old 10-13-2009, 06:31 PM   #12
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Quote:
I have installed RHEL-5 successfully and now facing problem with connecting to Internet.
You'd get a better response if you asked a new question in a new thread. (The etiquette allows that. The rule is just don't ask the same question in multiple places at the same time.) A lot of people just scan the "Zero Reply Threads" and there may not be a lot of eyeballs that'll see this question...

Quote:
It is not showing the Ethernet card at all, and I tried assigning static IP address, but still it is not taking that. IFCONFIG is showing 127.0.0.1 as IP address and not changing to the assigned one.
The 127.0.0.1 address will never change. It is the address that is assigned to the loopback device.

Try the '-a' flag on your netconfig. That'll show all interfaces, not just the 'up' ones.
If you did the static IP address assignment properly, it'll show in the display.

Code:
[root@athlonz ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:E6:1E:11:3A  
          inet addr:192.168.1.94  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:e6ff:fe1e:113a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10937 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8151741 (7.7 MiB)  TX bytes:1700379 (1.6 MiB)
          Interrupt:22 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2391 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2391 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:142677 (139.3 KiB)  TX bytes:142677 (139.3 KiB)
Quote:
I have started service network restart, but it is failing over 'eth0',and not allowing me to connect to internet at all. Installation was successful without any error. Could anybody please help me out in this.

Are there messages in your syslog (probably /var/log/messages) referring to eth or eth0?
 
Old 10-14-2009, 04:50 AM   #13
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Quote:
Originally Posted by pixellany View Post
Perhaps you meant "explain"?
the direct addressing range is 2 raised to the power of the number of address bits----i.e. you simply calculate the number of unique states that can be represented.

2^32 = 4,294,967,296 (AKA 4 GBytes)

This is the amount of memory which can be DIRECTLY addressed by a 32-bit system. There are schemes which extend this, but I'm not familiar with the details. For example, look here:
http://en.wikipedia.org/wiki/Physical_Address_Extension
I agree with r3sistance that this was well explained. And r3sistance's explanation was also very good.

I didn't know that graphics card can occupy that much memory. I find getting insight into memory management quite hard.. As mentioned in your post, using a 32 bit address space one is able to adress 4 GB of memory. But isn't it so that the default kernel (not counting PAE and stuff) reservers about 1 GB, leaving only 3 GB to the user applications such as oracle?

The different I/O devices also need to allocate memory, but isnt this part of the kernel memory allocation? In which address space, i.e kernel or user, does graphics cards allocate memory?
 
Old 10-14-2009, 08:27 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
This explains things quite well http://kbase.redhat.com/faq/docs/DOC-6571. See also the links therein.
 
Old 10-15-2009, 03:08 AM   #15
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Quote:
Originally Posted by chrism01 View Post
This explains things quite well http://kbase.redhat.com/faq/docs/DOC-6571. See also the links therein.
Thanks, that was very informative. Still a few more things for me to learn about memory management, but this was quite helpful.
 
  


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
RHEL 5 - what is the use of installation key? rajeshkerala Linux - Newbie 4 05-10-2009 09:25 PM
Installation of java on RHEL 5 Soby Thomas Linux - Software 4 04-23-2009 02:36 AM
installation of RHEL-4 Update 3 vivek reddy Linux - Software 2 03-29-2006 03:35 AM
glibc 2.2 installation on RHEL kars_jk Red Hat 4 01-20-2006 06:19 AM
RHEL installation via NFS logosys Linux - Newbie 1 09-03-2005 01:26 AM


All times are GMT -5. The time now is 01:39 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