• Centos6.5静默安装Oracle11g


    sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
    setenforce 0
    yum -y install gcc gcc-c++ make binutilscompat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-commonglibc-devel
    libaio libaio-devel libgcclibstdc++ libstdc++-devel unixODBC unixODBC-devel binutils
    yum -y install libaio libaio-devel libgcclibstdc++ libstdc++-devel unixOD
    groupadd -g oinstall
    groupadd oinstall
    groupadd dba
    useradd -g oinstall -g dba -m oracle
    passwd oracle
    mkdir -p /data/oracle
    mkdir -p /data/oraInventory
    mkdir -p /data/database
    chown -R oracle:oinstall /data/oracle
    chown -R oracle:oinstall /data/oraInventory/
    chown -R oracle:oinstall /data/database/
    /etc/init.d/iptables stop
    chkconfig iptables off
    vim /etc/sysctl.conf
    sysctl -p
    vim /etc/security/limits.conf
    vim /home/oracle/.bash_profile
    . /home/oracle/.bash_profile
    unzip linux.x64_11gR2_database_1of2.zip -d /data/database/
    unzip linux.x64_11gR2_database_2of2.zip -d /data/database/
    chown -R oracle:oinstall /data/database/database/
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    cd /data/oraInventory/
    ./orainstRoot.sh
    cd oracle/product/11.2.0/db_1/
    ./root.sh

  • 相关阅读:
    java面试
    java多态
    java多线程
    Java操作ElasticSearch
    liunx安装jdk
    linux安装Elasticsearch详细步骤
    java IO流
    java递归
    File文件类
    redis单机多节点集群
  • 原文地址:https://www.cnblogs.com/minseo/p/6826282.html
Copyright © 2020-2023  润新知