• oracle 19c安装


    1.oracle 安全前环境检查

    rpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm

    安装时候,提示以下依赖包需要安装。

    [root@oracle software]# rpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
    警告:oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID ec551f03: NOKEY
    错误:依赖检测失败:
    compat-libcap1 被 oracle-database-preinstall-19c-1.0-1.el7.x86_64 需要
    compat-libstdc++-33 被 oracle-database-preinstall-19c-1.0-1.el7.x86_64 需要
    ksh 被 oracle-database-preinstall-19c-1.0-1.el7.x86_64 需要
    libaio-devel 被 oracle-database-preinstall-19c-1.0-1.el7.x86_64 需要
    libstdc++-devel 被 oracle-database-preinstall-19c-1.0-1.el7.x86_64 需要

     

    yum -y install compat-libcap1 compat-libstdc++-33 ksh libaio-devel libstdc++-devel

    修改oracle 密码

    passwd oracle

     

    [root@oracle software]# chown -R oracle:oinstall /opt/oracle
    [root@oracle software]# chmod -R 775 /opt/oracle
    [root@oracle software]# rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm
    警告:oracle-database-ee-19c-1.0-1.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID ec551f03: NOKEY
    准备中... ################################# [100%]
    正在升级/安装...
    1:oracle-database-ee-19c-1.0-1 ################################# [100%]
    [INFO] Executing post installation scripts...
    [INFO] Oracle home installed successfully and ready to be configured.
    To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure
    [root@oracle software]#

    [root@oracle software]# cp /etc/sysconfig/oracledb_ORCLCDB-19c.conf /etc/sysconfig/oracledb_deploy-19c.conf
    [root@oracle software]# cp /etc/init.d/oracledb_ORCLCDB-19c /etc/init.d/oracledb_deploy-19c
    [root@oracle software]# vi /etc/init.d/oracledb_deploy-19c

    :%s/ORCLCDB/deploy/g

    :%s/ORCLPDB1/deploy/g

     

     

    export ORACLE_VERSION=19c
    export ORACLE_SID=deploy
    export TEMPLATE_NAME=General_Purpose.dbc
    export CHARSET=ZHS16GBK
    export PDB_NAME=deploy
    export LISTENER_NAME=LISTENER
    export NUMBER_OF_PDBS=1
    export CREATE_AS_CDB=false

     

     

    创建数据库:

    /etc/init.d/oracledb_deploy-19c configure

     

  • 相关阅读:
    Win10 64bit 下 Oracle 11g的安装
    删除服务列表中的任意服务 services.msc
    centos7修改docker镜像源的方法
    Docker零基础
    CentOS 查看日志命令
    mac 修改默认python,pip,为python3,pip3
    多次调用摄像头,需要考虑渲染问题
    Ant Designer Vue 中 layout 样式类名丢失
    Windows10 右键假死卡住转圈。
    mac 安装yarn
  • 原文地址:https://www.cnblogs.com/lewenzhong/p/14839821.html
Copyright © 2020-2023  润新知