zoukankan      html  css  js  c++  java
  • Debain-9.13 安装 oracle 11.2.0.4 数据库database软件

    一切件oracle11g.sh,内容如下:

    #!/bin/sh
    
    ##gcc-6
    ##debian-9.13,buildin glibc version is 2.24
    ######################################
    cat <<eof>>/etc/profile
    export DISPLAY=192.168.157.1:0
    alias cls=clear
    alias ll='ls -l --color'
    alias Grep=grep
    eof
    
    ######################################
    
    apt-get -y download ssh
    apt-get -y install wget man curl ftp telnet
    apt-get -y install rlwrap net-tools strace psmisc tree
    
    ######################################
    
    apt-get -y install libstdc++5
    apt-get -y install sysstat gcc make libc6-dev
    apt-get -y install xauth x11-utils
    
    ######################################
    ## for-11g
    
    dpkg -l|grep libaio1|grep '0.3.10'
    if [ $? -ne 0 ]
    then
        if [ ! -e ./libaio1_0.3.109-3_amd64.deb ]
        then
            wget -c wget http://archive.debian.org/debian/pool/main/liba/libaio/libaio-dev_0.3.109-3_amd64.deb
            wget -c wget http://archive.debian.org/debian/pool/main/liba/libaio/libaio1_0.3.109-3_amd64.deb
        fi
        apt-get -y install ./libaio1_0.3.109-3_amd64.deb
        apt-get -y install ./libaio-dev_0.3.109-3_amd64.deb
    fi
    
    ######################################
    
    ln -sf /bin/bash /bin/sh
    ln -s  /usr/bin/awk /bin/
    ln -s  /usr/bin/basename /bin/
    
    ln -s  /usr/lib/x86_64-linux-gnu /usr/lib64
    
    ln -s  /lib/x86_64-linux-gnu/libgcc_s.so.1  /lib64/
    
    ######################################
    
    mv /usr/bin/gcc /usr/bin/gcc.old
    cat <<eof>>/usr/bin/gcc
    #!/bin/sh
    /usr/bin/gcc-6 -no-pie $*
    eof
    chmod 755 /usr/bin/gcc
    
    ######################################
    
    groupadd   oinstall
    useradd -g oinstall -m  -s /bin/bash oracle
    mkdir /u01
    chown oracle:oinstall /u01
  • 相关阅读:
    一些数据集
    经典的图像匹配算法----SIFT
    LDA处理文档主题分布代码
    Dirichlet Process
    主题模型-LDA浅析
    matplotlib —— 添加文本信息(text)
    xgboost原理及应用
    XGBoost参数调优
    MySQL中实现Oracle里面 rank()over ( PARTITION BY ORDER BY) 分类分组功能
    4.12 省选模拟赛 LCA on tree 树链剖分 树状数组 分析答案变化量
  • 原文地址:https://www.cnblogs.com/jinzhenshui/p/13394347.html
Copyright © 2011-2022 走看看