文件名称:oracle客户端windows包
文件大小:169.58MB
文件格式:ZIP
更新时间:2022-04-24 07:16:07
oracle client
------------------------------------------------------------------------- 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) ) )