1.本文档说明:
本文为在win10系统上PC-64位上安装VirtualBox_6.1;并在virtualBox上安装Centos 7.6新环境主机一台, 基于Centos 7.6 环境Oracle 19C PDB  安装、配置。
2.本文档适用范围:
仅适用于虚拟机环境下测试使用。
3.系统安装规划
仅指Linux新环境平台,迁移前规划准备:
3.1.操作系统准备
3.1.1.主机配置
操作系统规划准备(oracle规划)
Centos7.6测试环境上Oracle 19C安装
/etc/hosts配置:
Centos7.6测试环境上Oracle 19C安装
3.1.2.yum源配置
vi /etc/yum.repos.d/1.repo
[local]
name=local
baseurl=file:///mnt
gpgcheck=0
groupcheck=1
执行命令:yum repolist
测试:yum -y install telnet ;yum -y install vsftpd
4.Oracle安装
4.1.上传安装包(本次系统简单配置了一下vsftpd)
Centos7.6测试环境上Oracle 19C安装
4.2上传脚本,准备oracle环境所需要安装包及创建用户
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Vi /home/oracle/.bash_profile 修改ORACLE_SID值,并将ORACLE_UNQNAME行注掉:
Centos7.6测试环境上Oracle 19C安装
4.3安装Oracle软件:
su  - oracle
cd /oracle/;mv  LINUX.X64_193000_db_home.zip  $ORACLE_HOME/;
cd $ORACLE_HOME
unzip  LINUX.X64_193000_db_home.zip;
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
yum -y install compat*(本地iso上7.6无上面这包)  ; yum -y install  net-tools后再次运行检查 :
http://www.rpmfind.net/linux/rpm2html/search.php?query=compat-libstdc%2B%2B-&submit=Search+...&system=&arch=
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
4.4监听配置:
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
4.5.创建数据库
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
根据业务需要选择不同字符集:
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Test19c
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
4.6连接测试:
配置testpdb1的tnsnames.ora:
Centos7.6测试环境上Oracle 19C安装
创建用户test,测试:
Centos7.6测试环境上Oracle 19C安装
Centos7.6测试环境上Oracle 19C安装
连接用户test:
Centos7.6测试环境上Oracle 19C安装
安装配置到此完成 。

相关文章:

  • 2021-05-20
  • 2021-04-01
  • 2022-02-13
  • 2021-07-04
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2021-05-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案