Ubuntu-12.04.5 安裝 oracle 12.2.0.1 資料庫database軟體
阿新 • • 發佈:2020-08-01
as of:
提示:對gcc的配置不敏感!好好。
#!/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++64.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 installwget 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/ ###################################### groupadd oinstall useradd -g oinstall -m -s /bin/bash oracle mkdir /u01 chown oracle:oinstall /u01