Howto install Oracle Instant Client 10.2.0.5 on Blackbuntu
来源:互联网 发布:倒立杨辉三角c语言程序 编辑:程序博客网 时间:2024/05/28 05:16
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 objectfile: No such fileor directory
inguma>
Inguma Version 0.0.9.1
Copyright (c)2006-2008 Joxean Koret <joxeankoret@yahoo.es>
libclntsh.so.10.1: cannot open shared objectfile: No such fileor 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
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
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
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 152010, 15:52:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits"or"license"for more information.
>>>import cx_Oracle
>>>
Python 2.6.6 (r266:84292, Sep 152010, 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>
Inguma Version 0.0.9.1
Copyright (c)2006-2008 Joxean Koret <joxeankoret@yahoo.es>
inguma>
- Howto install Oracle Instant Client 10.2.0.5 on Blackbuntu
- Oracle Instant Client Install in windows(转)
- Oracle Instant Client Install in windows
- Install oracle client on Solaris
- Oracle Instant Client 配置
- Oracle Instant Client安装
- oracle instant client安装
- ORACLE Instant Client 安装
- Oracle Instant Client配置
- 使用Oracle Instant Client
- Oracle Instant Client
- Howto install matlab on Ubuntu
- Oracle Instant Client与Oracle full client
- Oracle Instant Client 配置方法
- Oracle Instant Client的安装
- Oracle 10g Instant Client
- Oracle Instant Client 使用 说明
- Oracle Instant Client安装使用
- web.xml中的url-pattern
- 改良程序需要的11个技巧
- C生成exe文件,在命令行执行,无显示结果的问题
- windows远程关机
- 系统日志文件的烦恼
- Howto install Oracle Instant Client 10.2.0.5 on Blackbuntu
- IPV4 上搭建 IPV6
- Redis diskstore
- 开源网站
- 操作系统学习笔记(16) 存储管理-程序装入内存技术
- tomcat内存设置问题
- 学习心得
- jsp报表页面生成报表详解
- [学习备忘录]编译gdb及gdbserver