InLinuxEnvironmentInstall oracle 10gIt is a daunting task, far more complex than installing the linux operating system. If oracle 10 Gb can be successfully installed, some linux technologies will be mastered at the same time. This article describes how to install oracle 10 Gb in redhat linux. Here, it is explained that Oracle 10 Gb g stands for grid, which 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: Memory 512 MB (1 GB recommended), cpu clock speed above 7200 GB, hard disk speed above RPM (scsi hard disk recommended). According to this condition, I only need to buy a server. Second, software requirements: in oracle official documents, there are only three operating systems supported by the x86 series (radhat ES/AS 2.1 (x86 ), redhat ES/AS 3 (x86), unitedlinux1.0 (x86), which can be installed only if redhat 9 is used, but it takes a little trouble. 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 command below is greater than or equal to the recommended value, check the recommended value of the project command/method.
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 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 # required packages for rpm-q package_name installation (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 group and user 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 installation of oracle 10 Gb in linux is now complete. You can refer to the steps above to find an example to practice, I have learned how to install oracle 10 Gb in linux mentioned above, and it will be much easier to use oracle 10 Gb later. I hope you can learn from the above.