Debain-7.11 安装 oracle 12.2.0.1 数据库database软件

特别的,因为debian-7已经不再被维护,所以apt的sources.lst必须要选择一个有效、快速的归档repository,经

测试这个归档镜像源最好:

#deb http://archive.debian.org/debian wheezy main

deb http://ftp.kaist.ac.kr/debian-archive/debian/ wheezy main

安装脚本如下:

#!/bin/sh

##gcc-4.4.7
##debian-7.11,buildin glibc version is 2.13
######################################
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 install gcc make libc6-dev libaio-dev
apt-get -y install xauth x11-utils

######################################

ln -sf /bin/bash    /bin/sh
ln -s  /usr/bin/awk /bin/
ln -s  /usr/lib/x86_64-linux-gnu /usr/lib64

######################################

groupadd   oinstall
useradd -g oinstall -m  -s /bin/bash oracle
mkdir /u01
chown oracle:oinstall /u01
原文地址:https://www.cnblogs.com/jinzhenshui/p/13399597.html