mint安装oracle
2015-10-19 12:20
316 查看
首先,mint,没有装Oracle的Server
下载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):
然后,设置 ldconfig
Then run ldconfig:
这时,执行sqlplus就不报缺少*.o的错误了。
插入
执行
登陆
$ uname -a Linux 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*.rpm alien -i oracle-instantclient-sqlplus*.rpm alien -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 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
相关文章推荐
- Linux socket 初步
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- Oracle Containers for J2EE远程安全漏洞(CVE-2014-0413)
- Oracle 10g R2不能使用EM的问题