Ubuntu-20.04.1 安装 oracle 12.2.0.1 数据库database软件

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

原文链接: https://www.cnblogs.com/jinzhenshui/p/13416709.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/200986

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月12日 下午8:38
下一篇 2023年2月12日 下午8:38

相关推荐