失效链接处理 |
Oracle19c RAC for Centos7.6最详细安装文档 PDF 下载
本站整理下载:
相关截图:
主要内容:
1 环境
1.1. 系统版本:
[root@rac19c1 Packages]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
1.2. ASM 磁盘组规划
ASM 磁盘组 用途 大小 冗余
CRS_GIMR ocr、voting file、19c grid 管理库 30G+30G+30G NORMAL
DATA 数据文件 20G EXTERNAL
1.3. 主机网络规划
网络配置 节点 1 节点 2
主机名称 rac1 rac2
public ip 192.168.189.211 192.168.189.212
private ip 10.10.10.211 10.10.10.212
vip 192.168.189.213 192.168.189.214
scan ip 192.168.189.215 192.168.189.215
1.4. 操作系统配置部分
1. 关闭防火墙
[root@rac1 ~]# systemctl stop firewalld
[root@rac1 ~]# systemctl disabled firewalld
2. 关闭 selinux
[root@rac1 ~]# vi /etc/selinux/config
SELINUX=disabled
[root@rac1 ~]#setenforce 0
3. hosts 文件配置
[root@rac1 ~]# vi /etc/hosts
#public ip ent0
192.168.189.211 rac1
192.168.189.212 rac2
192.168.189.213 rac1-vip
192.168.189.214 rac2-vip
10.10.10.211 rac1-prv
10.10.10.212 rac2-prv
192.168.189.215 rac-scan
2 准备工作(rac1 与 rac2 同时配置)
2.1. 配置本地 yum 源:
挂载光驱
mount -t auto /dev/cdrom /mnt
配置本地源
[root@gbasempp1 yum.repos.d]# cat CentOS-Media.repo
# CentOS-Media.repo
#
# This repo can be used with mounted DVD media, verify the mount point for
# CentOS-7. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c7-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c7-media [command]
[c7-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[root@gbasempp1 yum.repos.d]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: c7-media
[root@gbasempp1 yum.repos.d]# yum makecache
Loaded plugins: fastestmirror
Determining fastest mirrors
c7-media | 3.6 kB 00:00
(1/4): c7-media/group_gz | 166 kB 00:00
(2/4): c7-media/filelists_db | 3.2 MB 00:00
(3/4): c7-media/primary_db | 3.1 MB 00:00
(4/4): c7-media/other_db | 1.3 MB 00:00
Metadata Cache Created
2.2. 安装 rpm 依赖包
yum install -y binutils
yum install -y compat-libcap1
yum install -y compat-libstdc++-33
yum install -y compat-libstdc++-33.i686
yum install -y gcc
yum install -y gcc-c++
yum install -y glibc
yum install -y glibc.i686
yum install -y glibc-devel
yum install -y glibc-devel.i686
yum install -y ksh
yum install -y libgcc
yum install -y libgcc.i686
yum install -y libstdc++
yum install -y libstdc++.i686
yum install -y libstdc++-devel
yum install -y libstdc++-devel.i686
yum install -y libaio
yum install -y libaio.i686
yum install -y libaio-devel
yum install -y libaio-devel.i686
yum install -y libXext
yum install -y libXext.i686
yum install -y libXtst
yum install -y libXtst.i686
yum install -y libX11
yum install -y libX11.i686
yum install -y libXau
yum install -y libXau.i686
yum install -y libxcb
yum install -y libxcb.i686
yum install -y libXi
yum install -y libXi.i686
yum install -y make
yum install -y sysstat
yum install -y unixODBC
yum install -y unixODBC-devel
yum install -y readline
yum install -y libtermcap-devel
yum install -y bc
yum install -y compat-libstdc++
yum install -y elfutils-libelf
yum install -y elfutils-libelf-devel
yum install -y fontconfig-devel
yum install -y libXi
yum install -y libXtst
yum install -y libXrender
yum install -y libXrender-devel
yum install -y libgcc
yum install -y librdmacm-devel
yum install -y libstdc++
yum install -y libstdc++-devel
yum install -y net-tools
yum install -y nfs-utils
yum install -y python
yum install -y python-configshell
yum install -y python-rtslib
yum install -y python-six
yum install -y targetcli
yum install -y smartmontools
rhel7 还需单独安装一个独立包 rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
|