• Debain-8.11 安装 oracle 11.2.0.4 数据库database软件


    一切见脚本,setuporacle11g.sh,内容如下:

    #!/bin/sh
    
    ##gcc-4.9
    ##debian-8.11,buildin glibc version is 2.19
    ######################################
    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 install wget man curl ftp telnet net-tools strace psmisc tree
    #apt-get -y install rlwrap
    
    #apt-get -y libaio-dev
    apt-get -y install gcc make libc6-dev libaio-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 purge libaio1
    
        dpkg -i ./libaio1_0.3.109-3_amd64.deb
        dpkg -i ./libaio-dev_0.3.109-3_amd64.deb
    fi
    
    ######################################
    
    ln -sf /bin/bash    /bin/sh
    ln -s  /usr/bin/awk /bin/
    ln -s  /usr/lib/x86_64-linux-gnu /usr/lib64
    
    ## for-11g-only
    ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/
    
    ######################################
    
    groupadd   oinstall
    useradd -g oinstall -m  -s /bin/bash oracle
    mkdir /u01
    chown oracle:oinstall /u01
  • 相关阅读:
    promise!
    123
    git回忆回忆回忆
    Vue基本指令
    vue小案例(跑马灯)
    mvc
    nodejs中path模块
    web服务端重定向
    弹性布局
    导出数据库的表的所有字段类型,长度,名称
  • 原文地址:https://www.cnblogs.com/jinzhenshui/p/13396848.html
Copyright © 2020-2023  润新知