美文网首页
Centos7 安装 Oracle 19c

Centos7 安装 Oracle 19c

作者: 我问你瓜保熟吗 | 来源:发表于2020-11-30 20:21 被阅读0次

下载Oracle 19c rpm包

https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

安装数据库

yum -y install http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
yum -y install oracle-database-ee-19c-1.0-1.x86_64.rpm

配置数据库实例

/etc/init.d/oracledb_ORCLCDB-18c configure

vi /etc/profile.d/oracle.sh

export  ORACLE_HOME=/opt/oracle/product/18c/dbhome_1
export  PATH=$PATH:/opt/oracle/product/18c/dbhome_1/bin
export  ORACLE_SID=ORCLCDB

source /etc/profile

登录数据库

su - oracle

sqlplus / as sysdba
alter user system identified by system
show pdbs
exit
sqlplus system/system@192.168.83.134/orclpdb1

相关文章

网友评论

      本文标题:Centos7 安装 Oracle 19c

      本文链接:https://www.haomeiwen.com/subject/qfqrwktx.html