Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
158 views11 pages

Oracle Linux 7.x Installation Guide

1. This document provides instructions for installing Oracle software and prerequisites on Oracle Linux 7. It includes steps for installing Linux packages, repositories, libraries, users, directories and downloading software. 2. The instructions guide the user to install required Linux packages and repositories, create database groups and users, set file system permissions and download and extract Oracle software files. 3. The document then provides directions for creating a software staging area, running installation wizard to install Oracle components, and applying patches to the database and middleware homes after installation.

Uploaded by

Christiam Niño
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
158 views11 pages

Oracle Linux 7.x Installation Guide

1. This document provides instructions for installing Oracle software and prerequisites on Oracle Linux 7. It includes steps for installing Linux packages, repositories, libraries, users, directories and downloading software. 2. The instructions guide the user to install required Linux packages and repositories, create database groups and users, set file system permissions and download and extract Oracle software files. 3. The document then provides directions for creating a software staging area, running installation wizard to install Oracle components, and applying patches to the database and middleware homes after installation.

Uploaded by

Christiam Niño
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

https://support.oracle.com/epmos/faces/DocumentDisplay?

_afrLoop=212027385712464&id=1330701.1&_adf.ctrlstate=h3frps24m_57#preinstall
1. INSTALAR LINUX 7.X
Requisitos

Oracle Linux

7 - Update 0 or higher (64-bit)

--Kernel
3.10.0-123.el7
3.8.13-35.3.1.el7uek3
--Required Packages (min versions)

2. INSTALAR REPOSITORIOS
Oracle Linux 7
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol7.repo
Oracle Linux 6
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol6.repo
Oracle Linux 5
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-el5.repo
Oracle Linux 4, Update 6 or Newer
# cd /etc/yum.repos.d
# mv Oracle-Base.repo Oracle-Base.repo.disabled
# wget http://yum.oracle.com/public-yum-el4.repo
Activar repositorios
[ol7_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/
$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
gpgcheck=1
enabled=1
[ol7_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL7/addons/
$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
gpgcheck=1
enabled=1
yum repolist
yum update
PARA LA EBS (ESTE PASO QUITA EL 3 y 4)
yum install oracle-ebs-server-R12-preinstall
PARA LA DB (No es necesario correrlo si se corre el de arriba)
yum install oracle-rdbms-server-12cR1-preinstall
ESTE SI SE DEBE CORRER
yum install gcc*

3. INSTALAR LIBRERIAS (SI NO USA PAQUETE DE PREINSTALACION)

compat-libstdc++-296-2.96-144.0.2.el7.i686
openmotif21-2.1.30-11.EL7.i686 (The openmotif package version must be
2.1.30 (for example, openmotif-2.3.3-1 is not supported).
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
libXrender-0.9.8-2.1.el7.i686
perl-File-CheckTree-4.42-3.el7.noarch
APP
binutils-2.23.52.0.1-16.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.i686
gcc-4.8.2-16.el7.x86_64
gcc-c++-4.8.2-16.el7.x86_64
gdbm-1.10-8.el7.i686
gdbm-1.10-8.el7.x86_64
glibc-2.17-55.el7.i686
glibc-2.17-55.el7.x86_64
glibc-common-2.17-55.el7.x86_64
glibc-devel-2.17-55.el7.i686
glibc-devel-2.17-55.el7.x86_64
libgcc-4.8.2-16.el7.i686
libgcc-4.8.2-16.el7.x86_64
libstdc++-devel-4.8.2-16.el7.i686
libstdc++-devel-4.8.2-16.el7.x86_64
libstdc++-4.8.2-16.el7.i686
libstdc++-4.8.2-16.el7.x86_64
libXi-1.7.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.x86_64
libXtst-1.2.2-2.1.el7.i686
libaio-0.3.109-12.el7.i686
libaio-0.3.109-12.el7.x86_64
libgomp-4.8.2-16.el7.x86_64
make-3.82-21.el7.x86_64
redhat-lsb-4.1-24.0.1.el7.x86_64
sysstat-10.1.5-4.el7.x86_64
util-linux-2.23.2-16.el7.x86_64
ADITIONAL FOR DB
compat-libcap1-1.10-7.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.x86_64
elfutils-libelf-devel-0.158-3.el7.x86_64
libaio-devel-0.3.109-12.el7.i686
libaio-devel-0.3.109-12.el7.x86_64
xorg-x11-utils-7.5-13.1.el7.x86_64

OJO: Validar que esten ar, gcc, g++, ld, ksh, make, X Display Server
Utilidades: unzip, df, ps, and wall
wget
ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/7.2/x86_64/os/Packag
es/elfutils-libelf-devel-static-0.163-3.el7.x86_64.rpm

https://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
wget https://oss.oracle.com/projects/compatoracle/dist/files/Enterprise_Linux/compat-libstdc++-296-2.96144.0.2.el7.i686.rpm
wget https://oss.oracle.com/projects/compatoracle/dist/files/Enterprise_Linux/openmotif21-2.1.30-11.el7.i686.rpm
wget https://oss.oracle.com/projects/compatoracle/dist/files/Enterprise_Linux/xorg-x11-libs-compat-6.8.21.EL.33.0.1.i386.rpm
Al final correr
ldconfig -v
4. PARAMETROS (LOS COLOCA AUTOMATICAMENTE EL
PREINSTALADOR)
Validar la existencia de unidad /dev/shm
vim /etc/security/limits.conf (OL5)

vim /etc/security/limits.d/oracle-ebs-server-R12-preinstall.conf (OL6,7)


*
*
*
*
*
*

hard nofile 65536


soft nofile 4096
hard nproc 16384
soft nproc 2047
hard stack 16384
soft stack 10240

vim /etc/sysctl.conf

kernel.sem = 256 32000 100 142


kernel.shmall = 2097152
kernel.shmmax = Half the size of the physical memory (in bytes), and at
least 4294967295
kernel.shmmni = 4096
kernel.msgmax = 8192
kernel.msgmnb = 65535
kernel.msgmni = 2878
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.ipv4.tcp_tw_recycle = 0
net.core.rmem_default = 262144

net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

5. GRUPOS, USUARIOS Y DIRECTORIOS


--Verificar firewall
SELinux (Security Enhanced Linux)

/etc/selinux/config

'disabled' where SELinux is disabled completely

'permissive' where warnings are logged to a file but not strictly enfored

# vim /etc/sysconfig/selinux
# systemctl stop firewalld.service
# systemctl disable firewalld.service
groupadd dba
groupadd oinstall
useradd -g dba -G dba,oinstall oravis
useradd -g dba -G dba,oinstall applvis
passwd oravis
passwd applvis
cd /
mkdir /u01
chmod 775 /u01
cd /u01
chgrp -R dba /u01
mkdir
chmod
chgrp
chown

/u01/oraInventory
775 /u01/oraInventory
dba /u01/oraInventory
oracle /u01/oraInventory

cd /
mkdir /u01/oracle
chmod 775 /u01/oracle
chown oracle.dba /u01/oracle
cd /etc
vim oraInst.loc
inventory_loc=/u01/oraInventory
inst_group=dba
chmod g+w /etc/oraInst.loc
chgrp dba /etc/oraInst.loc

6. VALIDAR HOSTS
vim /etc/hosts
127.0.0.1 localhost.localdomain localhost
[ip_address] [node_name].[domain_name] [node_name]
vim /etc/sysconfig/network
HOSTNAME=[node_name].[domain_name]
unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

7. DESCARGAR SOFTWARE

startCD 12.2.0.51 (<Patch 22066363>, RAPID INSTALL STARTCD 12.2.0.51)


verificar version
$ cd /Stage/12.2/startCD/Disk1/rapidwiz
$ ./RapidWizVersion
Chmod 775 -R /u01/Stage122
Chown dba -R /u01/Stage122

VALIDAR CADA ZIP DESCARGADO CON unzip -qt paquete


DEBE ARROJAR NO ERRORS
unzip -qt p22066363_R12_GENERIC.zip
unzip -qt V100052-01_1of3.zip
unzip -qt V100052-01_2of3.zip
unzip -qt V100052-01_3of3.zip
unzip -qt V100053-01_1of2.zip
unzip -qt V100053-01_2of2.zip

unzip -qt V100054-01.zip


unzip -qt V100055-01.zip
unzip -qt V100056-01.zip
unzip -qt V100057-01.zip
unzip -qt V100058-01.zip
unzip -qt V100059-01_1of2.zip
unzip -qt V100059-01_2of2.zip
unzip -qt V100060-01_1of3.zip
unzip -qt V100060-01_2of3.zip
unzip -qt V100060-01_3of3.zip
unzip -qt V100061-01.zip
unzip -qt V100078-01.zip
unzip -qt V100079-01.zip
unzip -qt V100102-01.zip
unzip -qt V270326-01_1of2.zip
unzip -qt V270326-01_2of2.zip
unzip -qt V29856-01.zip
unzip -qt V35802-01.zip
unzip -qt V35803-01_1of3.zip
unzip -qt V35803-01_2of3.zip
unzip -qt V35803-01_3of3.zip
unzip -qt V35804-01_1of2.zip
unzip -qt V35804-01_2of2.zip
unzip -qt V36805-01.zip
unzip -qt V46095-01_1of2.zip
unzip -qt V46095-01_2of2.zip
unzip -qt V75792-01.zip
unzip -qt V77840-01_1of9.zip
unzip -qt V77840-01_2of9.zip
unzip -qt V77840-01_3of9.zip

unzip -qt V77840-01_4of9.zip


unzip -qt V77840-01_5of9.zip
unzip -qt V77840-01_6of9.zip
unzip -qt V77840-01_7of9.zip
unzip -qt V77840-01_8of9.zip
unzip -qt V77840-01_9of9.zip
unzip -qt V77892-01.zip
unzip -qt V77972-01.zip
8. CREAR STAGE
cd /u01
mkdir Stage122
chgrp -R dba /u01/Stage122
chmod -R 775 /u01/Stage122
unzip p22066363_R12_GENERIC
chgrp -R dba /u01/Stage122
chmod -R 775 /u01/Stage122
cd startCD/Disk1/rapidwiz/bin/
./buildStage.sh

chgrp -R dba /u01/Stage122


chmod -R 775 /u01/Stage122

9. INSTALACIN
export DISPLAY=:0.0
xhost +
chgrp -R dba /u01/Stage122
chmod -R 775 /u01/Stage122
/u01/Stage122/startCD/Disk1/rapidwiz/
./rapidwiz

10.

ACTIVAR EM

To enable it, its necessary to check that the parameter dispatchers is


enabled for XDB:
SQL> show parameter dispatchers
NAME
TYPE
VALUE
----------- ------ ----------------------------------dispatchers string (PROTOCOL=TCP) (SERVICE=PRODXDB)
alter system set dispatchers = '(address=(protocol=tcp))
(service=PRODXDB)';
and then set an https port unique on the server:
SQL> exec dbms_xdb_config.sethttpsport (5502);
SQL> exec dbms_xdb_config.sethttpport(8080);
If youve already done it but you dont remember the port number you can
get it with this query:
SQL> select dbms_xdb_config.gethttpsport () from dual;
SQL> select dbms_xdb.getHttpPort() from dual;
DBMS_XDB_CONFIG.GETHTTPSPORT()

-----------------------------5502
You can now access the web interface by using the address:
https://yourserver:5502/em

11.INSTALAR PARCHES DE DB y MT
-----------------------------------PARCHES DB
PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/bin
patch lsinventory
opatch prereq CheckConflictAgainstOHWithDetail -ph ./
opatch apply
opatch rollback -id xxxxxxx
cd $ORACLE_HOME/OPatch
datapatch
-------------------------------------

You might also like