사용자 도구

사이트 도구


dbms:oracle:admin:instantclient

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
dbms:oracle:admin:instantclient [2017/05/29 14:46]
starlits
dbms:oracle:admin:instantclient [2018/08/25 18:42] (현재)
starlits [압축해제]
줄 18: 줄 18:
  
 ===== 압축해제 ===== ===== 압축해제 =====
-  - unzip 파일이름  +  - unzip 파일이름 <code> 
-  - 설치할 경로 생성한다. <code> +unzip instantclient-basic-linux.x64-11.2.0.4.0.zip  
-#  mkdir /usr/local/oracle+unzip instantclient-jdbc-linux.x64-11.2.0.4.0.zip  
 +unzip instantclient-odbc-linux.x64-11.2.0.4.0.zip  
 +unzip instantclient-sdk-linux.x64-11.2.0.4.0.zip  
 +unzip instantclient-sqlplus-linux.x64-11.2.0.4.0.zip  
 +unzip instantclient-tools-linux.x64-11.2.0.4.0.zip 
 </code> </code>
   - 압축해제한 디렉토리를 이동한다. <code>   - 압축해제한 디렉토리를 이동한다. <code>
-# mv instantclient_11_2/ /usr/local/oracle/+# mv instantclient_11_2/ /usr/local/
 </code> </code>
  
줄 34: 줄 38:
  
  
-export DYLD_LIBRARY_PATH="/usr/local/oracle/instantclient_11_2" +export DYLD_LIBRARY_PATH="/usr/local/instantclient_11_2" 
-export TNS_ADMIN="/usr/local/oracle/instantclient_11_2" +export TNS_ADMIN="/usr/local/instantclient_11_2" 
-export ORACLE_HOME="/usr/local/oracle/instantclient_11_2" +export ORACLE_HOME="/usr/local/instantclient_11_2" 
-export OCI_LIB="/usr/local/oracle/instantclient_11_2" +export OCI_LIB="/usr/local/instantclient_11_2" 
-export OCI_INCLUDE_DIR="/usr/local/oracle/instantclient_11_2/sdk/include"+export OCI_INCLUDE_DIR="/usr/local/instantclient_11_2/sdk/include"
 # export NLS_LANG=KOREAN_KOREA.KO16MSWIN949 # export NLS_LANG=KOREAN_KOREA.KO16MSWIN949
 # export NLS_LANG=KOREAN_KOREA.KO16KSC5601 # export NLS_LANG=KOREAN_KOREA.KO16KSC5601
줄 48: 줄 52:
 ===== ldconfig 설정 ===== ===== ldconfig 설정 =====
   - ld.so.config 설정파일에 oracle.conf 를 만든다. <code>   - ld.so.config 설정파일에 oracle.conf 를 만든다. <code>
-# echo "/usr/local/oracle/instantclient_11_2/" > /etc/ld.so.conf.d/oracle.conf+# echo "/usr/local/instantclient_11_2/" > /etc/ld.so.conf.d/oracle.conf
 </code> </code>
   - ldconfig 명령으로 적용한다. <code>   - ldconfig 명령으로 적용한다. <code>
dbms/oracle/admin/instantclient.1496036808.txt.gz · 마지막으로 수정됨: 2017/05/29 14:46 저자 starlits