#!/bin/sh

##gcc-6
##debian-9.13,buildin glibc version is 2.24
######################################
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 libaio-dev
apt-get -y install xauth x11-utils

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

ln -sf /bin/bash /bin/sh
ln -s /usr/lib/x86_64-linux-gnu /usr/lib64

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

mv /usr/bin/gcc /usr/bin/gcc.old
cat <<eof>>/usr/bin/gcc
#!/bin/sh
/usr/bin/gcc-6 -no-pie \$*
eof
chmod 755 /usr/bin/gcc

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

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

 

 

相关文章:

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