as of:
#!/bin/sh ##ubunt-20.04.1 ##Linux j 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux ##GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9) stable release version 2.31. ##ii libstdc++6:amd64 10-20200411-0ubuntu1 amd64 GNU Standard C++ Library v3 ##root@j:~# apt-cache madison gcc ## gcc | 4:9.3.0-1ubuntu2 | http://mirrors.tencent.com/ubuntu focal/main amd64 Packages ##root@j:~# apt-cache madison libaio1 ## libaio1 | 0.3.112-5 | http://mirrors.tencent.com/ubuntu focal/main amd64 Packages ###################################### 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 -y autoremove apt-get -y install gcc make libc6-dev apt-get -y install libaio-dev apt-get -y install x11-utils xauth apt -y autoremove ###################################### ln -sf /bin/bash /bin/sh ln -s /usr/bin/awk /bin/ ln -s /usr/lib/x86_64-linux-gnu /usr/lib64 # for-install-oracle11g ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/ # for libc6 2.28+ ln -s /usr/lib/x86_64-linux-gnu/*.o /usr/lib64/ ln -s /usr/lib/x86_64-linux-gnu/libpthread.a /usr/lib64/libpthread_nonshared.a ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/ ###################################### groupadd oinstall useradd -g oinstall -m -s /bin/bash oracle mkdir /u01 chown oracle:oinstall /u01