Ubuntu-12.04.5 再再再次安装 oracle 11.2.0.4 数据库database软件(又不一样了!)

重点:根本不需要libstdc++5 

安装setup-oracle11g-for-ubuntu-12.04.5.sh,如下:

#!/bin/sh

##ubunt-12.04
##Linux ubuntu1204 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
##GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10.6) stable release version 2.15, by Roland McGrath et al.
##gcc  4:4.6.3-1ubuntu5
##libstdc++6                       4.6.3-1ubuntu5                    GNU Standard C++ Library v3
######################################
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
apt-get -y install libaio-dev
#apt-get -y install xbase-clients
apt-get -y install x11-utils  xauth

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

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/

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

mv /usr/bin/gcc /usr/bin/gcc.old
cat <<eof>>/usr/bin/gcc
#!/bin/sh
/usr/bin/gcc-4.6 -Wl,--no-as-needed \$*
eof
chmod 755 /usr/bin/gcc



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

groupadd   oinstall
useradd -g oinstall -m  -s /bin/bash oracle
mkdir /u01
chown oracle:oinstall /u01

 

Ubuntu-12.04.5 再再再次安装 oracle 11.2.0.4 数据库database软件(又不一样了!)

上一篇:C#调用默认浏览器打开网页的几种方法


下一篇:In-memory database(IMDB),即内存数据库