CentOS 5.5 installs 64-bit Oracle 10g

Source: Internet
Author: User

Refer to the official documentation (download along with the database file)

Oracle®database
Quick Installation Guide
10gRelease 2 (10.2) for Linux x86-64

The official documentation describes the installation using a graphical user interface. However, there are always problems in the installation process, so choose another way to install: silent installation.

===== below to start the specific operation =====

First, check the hardware requirements

Memory, disk space,/tmp directory space, and so on, this step is based on the inspection described in the documentation.

Second, check the software requirements

According to the kernel version, the system version is assumed to be red Hat Enterprise Linux 4.0. So use the root user to modify the/etc/redhat-release, annotate the current content, add a new line, and the content is redhat-4.

Install the following necessary dependent libraries (some of the dependencies in the official documentation do not install or do not matter):

compat-db-4.1.25-9
Gcc-3.4.3-9.el4
Gcc-c++-3.4.3-9.el4
Libstdc++-devel-3.4.3-9.el4
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
avahi-compat-libdns_sd.x86_64
compat-db.i386
compat-db.x86_64
compat-gcc-34.x86_64
compat-gcc-34-c++.x86_64
compat-gcc-34-g77.x86_64
compat-glibc.i386
ompat-glibc.x86_64
compat-glibc-headers.x86_64
compat-libf2c-34.x86_64
compat-libgcc-296.i386
compat-libstdc++-296.i386
compat-libstdc++-33.i386
compat-libstdc++-33.x86_64
java-1.4.2-gcj-compat.x86_64
elfutils-libelf.i386
elfutils-libelf-devel.x86_64
elfutils-libelf-devel-static.x86_64
compat-glibc.x86_64
glibc-devel.i386
glibc-devel.x86_64
glibc-headers.x86_64
glibc.x86_64
glibc.i686
kernel-headers.x86_64
libaio.i386
libaio.x86_64
libaio-devel.i386
libaio-devel.x86_64
libstdc++-devel.i386
libxp.i386
libxp.x86_64
libxpm.x86_64
sysstat.x86_64
readline-devel.x86_64
Openssl-devel

There may be duplicate packages or dependencies of other packages in the installation process, which can be ignored.

Third, modify kernel parameters

Edit/etc/sysctl.conf Add the following:

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

Iv. Modifying user operation limits

Edit/etc/security/limits.conf Add the following:

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

Five, edit/etc/pam.d/login add the following content:

Session Required Pam_limits.so

Vi. closing SELinux

Edit/etc/selinux/config Modify the following:

Selinux=disabled

Vii. creating user groups and Users

Groupadd Oinstall

Groupadd dba

USERADD-G oinstall-g dba Oracle

The above operation requires root user rights, the operation uses the Oracle user

VIII. Configuring Oracle User Environment variables

Edit. Bash_profile, add the following content (directory modified according to the actual situation)

Export Oracle_base=/home/oracle

Export Oracle_home= $ORACLE _base/product/10.2.0

Export oracle_path= $ORACLE _base/common/oracle/sql:.: $ORACLE _home/rdbms/admin

Export ORACLE_SID=ORCL

Export nls_lang= ' AMERICAN AMERICA. Al32utf8 ' The code here is consistent with the encoding of the database

Export path= $PATH: $ORACLE _home/bin

Export Lang=en_us

Export Editor=vi

if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-p 16384
Ulimit-p 65536
Else
Ulimit-u 16384-n 65536
Fi
Umask 022
Fi

Make the configuration file effective after editing: source. bash_profile

Ix. Edit Respsonse File

Copy the DATABASE/RESPONSE/ENTERPRISE.RSP in the installation file and modify several of the following items:

Oracle_home

Oracle_home_name

S_namefordbagrp

S_nameforopergrp

X. Implementation of the installation

./runinstaller-silent-responsefile XX/XX/DATABASE/RESPONSE/ENTERPRISE01.RSP

After the installation is complete, use the root user to execute xx/product/10.2.0/root.sh

Oracle User Execution/oracle/orainventory/orainstroot.sh

At this point, the installation process is complete. However, you have not created a database and listen, and you can create the graphical user interface by using DBCA and NETCA.

CentOS 5.5 installs 64-bit Oracle 10g

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.