■ 다운로드
http://www.oracle.com/technetwork/database/features/instant-client/
instantclient-basiclite-nt-12.1.0.1.0.zip
instantclient-odbc-nt-12.1.0.1.0.zip
instantclient-sqlplus-nt-12.1.0.1.0.zip
C:\Program Files (x86)\instantclient_12_1 디렉토리에 차례대로 푼다.
■ 환경변수 추가
TNS_ADMIN
C:\Program Files (x86)\instantclient_12_1
LD_LIBRARY_PATH
C:\Program Files (x86)\instantclient_12_1
PATH 추가
;C:\Program Files (x86)\instantclient_12_1
■ C:\Program Files (x86)\instantclient_12_1\tnsnames.ora 추가
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.100)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SIDTEST)
)
)
■ 접속 시험
sqlplus test_user/password@TEST
SQL*Plus: Release 12.1.0.1.0 Production on Fri Jan 31 09:14:40 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production