oel+oracle,OEL7.6安装Oracle Database 19C(VERSION 19.3.0.0)

1.eDelivery中下载Oracle Database 19C和Oel的安装介质,并安装好操作系统

2.安装Oracle环境准备工具

[root@localhost ~]# yum -y install oracle-database-preinstall-19c

Loaded plugins: langpacks, ulninfo

Resolving Dependencies

--> Running transaction check

---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed

--> Processing Dependency: compat-libcap1 for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64

--> Processing Dependency: ksh for package: oracle-database-preinstall-19c-1.0-1.el7.x86_64

(many more lines suppressed)

Installed:

oracle-database-preinstall-19c.x86_64 0:1.0-1.el7

Dependency Installed:

compat-libcap1.x86_64 0:1.10-7.el7 compat-libstdc++-33.x86_64 0:3.2.3-72.el7

glibc-devel.x86_64 0:2.17-260.0.17.el7_6.6 glibc-headers.x86_64 0:2.17-260.0.17.el7_6.6

kernel-headers.x86_64 0:3.10.0-957.21.3.el7 ksh.x86_64 0:20120801-139.0.1.el7

libaio-devel.x86_64 0:0.3.109-13.el7 libstdc++-devel.x86_64 0:4.8.5-36.0.1.el7_6.2

Dependency Updated:

glibc.x86_64 0:2.17-260.0.17.el7_6.6 glibc-common.x86_64 0:2.17-260.0.17.el7_6.6

libstdc++.x86_64 0:4.8.5-36.0.1.el7_6.2

Complete!

[root@localhost ~]#

3.创建目录

[root@localhost ~]# mkdir -p /u01/app/oraInventory

[root@localhost ~]# mkdir -p /u01/app/oracle/product/19.3.0/dbhome_1

[root@localhost ~]# chown -R oracle: /u01/app/oraInventory

[root@localhost ~]# chown -R oracle: /u01/app/oracle

[root@localhost ~]# su - oracle

[oracle@localhost ~]$ unzip -q /stage/db/V982063-01.zip -d /u01/app/oracle/product/19.3.0/dbhome_1/

[oracle@localhost ~]$

4.开始安装

[oracle@localhost ~]$ unzip -q /stage/db/V982063-01.zip -d /u01/app/oracle/product/19.3.0/dbhome_1/

[oracle@localhost ~]$ export ORACLE_HOME=/u01/app/oracle/product/19.3.0/dbhome_1

[oracle@localhost ~]$ export DISPLAY=10.0.0.1:0.0

[oracle@localhost ~]$ /u01/app/oracle/product/19.3.0/dbhome_1/runInstaller

选择”Create and configure a single instance database”

1218589b287a58087eae405bd85a611e.png

选择”Server class”来获得更多高级选项

169e4c8e219e60835714f0b279717a3f.png

9d60a0312e62e8f2d8c461645eef25a0.png

a0f3fa16306e7ca78190ade7876122ca.png...

2a4bc8ea38c73490dc06c9f4cd3979ec.png...

15a812a7142c98a136f41f33dd081959.png...

3695e57a08eb694763a1e6649729ea71.png...

3544e782a9a42e2a9157af3f2fba4c64.png...

69ec0e6475192c7126f34cb34c47d432.png

41450b3b5a594bd3532424d51c2a7c3c.png

39e84f9193b62cc847aa78959d0024cf.png

d05933f57fec881073ede71c93d231ca.png

60017b9c28992d66ce3ca277da5ece7b.png

a87ffab8af23c49329e40745e6780f9e.png

663e4c77f5fd7dcd8514530426aa48c3.png

f8e6d58b2f60ea39d50a9c64c12ec224.png

b82fc33fa98de66e267427c60bd4331f.png

48ac6ddc5ed39e2d577e44618beade76.png

61299cce18e43174384378e0e718e71c.png.

9f80a9da7072c678c8c793c847cecdb2.png

[oracle@localhost ~]$ export ORACLE_SID=orcl

[oracle@localhost ~]$ export ORACLE_HOME=/u01/app/oracle/product/19.3.0/dbhome_1

[oracle@localhost ~]$ export ORACLE_BASE=/u01/app/oracle/

[oracle@localhost ~]$ export PATH=$PATH:$ORACLE_HOME/bin

[oracle@localhost ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Jul 25 17:59:11 2019

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.3.0.0.0

SQL> show pdbs;

CON_ID CON_NAME OPEN MODE RESTRICTED

---------- ------------------------------ ---------- ----------

2 PDB$SEED READ ONLY NO

3 ORCLPDB READ WRITE NO

SQL>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值