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

 

相关文章:

  • 2022-02-15
  • 2021-08-18
  • 2022-01-27
  • 2021-12-12
  • 2021-10-15
  • 2021-11-21
  • 2022-02-01
  • 2021-05-21
猜你喜欢
  • 2021-09-02
  • 2022-03-07
  • 2021-12-24
  • 2021-07-12
  • 2021-05-28
  • 2021-11-01
  • 2021-08-06
相关资源
相似解决方案