免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1262 | 回复: 0
打印 上一主题 下一主题

Oracle 10gR2 client on SuSE10 X86 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-02 13:17 |只看该作者 |倒序浏览

This installation has been done smoothly on SUSE 10 beta 2 (SUSE 10 is not out yet).
I don't know if I'm going to upgrade this document when other beta version will be out since everything works pretty well almost out of the box with one of the first betas.
This installation has been quite simple and since it is client only I didn't use orarun as for the server installation.
For an introduction on Oracle on SUSE Professional you can look here (thank you Friedmund).
Make sure you have the needed packages:

  • gcc (on SUSE 10 version 4 is used),
  • glibc-devel,
  • make,
  • openmotif,
  • the base X libraries.

Create two group with groupadd command:
groupadd oinstall
groupadd dba
then create the user oracle:
useradd -m -G oinstall -g dba oracle
and give it a password:
passwd oracle
Now create your installation directory:
mkdir -p /u01/app/oracle/product/10.2/client_1
chown -R oracle:oinstall /u01/app/oracle
Connect as oracle and change your environment setting by editing .bashrc.
I ismply added:
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2/client_1; export ORACLE_HOME
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15; export NLS_LANG
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$PATH;export PATH
to my .bashrc.
I prefer .bashrc instead of .profile or .bash_profile since bashrc is read from non-login shell (such x-term opened from a windows manager).
Bahrc is even included in .bash_profile so it is used even for login shell (such a ssh shell).
For LD_ASSUME_KERNEL and LD_PRELOAD: for 10g they are not needed and can even been harmful (using the libthread... especially with RAC is not one of my preferred choice for a production system).
Recconect to the oracle user so you'll have your new env in place.
Make sure you can open X application (connect with ssh -Y or export the DISPALY variable, or whatever your are used to).
Place yourself in the directory where your instaler is (maybe the cdrom or the directory where you decompressed the tarball download from OTN).
Run the installer as oracle:
./runInstaller -ignoresysprereqs
and follow the instraction. Otherwise you'll get this error:
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Failed > oemapp console



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/35432/showart_1810120.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP