centos7安装oracle

安装网址:

         https://www.cnblogs.com/xqzt/p/5456401.html

ps:依赖一定要提前按照要求安装好,深受其坑

问题解决:

1.

centos7安装oracle

Checking Temp space: must be greater than 120 MB.   Actual 41568 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n]

解决方案:重启电脑,直接以oracle用户登录

 

2.

centos7安装oracle

解决方案:这是因为缺少依赖导致,严格按照oracle安装文档在各个平台安装需要的依赖版本进行安装

 

3.

centos7安装oracle

centos7安装oracle

解决方案:

centos7安装oracle

或者

if [[ ! -f /usr/lib64/libc.a ]]; then yum -y install glibc-static; fi
sed 's/.*\$(LINK_CTXHX) \$(CTXHXOBJ) \$(INSO_LINK)$/-static \/usr\/lib64\/libc.a \$(LINK_CTXHX) \$(CTXHXOBJ) \$(INSO_LINK)/g' -i /opt/oracle/11g/ctx/lib/ins_ctx.mk

ps:安装页面一定不要关掉,修改之后点击“Retry”按钮

4.

centos7安装oracle

解决方案:为host添加映射    本机IP 本机主机名

 

参考网址:1:https://www.cnblogs.com/fanzhidongyzby/p/5769424.html

参考网址2:https://blog.csdn.net/luckysym/article/details/8058663

 

other:

https://community.oracle.com/docs/DOC-917963

http://mirrors.kernel.org/oracle/OL7/u6/x86_64/OracleLinux-R7-U6-Server-x86_64-dvd.isoOracleLinux-R7-U6-Server-x86_64-dvd.iso

该版本oracle数据库可以兼容centos7.6,自带oracle兼容内核,问题少