Install Oracle 10__oracle on RHEL5

Source: Internet
Author: User
Always try to install Oracle 10 on openSUSE, Hey, level problem.
Back to the RHEL5, very good, write down the installation steps:
Some refer to others.
Download Oracle10, extract to any folder, before installing the system to have some empty space.
Complete the following work as root:

modifying kernel parameters

Add the following content to the file/etc/sysctl.conf:

Kernel.shmall = 2097152
Kernel.shmmax = 2147483648
Kernel.shmmni = 4096
# SEMAPHORES:SEMMSL, Semmns, SEMOPM, Semmni
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
One thing to note here is that the system may have defined some of the same parameters as the above, either by annotating the parameters above or by annotating the system parameters

Run the following command to make the kernel parameters effective:

/sbin/sysctl-p

Add the following content to the file/etc/security/limits.conf file:

* Soft Nproc 2047
* Hard Nproc 16384
* Soft Nofile 1024
* Hard Nofile 65536

Add the following content to the file/etc/pam.d/login:

Session required/lib/security/pam_limits.so

Because SELinux has an impact on Oracle, secure Linux is set to invalid, editing file/etc/selinux/config:

Selinux=disabled

Of course you can also use the graphical interface tools (System > Admin > Security Level and Firewalls). Select the SELinux page and set it to be invalid.
Installation

From the DVD's rhel5 installation disk, install the following package:
RPM-UVH libaio-0*
RPM-UVH libxp-1*
It's a big problem without the two packs.

New Groups and Users:

Groupadd Oinstall
Groupadd dba
Groupadd Oper

USERADD-G oinstall-g dba Oracle
passwd Oracle

Create an Oracle installation directory and pay the permissions to Oracle users:

Mkdir-p/u01/app/oracle/product/10.2.0/db_1
Chown-r oracle:oinstall/u01
Modifying Oracle's own files:/azuo/database/install/oraparam.ini files
[Certified versions]
Linux=redhat-3,suse-9,redhat-4,unitedlinux-1.0,asianux-1,asianux-2
Modified to:
[Certified versions]
Linux=redhat-3,suse-9,redhat-4,unitedlinux-1.0,asianux-1,asianux-2,redhat-5


Log on to an Oracle user and configure environment variables (add the following to the file. Bash_profile:)

# Oracle Settings
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
Oracle_term=xterm; Export Oracle_term
Path=/usr/sbin: $PATH; Export PATH
Path= $ORACLE _home/bin: $PATH; Export PATH

Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib; Export Ld_library_path
Classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib; Export CLASSPATH

if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Start the installation.

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.