Howto install Oracle Instant Client 10.2.0.5 on Blackbuntu

简介: If you are running Inguma on Blackbuntu you will see something like thisc1ph3r@blackbuntu-dev:/pentest/exploits/inguma$ .

If you are running Inguma on Blackbuntu you will see something like this

c1ph3r@blackbuntu-dev:/pentest/exploits/inguma$ ./inguma. py
Inguma Version 0.0.9.1
Copyright (c ) 2006- 2008 Joxean Koret <joxeankoret@yahoo. es >
 
libclntsh. so.10.1: cannot open shared object file: No such file or directory
inguma >

Because you don't have oracle instant client, but blackbuntu have been set default environment for oracle instant client and install cx_Oracle already.
c1ph3r@blackbuntu-dev:~$ cat /etc/ profile | grep ORACLE
export ORACLE_HOME=/opt/oracle/instantclient_10_2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME

You just have install oracle instant client,and this how i did it.

1.Start out by becoming root. If you don't like to be root, that's fine, just prepend all commands with sudo.

c1ph3r@blackbuntu-dev:~$ sudo su -

2.Create a directory to install Oracle Instant Client into.
root@blackbuntu-dev:~ # mkdir /opt/oracle

3.Download basic-10.2.0.5.0-linux.zip and sdk-10.2.0.5.0-linux.zip from http://www.oracle.com/technetwork/topics/linuxsoft-082809.html and extract the files to the directory you created earlier.
root@blackbuntu-dev:~ # unzip -d /opt/oracle basic-10.2.0.5.0-linux.zip
root@blackbuntu-dev:~ # unzip -d /opt/oracle sdk-10.2.0.5.0-linux.zip

4.Make a couple of symbolic links in the instantclient directory that you unzipped the instant client into.
root@blackbuntu-dev:~ # source /etc/profile
root@blackbuntu-dev:~ # cd $ORACLE_HOME
root@blackbuntu-dev:~ # ln -s libclntsh.so.10.1 libclntsh.so
root@blackbuntu-dev:~ # ln -s libocci.so.10.1 libocci.so
root@blackbuntu-dev:~ # ldconfig

5.Opening th interactive python shell to test python and cx_Oracle
root@blackbuntu-dev:/opt/oracle/instantclient_10_2 # python
Python 2.6.6 (r266: 84292, Sep 15 2010, 15: 52: 39 )
[GCC 4.4.5 ] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cx_Oracle
>>>

6. and Inguma
root@blackbuntu-dev:/pentest/exploits/inguma # ./inguma.py
Inguma Version 0.0.9.1
Copyright (c ) 2006- 2008 Joxean Koret <joxeankoret@yahoo. es >
inguma >

 

目录
相关文章
|
5月前
|
Oracle 关系型数据库 Linux
Requirements for Installing Oracle Database/Client 19c on OL8 or RHEL8 64-bit (x86-64) (Doc ID 2668780.1)
Requirements for Installing Oracle Database/Client 19c on OL8 or RHEL8 64-bit (x86-64) (Doc ID 2668780.1)
49 0
|
6月前
|
Oracle 关系型数据库 Unix
Install ORACLE10g On AIX5L 5.2(转自LU)
Install ORACLE10g On AIX5L 5.2(转自LU)
44 1
|
6月前
|
运维 Oracle 关系型数据库
LIS实验室信息管理系统功能模块(Oracle数据库、Client/Server架构)
LIS实验室信息管理系统功能模块(Oracle数据库、Client/Server架构)
118 0
|
SQL Oracle 关系型数据库
使用Plsql+oracle client 连接 Oracle数据库
最近刚入职一家做Java开发的公司,公司数据库使用的是Oracle。以前做开发都是用MySQL的,公司里面的同事都在用的数据库工具plsql,口碑不错,也跟着他们来用。刚开始下载安装plsql,连接数据库的时候花费了不少时间呀,踩了很多坑。现在我把我的经验分享给没经验的小伙伴们。
327 0
|
Oracle 网络协议 关系型数据库
linux安装oracle client客户端远程连接数据库
  linux安装oracle client客户端远程连接数据库。   1.到oracle官网下载basic,sqlplus,devel三个软件包   oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.tar   oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.tar   oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.tar   2.到root用户下创建一个oracle文件夹
493 0
|
SQL Oracle 关系型数据库
Oracle 等待事件研究:SQL*Net break/reset to client
SQL*Net break/reset to client事件是一个容易被误解的事件,这个事件看起来和网络有关,但实际上大多数情况下这个事件与网络无关。
578 0
Oracle 等待事件研究:SQL*Net break/reset to client
|
Oracle 关系型数据库 数据库
|
Oracle 关系型数据库 物联网
《物联网框架ServerSuperIO教程》-19.设备驱动和OPC Client支持mysql、oracle、sqlite、sqlserver的持久化。v3.6.4版本发布
19.设备驱动和OPC Client支持mysql、oracle、sqlite、sqlserver的持久化 19.1     概述      ServerSuperIO支持设备驱动和OPC Client采集的数据信息按标签集合写入mysql、oracle、sqlserver和sqlite数据库。
1125 0