数据库安装,oracle显示所有数据库

2023-05-06 21:33:33 阅读:157024 作者: 3817

安装包下载地址

3359 www.Oracle.com/cn/database/technologies/Oracle-database-software-downloads.html # 19c

选择RPM软件包进行下载安装。

安装帮助文档

3359 docs.Oracle.com/en/database/Oracle/Oracle-database/19/la DBI/preface.html # guid-071 a6b 76-11 E3-11

安装环境

cat/etc/red hat-releasecentoslinuxrelease7.7. 1908 (核心) )。

要在非oralce Linux环境中安装,必须下载相应平台的rpm。

下载地址:

检索3359 yum.Oracle.com/repo/Oracle Linux/ol7/latest/x86 _ 64/index.html、-19c下载最新版即可。

安装,首先执行

[ root @ Linux testb 538 Oracle ] # rpm-ivhoracle-database-pre install-19c-1.0-3.el7.x86 _ 64.rpm warning 3360 oraracle key IDEC 551 f 033:知识错误:故障从属关系: tmdfyd-utilsisneededbyoracle-database-pre install-19c-1.0-3 19c-1.0-3.el7.x86 _ 64 kshisneededbyoracle-database-pre install-19c-19by Oracle-database-pre install-19c-19c

执行发生了依赖错误。

改用yum命令进行安装

yuminstalloracle-database-pre install-19c-1.0-3.el7.x86 _ 64.rpm installed 3360 Oracle-database-pre install-re d-libs.x86 _ 643233609.11.4-26.p2.el7 _ 9.7 tmdfyd-libbyd e.noarch 3233609.11.4-26.p2.el7 5.0-1.el7k sh.x86 _ 640336020120801-142.el7 smartmontools.x86 _ 64133607.0-2.el7 sysstat.x86 _ 6403:10

安装 Oracle 数据库

uminstalloracle-database-ee-19c-1.0-1.x86 _ 64.rpm installed : Oracle-database-ee-19c.x86 _ 64033:0

配置数据库

/etc/init.d/oracledb _ orcl CD B- 19 cconfigure 100 % completedatabasecreationcomplete.fordetailscheckthelogfilesat 336666 orcl CDB.database information 3360全局数据库名称: orclcdbsystemidentifier (sid ) : orclcdblookatthelogfile ' dbca/orcl CDB.log ' forfurtherdetails.databaseconfigurationcompletedsuccessfully.thepasswordswereautogenerater

配置后,设置当前用户的环境变量

VI-----bashrc------打开文件后添加oracle的环境变量信息------- b home _---b

验证安装是否正确

su oracle (用户切换到oracle用户) sysplus/as sysdbaSQL* plus : 19.0.0.0.0版- productiononwednov 17183360593360322021版本19.3.0.0.0版(c ) 1982, 2021 Oracle.all rights reserved.connected to : Oracle数据库19 centerpriseeditionrelease 19.0.0.0.0-production version

执行上述命令,验证是否正确连接了Oracle数据库。

如果还不能安装,可以参加微思的Oracle OCP课程,不仅分钟教数据库的安装,还可以学习技术考试证书

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。

标签: 数据库   oracle

Copyright © 2022 恩蓝号 Inc. 保留所有权利。 Powered by 恩蓝号

页面耗时0.0205秒, 内存占用107.28 KB, 访问数据库2次