1. Installation related software package list: binutils-2.15.92.0.2-13.EL4compat-db-4.1.25-9compat-libstdc ++-296-2.96-132.7.2control-center-2.8.0-12gcc-3.4.3-22.1.EL4gcc-c ++-3.4.3-22.1.EL44glibc-2.3.4-2.9glibc-common-2.3.4-2.9g
1. Install related software packages
The list is as follows:
Binutils-2.15.92.0.2-13.EL4
Compat-db-4.1.25-9
Compat-libstdc ++-296-2.96-132.7.2
Control-center-2.8.0-12
Gcc-3.4.3-22.1.EL4
Gcc-c ++-3.4.3-22.1.EL44
Glibc-2.3.4-2.9
Glibc-common-2.3.4-2.9
Gnome-libs-1.4.1.2.90-44.1
Libstdc ++-3.4.3-22.1
Libstdc +-devel-3.4.3-22.1
Make-3.80-5
Pdksh-5.2.14-30
Sysstat-5.0.5-1
Xscreensaver-4.18-5.rhel4.2
Setarch-1.6-1
Libaio-0.3.103-3
LibXp (as 5)
2. Edit the vi/etc/sysctl. conf file and add the following lines at the end (if the original file is duplicated, block it)
Kernel. shmall = 2097152
Kernel. shmmax = 268435456
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Run/sbin/sysctl-p
3. Edit the vi/etc/security/limits. conf file and add the following lines at the end.
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
4. Create the relevant installation directory
Mkdir/u01
Mkdir/u01/app
Mkdir/u01/app/oracle
5. Create dba, oinstall group and oracle user
# Groupadd oinstall
# Groupadd dba
# Useradd-g oinstall-G dba-d/u01/app/oracle-s bin/bash
# Passwd oracle
# Chown-R oracle. oinstall/u01
6. Run the command to bring it to the image installation mode.
Xhost +
7. Switch to oracle user (su-oracle)
Edit the. bash_profile file and add the following lines to set the environment variables of oracle users.
TMP =/tmp; export TMP
TMPDIR = $ TMP; export TMPDIR
ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID = orcl; export ORACLE_SID
LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH
PATH = $ ORACLE_HOME/bin: $ PATH; export PATH
Run the following command: source/u01/app/oracle/. bash_profile
8. decompress the oracle Installation File.
Tar-xvzf 10201_database_linux32.tar.gz
9. Install oracle
Run the command./runInstaller
10. The following figure shows the installation process.