Howto install Oracle Instant Client 10.2.0.5 on Blackbuntu

本文介绍了解决在Blackbuntu上运行Inguma时遇到的Oracle客户端问题的过程。通过安装Oracle Instant Client并配置环境变量,最终成功运行Inguma。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 >

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值