设为首页 加入收藏

TOP

Linux配置unixODBC访问Oracle说明(二)
2014-11-24 08:06:47 来源: 作者: 【 】 浏览:11
Tags:Linux 配置 unixODBC 访问 Oracle 说明
install_check_root install_versioned tee
all.tar.md5sum install_check_tools licclient testlib
all.tar.sum install_init licenses_template unixodbc.tar
check_root.txt install_intro license.txt unixodbc.tar.md5sum
cmpver install_license licshell unixodbc.tar.sum
drv_template install_linkpaths names unixODBC_version.txt
ident install.ORACLE ORACLE_intro.txt uodbc
install install_other_products ORACLE_uodbcinstall.txt versioned
install_check_linux install_paths OSname.txt
install_check_products INSTALL.txt postinstall

--使用root用户安装,因为安装过程中需要root权限:
[root@rac1odbc-oracle-3.3.0-linux-x86-64-ul64]# ./install
--安装过程中要看很多问题,不想看的直接按回车跳过。
….

Option: 1
No valid licenses found on this machine
in /usr/local/easysoft//license/licenses

[0] Exit
[1] View existing licenses
[2] Oracle ODBC Driver V3.3

Please choose the product you would like alicense for by entering its item number or enter one of the other options.
--这里有3个选项,2是需要购买的,我们选择0退出:
Option: 0

Access to the ODBC Driver is performedutilising the unixODBC Driver Manager.

The Driver Manager is made aware of thelocation of the Easysoft ODBC-Oracle Driver via data sources.

The following section will create an Oracledata source based on the information entered at the following prompt.
--会提示我们创建一个基本的data source:
The created data source will be called'ORACLE'.

Do you wish to create a data source at thistime (y/n) [y]:

It seems that you do not have ORACLE_HOMEdefined at this time
Is this because you intend to use an Oracle10g Instant Client (y/n) [y]:

Enter the name or IP address of the Oracleserver (i.e. server): 192.168.3.116
Enter the port the Oracle server islistening on (default 1521):
Enter the Oracle Service Name (i.e. test):DAVE
Enter an Oracle user name (i.e. system):system
Enter the Oracle password for system (i.e.manager): oracle
Writing new/usr/local/easysoft/oracle/dsn_template for Instant Client

Installing entry in odbcinst.ini file

Drivers already installed for unixODBC are:
[PostgreSQL]
[MySQL]
[ORACLE]

*****
WARNING:
It appears the Easysoft ODBC-Oracle Driverdriver is already registered
with unixODBC.
If you are reinstalling the ORACLE to adifferent install path you
may have to edit your odbcinst.ini file tocorrect it as the
following odbcinst commands to install thedriver will simply increase
the usage count and not affect the paths.
*****
Press the return key to continue

Running odbcinst command:
/usr/local/easysoft/unixODBC/bin/odbcinst-i -d -f drv_template
==========
odbcinst: Driver installed. Usage countincreased to 2.
Target directory is /etc
==========
You can now install a [ORACLE] data sourcefor unixODBC and
Easysoft ODBC-Oracle Driver.
However, unixODBC currently requires anodbc.ini file to exist before a
datasource can be added. This install willcreate /etc/odbc.ini if you
request the datasource to be created.

Install unixODBC/Easysoft ODBC-OracleDriver data source (y/n) [y]:
Running odbcinst command:
/usr/local/easysoft/unixODBC/bin/odbcinst-s -i -f /usr/local/easysoft/oracle/dsn_template
=======
首页 上一页 1 2 3 4 下一页 尾页 2/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle通过游标方式删除所有以NO.. 下一篇一套Oracle SQL练习题及答案

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·C 内存管理 | 菜鸟教 (2025-12-26 20:20:37)
·如何在 C 语言函数中 (2025-12-26 20:20:34)
·国际音标 [ç] (2025-12-26 20:20:31)
·微服务 Spring Boot (2025-12-26 18:20:10)
·如何调整 Redis 内存 (2025-12-26 18:20:07)