Install Oracle 10g xe on CentOS 5.5 i386

Source: Internet
Author: User

1. Install the rpm package

Nano/v. sh

Copy the following content

#! /Bin/bash

Rpm-Uvh compat-db-4.2.52-5.1.i386.rpm

Rpm-Uvh compat-libstdc ++-33-3.2.3-61.i386.rpm

Rpm-Uvh make-3.81-3.el5.i386.rpm

Rpm-Uvh setarch-2.0-1.1.i386.rpm

Rpm-Uvh libgomp-4.4.0-6.el5.i386.rpm

Rpm-Uvh libXp-1.0.0-8.1.el5.i386.rpm

Rpm-Uvh openmotif-2.3.1-2.el5_4.1.i386.rpm

Rpm-Uvh kernel-headers-2.6.18-194.el5.i386.rpm

Rpm-Uvh glibc-headers-2.5-49.i386.rpm

Rpm-Uvh glibc-devel-2.5-49.i386.rpm

Rpm-Uvh compat-gcc-34-3.4.6-4.i386.rpm

Rpm-Uvh libstdc ++ devel-4.1.2-48.el5.i386.rpm

Rpm-Uvh gcc-4.1.2-48.el5.i386.rpm

Rpm-Uvh gcc-c ++-4.1.2-48. el5.i386. rpm

Rpm-Uvh compat-gcc-34-c + +-3.4.6-4. i386.rpm

Disk Storage

Bash/v. sh

Rm-f/v. sh

2. Adjust Kernel Parameters

Nano/etc/sysctl. conf

# Shield the original parameters # kernel. shmmax and kernel. shmall.

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

Nano/etc/security/limits. conf -- Add the following four lines of code

* Soft nproc 2047

* Hard nproc 16384

* Soft nofile 1024

* Hard nofile 65536

Nano/etc/pam. d/login -- Add the following line of code

Session required/lib/security/pam_limits.so

3. Add users and groups

Groupadd oinstall

Groupadd dba

Groupadd rule

Useradd-g oinstall-G dba Oracle

Passwd oracle

4. disguise the operating system version so that the Oracle Installation will pass the operating system verification.

Cp/etc/RedHat-release/etc/redhat-release.bak

Nano/etc/redhat-release

Replace it with the following code:

Redhat-4

  • 1
  • 2
  • Next Page

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.