1. 程式人生 > 實用技巧 >Ubuntu-16.04.6 安裝 oracle 12.2.0.1 資料庫database軟體

Ubuntu-16.04.6 安裝 oracle 12.2.0.1 資料庫database軟體

as of:

root@ubuntu16:~# cat setup12c-for-ub-16.04.sh 
#!/bin/sh

##ubunt-16.04
##Linux ubuntu16 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
##GNU C Library (Ubuntu GLIBC 2.23-0ubuntu11) stable release version 2.23, by Roland McGrath et al.
##libstdc++6:amd64                    5.4
.0-6ubuntu1~16.04.11 amd64 GNU Standard C++ Library v3 ##apt-cache policy gcc £º Candidate: 4:5.3.1-1ubuntu1 ###################################### 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 update #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 ###################################### groupadd oinstall useradd -g oinstall -m -s /bin/bash oracle mkdir /u01 chown oracle:oinstall /u01