Oracle Instant Client Install in windows)

來源:互聯網
上載者:User
安裝步驟:

 

1. 為您的平台下載相應的即時用戶端程式包。所有的安裝都要求 Basic 或 Basic Lite 程式包。
2. 將程式包解壓縮到單個目錄,如“instantclient”。
3. 在您環境中設定資料庫載入路徑,使其指向步驟 2 中確定的目錄 ("instantclient")。在許多 UNIX 平台上,LD_LIBRARY_PATH 為相應的環境變數。在 Windows 上,應當使用 PATH。
4. 啟動您的應用程式並開始使用。

Windows下面怎樣配置 Oracle10g即時用戶端

1 Download the instant cilent binary.

http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html

2、程式包說明

即時用戶端程式包 說明 附註

Basic 運行 OCI、OCCI 和 JDBC-OCI 應用程式所需的所有檔案 OCI

對應可以下載的軟體包為
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
instantclient-basic-win32-10.2.0.1-20050930.zip (34,390,521 bytes)
*Instant Client Package - Basic Lite: Smaller version of the Basic, with only English error messages and Unicode, ASCII, and Western European character set support (10.2 only)(和上面那個檔案相比這個在文字方面的支援只限於西歐文字,對於中文就不支援了,所以如果資料庫的字元集為中文的話最好用第一個)
instantclient-basiclite-win32-10.2.0.1-20050930.zip (10,373,186 bytes)
*Instant Client Package - JDBC Supplement: Additional support for XA, Internationalization, and RowSet operations under JDBC
instantclient-jdbc-win32-10.2.0.1-20050930.zip (1,469,840 bytes)
*Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client instantclient-sqlplus-win32-10.2.0.1-20050930.zip (720,691 bytes)
*Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client instantclient-sdk-win32-10.2.0.1-20050930.zip (823,201 bytes)

*Instant Client Package - ODBC: Additional libraries for enabling ODBC applications instantclient-odbc-win32-10.2.0.1-20050930.zip (718,159 bytes)

下載兩個常用的Package

安裝步驟:

1. 為您的平台下載相應的即時用戶端程式包。所有的安裝都要求 Basic 或 Basic Lite 程式包。
2. 將程式包解壓縮到單個目錄,如“c:/instantclient”。
3. 配置環境變數
將 c:/instantclient 添加到 PATH 中(位於其他 Oracle 目錄之前)。
例如,在 Windows 2000 上,依次單擊“開始”->“設定”->“控制台”->“系統”->“進階”->“環境變數”,編輯系統變數列表中的 PATH。

如果使用了 tnsnames.ora 檔案定義的 Oracle Net 服務名稱,則將 tnsnames.ora 複製到 c:/instantclient,並添加使用者環境變數 TNS_ADMIN 設定為你的解壓目錄如 c:/instantclient。(也可以在使用者環境變數 LOCAL 中定義預設的服務名稱。 )

設定必要的 Oracle 全球化語言環境變數, NLS_LANG 中文對應的字元集是
SIMPLIFIED CHINESE_CHINA.ZHS16GBK 。

一共設定以下三個環境變數(以解壓縮目錄c:/instantclient為例)

環境變數名                              變數值
path                                c:/instantclient
TNS_ADMIN                            c:/instantclient
NLS_LANG                             SIMPLIFIED CHINESE_CHINA.ZHS16GBK

5. 啟動您的應用程式並開始使用。
例如啟動sqlplus為
c:/instantclient/sqlplus system/manager@localdb

6、Oracle ODBC 的安裝
c:/instantclient/odbc_install 或者 c:/instantclient/odbc_install ZHS
至此用戶端就配置完了

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.