centos7下安装oracle11g

安装步骤:

http://blog.csdn.net/whatlookingfor/article/details/52382458#环境准备

问题解决:

ORACLE 安装提示缺少依赖包:
http://blog.csdn.net/zxp2624161989/article/details/53505114
http://blog.csdn.net/xinglu/article/details/44634981

oracle11g安装过程提示swap size 检查失败问题:
http://dbaway.blog.51cto.com/7099215/1685300/
http://blog.csdn.net/liuyongyu111/article/details/53472346

安装过程中,在进度68%时会出现两个错误
http://blog.csdn.net/jxt_hbtm/article/details/38146371

Oracle启动报错:ORA-00845: MEMORY_TARGET not supported on this system
http://www.linuxidc.com/Linux/2014-02/96167.htm

安装rlwrap
在linux上使用sqlplus命令的时候,上下键、空格键、删除键都不能使用,非常麻烦。安装了rlwrap之后,这一问题得到解决

在安装rlwrap之前需要安装readline(centos7 默认已安装)
yum install readline

接着安装rlwrap:官网-http://utopia.knoware.nl/~hlub/rlwrap/
官网打不开:http://www.rpmfind.net/linux/rpm2html/search.php?query=rlwrap
可以使用rlwrap的rpm包安装:rpm -ivh rlwrap-0.42-1.el7.x86_64.rpm
安装时提示:perl(Data::Dumper) is needed by rlwrap-0.42-1.el7.x86_64
安装perl-Data-Dumper (yum install perl-Data-Dumper.x86_64)后再安装即可
最后切到oracle用户,编辑bash_profile文件,加两行,source .bash_profile重新运行脚本即可

alias sqlplus="rlwrap sqlplus"
alias rman="rlwrap rman"

猜你喜欢

转载自blog.csdn.net/ts1130/article/details/78462305