mint安装oracle
来源:互联网 发布:java play 编辑:程序博客网 时间:2024/06/04 17:57
首先,mint,没有装Oracle的Server
$ uname -aLinux somedargon-K45VD 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
下载Oracle Clinet rpm包
https://help.ubuntu.com/community/Oracle%20Instant%20Client
Convert these .rpm files into .deb packages and install using “alien” (“sudo apt-get install alien” if you don’t have it):
alien -i oracle-instantclient-basic*.rpmalien -i oracle-instantclient-sqlplus*.rpmalien -i oracle-instantclient-devel*.rpm
然后,设置 ldconfig
sudo vi /etc/ld.so.conf.d/oracle.conf
and add the oracle library path as the first line. For example,
/usr/lib/oracle/12.1/client64/lib/
Then run ldconfig: sudo ldconfig
这时,执行sqlplus就不报缺少*.o的错误了。
sudo vim /etc/profile
插入
export ORACLE_HOME=/usr/lib/oracle/12.1/client64 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
执行
source /etc/profile
登陆
sqlplus sys/password@ip/orcl as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Mon Oct 19 12:19:07 2015Copyright (c) 1982, 2014, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options
0 0
- mint安装oracle
- mint下安装oracle instance client
- Mint安装
- mint安装cx_Oracle拓展
- linux mint codeblock安装
- linux mint 输入法安装
- mint 安装 rabbitvcs
- mint linux安装
- Mint安装Caffe
- Linux mint 软件安装
- Linux Mint 安装JDK
- linux mint安装
- Linux Mint安装输入法
- Linux mint安装Qt5
- linux Mint mysql 安装
- linux mint安装中文字体
- linux mint 安装qtcreator
- linux mint 中安装软件
- 豆浆机改装记(0): 为什么要改装豆浆机!
- C语言中函数参数入栈的顺序
- <学习笔记>Could not load the Tomcat server configuration
- jQuery过滤选择器
- 数塔(dp)
- mint安装oracle
- Block - 2
- SAE php读取MySQL
- <学习笔记>查看Tomcat的版本
- 2016各大公司智力题和找规律题
- HTTP协议详解
- springmvc常用注解之@Controller和@RequestMapping
- <学习笔记>jar包置放在WEB-INF/lib下和通过build path导入的区别是什么
- 读《梁启超论人生》