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:
- • make-3.79
- • binutils-2.11
- • openmotif-2.2.2-16
- • setarch-1.3-1
- • compat-db-4.0.14.5
- • compat-gcc-7.3-2.96.122
- • compat-gcc-c++-7.3-2.96.122
- • compat-libstdc++-7.3-2.96.122
- • 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.
- The oinstall group (the Oracle inventory group)
- The dba group (the OSDBA group)
- 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:
- #grep oinstall /etc/group
- #grep dba /etc/group
(2) create groups and users required to install Oracle
- #groupadd oinstall
- #groupadd dba
- #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
- #mkdir –p /u01/app/Oracle #chown –R Oracle:Oinstall /u01/app/Oracle /u02/oradata
- #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.
- Parameter Value File
- semmsl
- semmns
- semopm
- semmni 250
- 32000
- 100
- 128 /proc/sys/kernel/sem
- shmall 2097152 /proc/sys/kernel/shmall
- shmmax Half the size of physical memory /proc/sys/kernel/shmmax
- shmmni 4096 /proc/sys/kernel/shmmni
- file-max 65536 /proc/sys/fs/file-max
- 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.