[Oracle RAC 12.1 Installation on Oracle Linux 6.7 (ISCSI + ASM)]: Installation of mandatory packages
| Server: | rac1, rac2, storage |
If there are no files with Oracle Linux repository descriptions 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 OS operation
| Server: | rac1, rac2 and 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 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
For displaying 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 on Linux (it must be specified as a separate line in the bash profile). After installing this package, you will be able to use the up and down arrow keys to view command history, proper backspace key 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 is not working, the source code can be obtained here:
https://github.com/hanslub42/rlwrap
# tar zxvf rlwrap-0.37.tar.gz
# cd rlwrap-0.37
# ./configure
# make
# make check
# make install