六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 114|回复: 0

Linux_x86_64 配置oracle sqlplus

[复制链接]

升级  21%

75

主题

75

主题

75

主题

举人

Rank: 3Rank: 3

积分
263
 楼主| 发表于 2013-1-28 23:47:52 | 显示全部楼层 |阅读模式
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ape.htm
 
Configuring SQL*Plus Instant Client on Linux (from Client Media or Zip File) and UNIX


  • Add the name of the directory containing the Instant Client files to the appropriate shared library path LD_LIBRARY_PATH, LIBPATH or SHLIB_PATH. Remove any other Oracle directories.
    For example on Solaris in the Bourne or Korn shells:
    LD_LIBRARY_PATH=/home/instantclient10_1:${LD_LIBRARY_PATH}export LD_LIBRARY_PATH
  • Add the directory containing the Instant Client files to the PATH environment variable. If it is not set, then an absolute or relative path must be used to start SQL*Plus. Remove any other Oracle directories from PATH. For example:
    PATH=/home/instantclient10_1:${PATH}export PATH
  • Set SQLPATH to the directory containing the Instant Client files so glogin.sql can be found. For example:
    SQLPATH=/home/instantclient10_1:${SQLPATH}export SQLPATH
  • Set Oracle globalization variables required for your locale. A default locale will be assumed if no variables are set. See the Oracle Database Globalization Support Guide for more information.
    For example:
    NLS_LANG=AMERICAN_AMERICA.UTF8export NLS_LANG

 
 
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表