The entire process of Oracle10g system installation in RedHatLinux5.3 (single-host)

Source: Internet
Author: User
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.

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.