zoukankan      html  css  js  c++  java
  • Oracle 安装廋客户端

    <pre name="code" class="sql">v-lhb-mgr01:/root# rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm 
    Preparing...                ########################################### [100%]
       1:oracle-instantclient11.########################################### [100%]
    
    v-lhb-mgr01:/root# rpm -ivh oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm 
    Preparing...                ########################################### [100%]
       1:oracle-instantclient11.########################################### [100%]
    
    mkdir -p/u01/app/oracle/product/11.2.0.4/db_1
    
    v-lhb-mgr01:/root# cp -r /usr/lib/oracle/11.2/client64/* /u01/app/oracle/product/11.2.0.4/db_1
    
    
    instantclient-basic-linux.x64-11.2.0.3.0.zip
    
    
    mkdir -p /u01/app/oracle/product/11.2.0.4/db_1/network/admin
    
    
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/db_1
    
    
    
    
    jrhapt01:/root/DBD-Oracle-1.36# perl Makefile.PL 
    Using DBI 1.616 (for perl 5.010001 on x86_64-linux-thread-multi) installed in /usr/local/lib64/perl5/auto/DBI/
    
    Configuring DBD::Oracle for perl 5.010001 on linux (x86_64-linux-thread-multi)
    
    Remember to actually *READ* the README file! Especially if you have any problems.
    
    Installing on a linux, Ver#2.6
    Using Oracle in /u01/app/oracle/product/11.2.0.4/db_1
    Can't find sqlplus. Pity, it would have helped.
    I'm having trouble finding your Oracle version number... trying harder
    Oracle version 11.2.0.4 (11.2)
    
    	Unable to locate an oracle.mk or other suitable *.mk
    	file in your Oracle installation.  (I looked in
    	/u01/app/oracle/product/11.2.0.4/db_1/rdbms/demo/demo_xe.mk /u01/app/oracle/product/11.2.0.4/db_1/rdbms/lib/oracle.mk /u01/app/oracle/product/11.2.0.4/db_1/rdbms/demo/oracle.mk 
    
    /u01/app/oracle/product/11.2.0.4/db_1/rdbms/demo/demo_rdbms.mk /u01/app/oracle/product/11.2.0.4/db_1/rdbms/demo/demo_rdbms64.mk /u01/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ins_rdbms.mk under 
    
    /u01/app/oracle/product/11.2.0.4/db_1)
    
    解决:
    jrhapt01:/root/DBD-Oracle-1.36# perl Makefile.PL -m /usr/share/oracle/11.2/client64/demo.mk 


    
                                        
    
  • 相关阅读:
    剖析并利用Visual Studio Code在Mac上编译、调试c#程序【转】
    算法题—百灯判熄
    聪明的情侣算法题
    C#中&与&&的区别
    C# 日期格式精确到毫秒 【转】
    C#关于窗体的keysdown事件,无法获取到焦点
    百度,迅雷,华为,阿里巴巴笔试面试
    对 Linux 新手非常有用的 20 个命令
    阿里面试题2015
    Ant工具 ant的安装与配置 ant作用
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13351718.html
Copyright © 2011-2022 走看看