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