[Oracle RAC 12.1 SHARED FILE SYSTEM Installation]: Installation of mandatory packages


Server: rac1, rac2, storage

If there are no files describing Oracle Linux repositories in the /etc/yum.repos.d directory.

# vi /etc/yum.repos.d/OracleLinuxRepo.repo


[OEL6]
name=Oracle Enterprise Linux $releasever - $basearch
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1


# yum repolist


Installing packages for working in the OS

Server: rac1, rac2 и storage
# yum update -y


# yum install -y \
gcc \
make \
openssh-clients \
wget \
xinetd \
screen \
gamin \
unzip \
ntp \
net-snmp \
ntsysv \
bind-utils

Installing mandatory packages for Oracle installation

Server: rac1, rac2

The following packages or later versions must be installed in OEL 6.x:

binutils-2.20.51.0.2-5.11.el6 (x86_64)
compat-libcap1-1.10-1 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (x86_64)
compat-libstdc++-33-3.2.3-69.el6.i686
gcc-4.4.4-13.el6 (x86_64)
gcc-c++-4.4.4-13.el6 (x86_64)
glibc-2.12-1.7.el6 (i686)
glibc-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6.i686
ksh
libgcc-4.4.4-13.el6 (i686)
libgcc-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6.i686
libstdc++-devel-4.4.4-13.el6 (x86_64)
libstdc++-devel-4.4.4-13.el6.i686
libaio-0.3.107-10.el6 (x86_64)
libaio-0.3.107-10.el6.i686
libaio-devel-0.3.107-10.el6 (x86_64)
libaio-devel-0.3.107-10.el6.i686
make-3.81-19.el6
sysstat-9.0.4-11.el6 (x86_64)


# yum install -y \
binutils \
compat-libstdc++*33* \
elfutils-libelf \
elfutils-libelf-devel \
elfutils-libelf-devel-static \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
kernel-headers \
libaio \
libaio-devel \
libgcc \
libgomp \
libstdc++ \
libstdc++-devel \
make \
numactl-devel \
sysstat \
libXext.x86_64 \
compat-libstdc++* \
ksh \
compat-libcap1

And these packages:

# yum install -y \
unixODBC.x86_64 \
unixODBC-devel.x86_64

To display windows on the client machine:

# yum install -y \
xdpyinfo \
xclock
Server: rac1, rac2, storage
# yum install -y \
nfs-utils-lib.x86_64


rlwrap

Server: rac1, rac2

rlwrap - a package that allows you to store command history in SQL*PLUS and RMAN in Linux (it must be specified as a separate line in the bash profile). By installing this package, you will be able to use the up and down arrow keys to view the history of entered commands, correct backspace operation, etc.

# yum install -y \
readline-devel.x86_64


# cd /tmp
# wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz


If the above site does not work, the source code can be taken here:

https://github.com/hanslub42/rlwrap


# tar zxvf rlwrap-0.37.tar.gz
# cd rlwrap-0.37
# ./configure
# make
# make check
# make install