DBA가 되고 싶은 병아리
10g 설치 메타링크 내용(아카이브) 본문
-
Installing required packages
The minimum required packages
given here are sufficient
only if Linux has been installed without customizing the package selection.
This list is based upon a "default-RPMs" installation of RHEL AS/ES 5.
Additional RPMs may be needed if a "less-than-default-RPMs" installation of RHEL AS/ES 5
is performed.
For more information, please refer to
Note 376183.1 "Defining a "default RPMs" installation of the RHEL OS".
The version numbers for these packages given below are the minimum version required.
If you have the packages with higher versions than the versions mentioned
in below example, you can install the higher version packages.
(i) gcc-c++-4.1.1-52.el5.i386.rpm and all its dependent packages.
The dependent packages are
- gcc-4.1.1-52.el5.i386.rpm
- libstdc++-devel-4.1.1-52.el5.i386.rpm
- glibc-devel-2.5-12.i386.rpm
- glibc-headers-2.5-12.i386.rpm
- libgomp-4.1.1-52.el5.i386.rpm
(ii) libXp-1.0.0-8.i386.rpm
(iii) compat-libstdc++-33-3.2.3-61.i386.rpm
(iv) compat-gcc-34-3.4.6-4.i386.rpm
(v) compat-gcc-34-c++-3.4.6-4.i386.rpm
Install all these packages from the directory Server in RHEL 5 by the command.
rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm \
gcc-4.1.1-52.el5.i386.rpm \
libstdc++-devel-4.1.1-52.el5.i386.rpm \
glibc-devel-2.5-12.i386.rpm \
glibc-headers-2.5-12.i386.rpm \
libgomp-4.1.1-52.el5.i386.rpm \
libXp-1.0.0-8.i386.rpm \
compat-libstdc++-33-3.2.3-61.i386.rpm \
compat-gcc-34-3.4.6-4.i386.rpm \
compat-gcc-34-c++-3.4.6-4.i386.rpm
(vi) sysstat-7.0.0-3.el5.i386.rpm
Install this package from the directory Server in CD#3 of RHEL 5 by the command.
rpm -ivh sysstat-7.0.0-3.el5.i386.rpm
-
Set the kernel parameters
Add the following the lines in the file /etc/sysctl.conf
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576 net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
To place these changes into effect, execute the command
sysctl -p
-
Create Oracle user and groups
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
-
Create the required directories for Oracle Base and change the ownership
For example
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app/oracle
-
Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add the following line in the /etc/pam.d/login file
session required pam_limits.so
Add the following lines to the /etc/profile.
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
-
Configure the Oracle user's environment
Configuring the oracle User's Environment,
using the appropriate section of
"Oracle® Database Quick Installation Guide 10g Release 2 (10.2) for Linux x86".
Note that setting $ORACLE_BASE (not $ORACLE_HOME) in the environment
will ease a couple of entries in the Oracle Universal Installer.
For example, if oracle user is using bash shell, and has the home directory
as /home/oracle,
The following lines to be added to /home/oracle/.bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=orcl
unset ORACLE_HOME
-
Invoking OUI
Log in as Oracle user and start installation by any one of the following methods.
This is required because Oracle 10.2 expects the OS to be RHEL 3 or RHEL 4.
Method 1:
$ ./runInstaller -ignoreSysPrereqs
Method 2:
Follow Note 456634.1
-
Warning at "Product-Specific Prerequisite Checks" screen
During the installation at the screen "Product-Specific Prerequisite Checks", OUI
gives a warning that Oracle database 10g is not certified on the current operating system.
If we still proceed to continue, OUI gives a dialogbox with a warning
"Some recommended prerequisite checks have failed.
You might get errors during installation.
Do you want to proceed?"
This warning can be ignored, if all the above requirements are satisfied.