免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5672 | 回复: 14
打印 上一主题 下一主题

我怎么这么倒霉???????没有最妖,只有更妖。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-28 10:50 |只看该作者 |倒序浏览
5可用积分
本帖最后由 majia_520 于 2011-07-28 10:51 编辑

[root@ftpsvr tmp]# rpm -ivh oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
Preparing...                ########################################### [100%]
        package oracle-instantclient11.2-basic-11.2.0.2.0-1.x86_64 is already installed
[root@ftpsvr tmp]# rpm -qi oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
package oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm is not installed
[root@ftpsvr tmp]# locate oracle-instantclient11
[root@ftpsvr tmp]#

最佳答案

查看完整内容

怀疑个毛,还是抽自己嘴巴吧。合格程序员应该能够分辨空格和空白的不同,全角空格和半角空格的不同,0 和 O,1 和 l 的不同,更别提字符串长度都不一样了。

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2011-07-28 10:50 |只看该作者
本帖最后由 flw 于 2011-07-28 12:27 编辑

怀疑个毛,还是抽自己嘴巴吧。
合格程序员应该能够分辨空格和空白的不同,全角空格和半角空格的不同,0 和 O,1 和 l 的不同,更别提字符串长度都不一样了。
package oracle-instantclient11.2-basic-11.2.0.2.0-1.x86_64 is already installed
package oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm is not installed

论坛徽章:
0
3 [报告]
发表于 2011-07-28 10:53 |只看该作者
刚刚说is already installed.
接着说is not installed.

想抽它两个嘴巴

论坛徽章:
145
技术图书徽章
日期:2013-10-01 15:32:13戌狗
日期:2013-10-25 13:31:35金牛座
日期:2013-11-04 16:22:07子鼠
日期:2013-11-18 18:48:57白羊座
日期:2013-11-29 10:09:11狮子座
日期:2013-12-12 09:57:42白羊座
日期:2013-12-24 16:24:46辰龙
日期:2014-01-08 15:26:12技术图书徽章
日期:2014-01-17 13:24:40巳蛇
日期:2014-02-18 14:32:59未羊
日期:2014-02-20 14:12:13白羊座
日期:2014-02-26 12:06:59
4 [报告]
发表于 2011-07-28 11:00 |只看该作者
[root@ftpsvr tmp]# rpm -ivh oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
Preparing...       ...
majia_520 发表于 2011-07-28 10:50


please using  rpm -qa to find it
rpm -qa | grep oracle-instantclient11.2

论坛徽章:
0
5 [报告]
发表于 2011-07-28 11:03 |只看该作者
no.

all these 3 packages should be installed together....:)

[root@ftpsvr tmp]# rpm -ivh oracle-instantclient11.2*.rpm
Preparing...                ########################################### [100%]
        package oracle-instantclient11.2-basic-11.2.0.2.0-1.x86_64 is already installed
        package oracle-instantclient11.2-devel-11.2.0.2.0-1.x86_64 is already installed
        package oracle-instantclient11.2-sqlplus-11.2.0.2.0-1.x86_64 is already installed
[root@ftpsvr tmp]# rpm -qi oracle-instantclient11.2-basic-11.2.0.2.0-1.x86_64
Name        : oracle-instantclient11.2-basic  Relocations: (not relocatable)
Version     : 11.2.0.2.0                        Vendor: Oracle Corporation
Release     : 1                             Build Date: Sun 05 Sep 2010 12:48:40 PM CST
Install Date: Wed 27 Jul 2011 08:32:19 AM CST      Build Host: dadvfg0706.us.oracle.com
Group       : Applications/File             Source RPM: oracle-instantclient11.2-basic-11.2.0.2.0-1.src.rpm
Size        : 182583865                        License: Oracle
Signature   : (none)
Packager    : Nobody <nobody@oracle.com>
URL         : http://www.oracle.com/
Summary     : Instant Client for Oracle Database 11g
Description :
Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME.  OCI, OCCI, ODBC, and JDBC applications work without modification, while using significantly less disk space than before.  No recompile, no hassle.

This is the Basic package, supporting OCI, OCCI, and JDBC-OCI with all
languages.
[root@ftpsvr tmp]#

论坛徽章:
0
6 [报告]
发表于 2011-07-28 11:06 |只看该作者
[root@ftpsvr tmp]# rpm -qi oracle-instantclient11.2-sqlplus-11.2.0.2.0-1
Name        : oracle-instantclient11.2-sqlplus  Relocations: (not relocatable)
Version     : 11.2.0.2.0                        Vendor: Oracle Corporation
Release     : 1                             Build Date: Sun 05 Sep 2010 12:49:58 PM CST
Install Date: Thu 28 Jul 2011 09:56:39 AM CST      Build Host: dadvfg0706.us.oracle.com
Group       : Applications/File             Source RPM: oracle-instantclient11.2-sqlplus-11.2.0.2.0-1.src.rpm
Size        : 2980443                          License: Oracle
Signature   : (none)
Packager    : Nobody <nobody@oracle.com>
URL         : http://www.oracle.com/
Summary     : SQL*Plus for Instant Client.
Description :
Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME.  OCI, OCCI, ODBC, and JDBC applications work without modification, while using significantly less disk space than before.  No recompile, no hassle.

This package provides SQL*Plus for Instant Client.
[root@ftpsvr tmp]#

论坛徽章:
0
7 [报告]
发表于 2011-07-28 11:06 |只看该作者
那么这个sql*plus装好了,怎么用呢?

论坛徽章:
0
8 [报告]
发表于 2011-07-28 11:29 |只看该作者
怀疑是本地记录的安装的rpm包统计信息chaos了

论坛徽章:
0
9 [报告]
发表于 2011-07-28 12:30 |只看该作者
回复 2# flw


   

RedHat上用cpan或cpanp或cpanm装成功过DBD::Oracle吗?

论坛徽章:
0
10 [报告]
发表于 2011-07-28 12:43 |只看该作者
Instant client 装好了。可以用sqlplus连上数据库,取出数据来了。

接下来,还是安装DBD::Oracle模块。

cpanp和cpanm还是出错
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP