-
windows版oracle客户端
资源介绍
-------------------------------------------------------------------------
Oracle完整客户端安装文档
-------------------------------------------------------------------------
1、在某数据库服务器压缩oracle软件,假设$ORACLE_BASE=/opt/oracle/app/oracle/
# tar czvf /opt/oracle/app/Oracle_client.tar.gz /opt/oracle/app/oracle
# chmod 777 /tmp/Oracle_client.tar.gz
2、在需要安装oracle客户端上的主机上操作
1)从Oracle服务器上拷贝oracle打包软件
$ scp oracle@dbServerIP:/opt/oracle/app/Oracle_client.tar.gz /opt/oracle
$ cd /opt/oracle;tar xzvf Oracle_client.tar.gz
2)配置环境变量
vi /home/oracle/.profile
export ORACLE_BASE=/opt/oracle/oracle
export ORACLE_HOME=/opt/oracle/oracle/product/11.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:${LD_LIBRARY_PATH}
export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH:/usr/local/bin
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
source ~/.profile
3)配置tnsnames.ora
--$ORACLE_HOME/network/admin/tnsnames.ora
testRAC =
(DESCRIPTION =
(FAILOVER = ON)
(LOAD_BALANCE = yes)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.72.10)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.72.11)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = racdb)
)
)
- 上一篇: autoflash.exe
- 下一篇: 联想金钥匙量产工具