成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

安裝oracle即時客戶端-創(chuàng)新互聯(lián)

一、需求

在建陽等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供網(wǎng)站建設(shè)、成都網(wǎng)站制作 網(wǎng)站設(shè)計制作按需求定制開發(fā),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站建設(shè),成都全網(wǎng)營銷,外貿(mào)網(wǎng)站建設(shè),建陽網(wǎng)站建設(shè)費用合理。

  數(shù)據(jù)庫和應(yīng)用沒在同一臺主機上,所以需要安裝oracle即時客戶端,也可以是oracle的客戶端。只不過客戶端比較龐大。

二、安裝oracle即時客戶端

下載Oracle即時客戶端程序包

http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

數(shù)據(jù)庫版本是11.2.0.3.0

Instant Client Package - Basic:

All files required to run OCI, OCCI, and JDBC-OCI applications

Image instantclient-basic-linux.x64-11.2.0.3.0.zip (60,331,694 bytes) (cksum - 3890813254)

oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm (59,492,344 bytes) (cksum - 3293107452)

*Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client

instantclient-sqlplus-linux.x64-11.2.0.3.0.zip (837,574 bytes) (cksum - 3996754029)

oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm (831,586 bytes) (cksum - 2150224972)

*Instant Client Package - SDK:

Additional header files and an example makefile for developing Oracle applications with Instant Client

instantclient-sdk-linux.x64-11.2.0.3.0.zip (641,586 bytes) (cksum - 1205517808)

oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm (609,139 bytes) (cksum - 2701969031)

zip 或者 rpm 包選擇一種,系統(tǒng)是centos,天生兼容RHEL,所以選擇rpm格式的。

以64位為例,下載以下幾個文件:

oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm

oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm

oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm

下載完以后裝上。 rpm -Uhv

[root@mpaydb tmp]# rm -f oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm

ll -h

total 71M

-rw-r--r--  1 root root  57M Jun  9 09:39 oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64(1).rpm

-rw-r--r--  1 root root 595K Jun  8 18:01 oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm

-rw-r--r--  1 root root 813K Jun  8 18:01 oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm

drwxrwxr-x 13 1000 1000 4.0K Jun  8 17:11 tmp-2.0.6

-rw-r--r--  1 root root  13M Apr 22 20:34 tmp-2.0.6.tar.gz

[root@mpaydb tmp]#

[root@mpaydb tmp]# rpm -Uhv oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64\(1\).rpm

99%)########################################### [100%]

[root@mpaydb tmp]#

[root@mpaydb tmp]# rpm -Uhv oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm

Preparing...                               (100%)#                      (100%)##                  99%)########################################### [100%]

[root@mpaydb tmp]#

[root@mpaydb tmp]# rpm -Uhv oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm sqlplus-11.2.0.3.0-1.x86_64.rpm

Preparing...                               (100%)#                      (100%)##

(100%)########################################### [100%]

[root@mpaydb tmp]#

[root@mpaydb tmp]# rpm -qa|grep oracle

oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64

oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64

oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64

[root@mpaydb client64]# pwd

/usr/lib/oracle/11.2/client64

[root@mpaydb client64]# cd bin/

[root@mpaydb bin]#

[root@mpaydb bin]# ./sqlplus

./sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

[root@mpaydb bin]#

添加 Oracle libraries

[root@mpaydb tmp-2.0.6]# more /etc/ld.so.conf.d/oracle.conf

/usr/lib/oracle/11.2/client64/lib

[root@mpaydb tmp-2.0.6]#

[root@mpaydb bin]# ldconfig

[root@mpaydb bin]# ./sqlplus

SQL*Plus: Release 11.2.0.3.0 Production on Sun Jun 9 10:24:26 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Enter user-name:

ERROR:

ORA-12162: TNS:net service name is incorrectly specified

Enter user-name: ^C

[root@mpaydb bin]#

測試一下:

[root@mpaydb oracle]# sqlplus tmp/111111@10.101.5.77/MOMORAC.momo.org

SQL*Plus: Release 11.2.0.3.0 Production on Sun Jun 9 12:21:29 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,

OLAP, Data Mining, Oracle Database Vault and Real Application Testing options

SQL>

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

名稱欄目:安裝oracle即時客戶端-創(chuàng)新互聯(lián)
文章路徑:http://jinyejixie.com/article46/dhddeg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站內(nèi)鏈、App設(shè)計響應(yīng)式網(wǎng)站、網(wǎng)站策劃、網(wǎng)站設(shè)計公司、網(wǎng)站收錄

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站優(yōu)化排名