Oracle 10 Gb Installation Guide for CenotOS Linux 5

Source: Internet
Author: User
Tags intel pentium

Collected and sorted out a perfect installation tutorial for Oracle 10 Gb in CenotOS Linux 5. Share your friends!

Author: David Young (e4twood@gmail.com)

Last Update: 2008-1-10

System Environment: CentOS Linux 5 Final

Oracle Enterprise 10g R2

Hardware environment: CPU: Intel Pentium Dual-core @ 1.60G

Memory: DDR 667 1G * 2 Dual channels

HandDisk: SATA 160G

I. Software Download

CentOS Linux 5 Final: http://ftp.cse.yzu.edu.tw/pub/CentOS/5.0/isos/i386/

Oracle Enterprise 10g R2: http://mirrors.cn99.com/oracle/10g/10201_database_linux32.zip

Ii. CentOS 5 Operating System Installation

The Installation Method of CentOS 5 is not described here. For details, refer:

Note that the following settings are recommended during installation:

1. To avoid system coding problems, it is best to use an English system first.

2. Select the following components during installation:

Base; X-window-System; gnome Desktop Enviroment; Development Tools; Legacy Software Development

3. In addition to the above components, install as few components as possible.

4. At least the following requirements must be met during system partitioning:

(1) At least 1 GB of SWAP space (SWAP)

(2) At least MB/tmp Space

(3) At least 1 GB of Oracle file space

(4) Oracle data file space of at least 1 GB

5. Disable the firewall and disable SELinux.

1. Oracle Installation preparation and system settings

1. Check the package

Use the rpm-q command to ensure the following packages exist:

Gcc (DISC 2)

Libgomp (DISC 2)

Make (DISC 1)

Binutils (DISC 1)

Openmotif (DISC 3)

Setarch (DISC 1)

Compat-db (DISC 3)

Compat-gcc (DISC 3)

Compat-gcc-c ++ (DISC 3)

Compat-libstdc ++ (DISC 3)

Compat-libstdc ++-devel

2. Configure Linux Kernel Parameters

The Linux kernel is excellent. Unlike most other * NIX systems, Linux allows you to modify most Kernel Parameters during system startup and runtime. You do not have to restart the system after the Kernel Parameter is changed. The following Kernel Parameter settings are required for Oracle Database 10 GB. The minimum value is given, so if your system uses a large value, do not change it.

# Add vi/etc/sysctl. conf to the end

# Use for oracle

Kernel. shmall = 2097152

Kernel. shmmax = 2147483648

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

# Use for oracle

* Soft nproc 2047

* Hard nproc 16384

* Soft nofile 1024

* Hard nofile 65536

Run the configuration above/sbin/sysctl-p again

# Add the following content at the end of line vi/etc/security/limits. conf

Session required pam_limits.so

# Add the following content at the end of the vi/etc/pam. d/login line

SELINUX = disabled

# Vi/etc/selinux/config ensure the following content

Improve shell restrictions for oracle users so that they can create and open large files. To do this, modify the/etc/profile file to improve the launch of the settings, add the following content to the/etc/profile file

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

Export ORACLE_BASE =/u01/app/oracle

Export ORACLE_SID = orcl

  • 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.