|
|
Installing Oracle
10g (64 bit) 10.2.0.1 on RedHat 6.1 (x86_64) CentOS OLE
============================================================== Date:
09-DEC-2009
File: 10201_database_linux_x86_64.cpio.gz File:
p6810189_10204_Linux-x86-64.zip (patch)
> gunzip -c
10201_database_linux_x86_64.cpio.gz > db10201.cpio > cpio -idmv <
db10201.cpio
-- # From DVD, Install additional libXp and
its dependencies: 32bit only
rpm -ivh libXau-1.0.5-1.el6.i686.rpm
rpm -ivh libxcb-1.5-1.el6.i686.rpm rpm -ivh libXext-1.1-3.el6.i686.rpm
rpm -ihv libuuid-2.17.2-12.el6.i686.rpm rpm -ihv
libICE-1.0.6-1.el6.i686.rpm rpm -ihv libSM-1.1.0-7.1.el6.i686.rpm rpm
-ihv libXt-1.0.7-1.el6.i686.rpm rpm -ihv libXi-1.3-3.el6.i686.rpm rpm
-ihv libXtst-1.0.99.2-3.el6.i686.rpm rpm -ivh libXp-1.0.0-15.1.el6.i686.rpm
-- # File /etc/redhat-release has been edited to
contain:
redhat-4
-- # Following lines added to:
/etc/security/limits.conf * soft nproc 2047 * hard nproc 16384 *
soft nofile 1024 * hard nofile 65536
-- # Following line
added to: /etc/pam.d/login session required /lib/security/pam_limits.so
-- # cat /etc/sysctl.conf
# keos 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
-- # RELOAD PARAMETERS #
/sbin/sysctl -p
-- # CREATE oracle USER
groupadd oinstall
groupadd dba groupadd oper useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /oracle chown -R oracle.oinstall
/oracle
-- # Add to
.bash_profile. ulimit -u 16384 -n 65536 into .bash_profile
# Oracle Settings, file: SAMT.env #
---------------------------------------------------- TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=SAMT; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export
PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export
LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export
CLASSPATH # ----------------------------------------------------
# Source the env:
. ./SAMT.env
-- #
Install Oracle 10g R2: ./runInstaller
--------------------------------------------------------------------
-- # install Oracle Patch 10204 64 bit:
p6810189_10204_Linux-x86-64.zip
-- # cd
Disk1
vi ./install/oraparams.ini
comment out:
#
[Certified Versions]
# Linux=redhat-3,redhat-4,....
-- # ./runInstaller
|
|
No hay comentarios:
Publicar un comentario