????linux??
????1?? ?????????????
??????????11gr2??
oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm
????2?? copy??linux????а??
????rpm -ivh XXX.rpm
????3?? ???????????
??????vi .bashrc?????
export ORACLE_HOME=/usr/lib/oracle/11.2/client
export TNS_ADMIN=$ORACLE_HOME/network/admin
export NLS_LANG='simplified chinese_china'.ZHS16GBK
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
?????????????$ORACLE_HOME/network/admin
??????????????′????????tnsnames.ora
????????????
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.9.76)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
????4?? ???????source .bashrc??Ч????????????????sqlplus
????5?? ???????sqlplus: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
????????????????