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

时间:2020-07-29 15:00:40   收藏:0   阅读:75

自动化配置脚本oracle12c.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 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

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!