当前位置:Gxlcms > mysql > Oracle10g在RHEL6上的另类安装方法

Oracle10g在RHEL6上的另类安装方法

时间:2021-07-01 10:21:17 帮助过:4人阅读

Oracle 10g官方文档上写对于红帽linux只能装在rhel4以下的操作系统版本上,当然装在rhel5上也没有什么问题,但需要oracle公司的特

Oracle 10g官方文档上写对于红帽linux只能装在rhel4以下的操作系统版本上,,当然装在rhel5上也没有什么问题,但需要oracle公司的特别授权,否则将来无法联系oracle公司进行support。在rhel6上装oracle,如果采用传统的./runInstall.sh方式,则会遇到错误,需要用点特殊的手段,才能搞定!而且需要使用tar打包在rhel5上装好的oracle软件(关闭oracle后打包),软件体系架构要相符合;同样可以使用这种方式在PXE装机的时候,直接把oracle软件和数据库一起装上,但需要精心编写PXE post%节脚本!

1:创建oracle用户和oinstall,dba组

  • [root@rhel6 ~]# groupadd oinstall
  • [root@rhel6 ~]# groupadd dba
  • [root@rhel6 ~]# useradd -g oinstall -G dba oracle
  • [root@rhel6 ~]# echo 'oracle' |passwd --stdin oracle
  • Changing password for user oracle.
  • passwd: all authentication tokens updated successfully.
  • 2:修改相应的环境变量

  • linux

  • 人气教程排行