Centos7 安装 Oracle 19c

下载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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容