The correct solution for installing Oracle 10 Gb in redhat linux

Source: Internet
Author: User

This article describes how to correctly install the Oracle 10g operating solution in redhat linux. In fact, many people do not understand what g in Oracle 10g means. In fact, it is the abbreviation form of grid, which means grid. Currently, it is a cutting-edge network computing technology.

Oracle 10g has very high requirements on hardware and software, so it takes a lot of money to make fun of it. First, let's take a look at its hardware requirements: 1 GB recommended for memory of 512 MB), cpu clock speed of 7200 GB or above, hard disk speed of RPM or above, we recommend using scsi hard disk), according to this condition, I only need to buy a server.

Second, software requirements:

In the official Oracle documents, there are only three types of operating systems supported by the x86 series: radhat ES/AS 2.1 (x86), redhat ES/AS 3 (x86 ), unitedlinux1.0 (x86) can be installed only with redhat 9, but it is a little effort. Of course, Oracle 10g requires more software modules for installation. I will describe these software modules one by one later. In this example, RedHat ES 3 (x86) is used as the operating platform and xwindow is installed.

Next, check whether the installation requirements of Oracle 10g are met and list them in a table. The first is the hardware. Log on to the system as root and start x-window. If the value output by the following table command is greater than or equal to the recommended value, please

Check recommended project commands/methods

Memory # grep MemTotal/proc/meminfo 512 MB

Swap partition # grep SwapTotal/proc/meminfo 1 GB

/Tmp directory idle zone # df-k/tmp 400 MB

Hard Disk Free Space # df-k 4 GB

Continue to check the software requirements. For redhat ES 3 (x86), the following software packages are required:

• Gnu gcc package, gcc-3.2.3-2 or higher

The following package must also be installed:

 
 
  1. • make-3.79  
  2. • binutils-2.11  
  3. • openmotif-2.2.2-16  
  4. • setarch-1.3-1   
  5. • compat-db-4.0.14.5  
  6. • compat-gcc-7.3-2.96.122  
  7. • compat-gcc-c++-7.3-2.96.122  
  8. • compat-libstdc++-7.3-2.96.122  
  9. • compat-libstdc++-devel-7.3-2.96.122 

To ensure that the system meets the requirements, perform the following steps to check the installed linux version and installed suite.

Check recommended project commands/methods

Linux # cat/etc/issue ES 3

Installed packages # The packages required for rpm-q package_name installation are listed in the table above)

Here we have thoroughly checked the software and hardware environment required to install Oracle 10 Gb, and then we will create a group and a user for the installation.

The following groups and users must exist.

 
 
  1. The oinstall group (the Oracle inventory group)  
  2. The dba group (the OSDBA group)  
  3. The Oracle user (the Oracle owner) 

If the preceding groups and users do not exist, use the following steps to create them. (1) check whether these groups and users exist:

 
 
  1. #grep oinstall /etc/group   
  2. #grep dba /etc/group   

(2) create groups and users required to install Oracle

 
 
  1. #groupadd oinstall  
  2. #groupadd dba  
  3. #useradd –g oinstall –G dba Oracle 

Check whether Oracle belongs to the group oinstall and dba (# id Oracle). Then, set a user password for Oracle # passwd Oracle and enter the password twice.

Create the directory/u01/app/Oracle (the Oracle base directory),/u02/oradata (an optional default directory) required for installation, and create it using the command form in the following table. then change its directory permissions.

Create Directory change permission

 
 
  1. #mkdir –p /u01/app/Oracle #chown –R Oracle:Oinstall /u01/app/Oracle /u02/oradata   
  2. #mkdir –p /u02/oradata #chmod –R 755 /u01/app/Oracle /u02/oradata   

Configure the kernel parameters. The following table lists the Kernel Parameter values recommended by Oracle. For more information, see.

 
 
  1. Parameter Value File  
  2. semmsl  
  3. semmns  
  4. semopm  
  5. semmni 250  
  6. 32000  
  7. 100  
  8. 128 /proc/sys/kernel/sem  
  9. shmall 2097152 /proc/sys/kernel/shmall  
  10. shmmax Half the size of physical memory /proc/sys/kernel/shmmax  
  11. shmmni 4096 /proc/sys/kernel/shmmni  
  12. file-max 65536 /proc/sys/fs/file-max  
  13. ip_local_port_range 1024 65000 /proc/sys/net/ipv4/ip_local_port_range 

The above content is the description of installing 0 racle 10g. I hope it will help you in this aspect.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.