Centos7-安装oracle客户端11.2.0.4
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Centos7-安装oracle客户端11.2.0.4,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1595字,纯文字阅读大概需要3分钟。
内容图文
![Centos7-安装oracle客户端11.2.0.4](/upload/InfoBanner/zyjiaocheng/863/cb5a1a37a77a4f57beaf9e8a67af8817.jpg)
1、Oracle客户RPM文件下载地址
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
https://www.oracle.com/database/technologies/instant-client/linux-x86-32-downloads.html
oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm
选择对应系统的版本信息。
2、安装
[root@test tools]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@test tools]# rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:oracle-instantclient11.2-basic-11################################# [100%]
[root@test tools]# rpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:oracle-instantclient11.2-sqlplus-################################# [100%]
[root@JZGZdaping12 tools]# pwd
/home/data/tools
[root@test tools]#
[root@test tools]# vi ~/.bash_profile
#xin zeng
export ORACLE_VERSION=11.2
export ORACLE_HOME=/usr/lib/oracle/$ORACLE_VERSION/client64
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export PATH=$PATH:$ORACLE_HOME/bin
[root@test tools]# source ~/.bash_profile
[root@test bin]# pwd
/usr/lib/oracle/11.2/client64/bin
[root@test bin]# ./sqlplus xxxx/xxxx@ip:port/xxxx
SQL*Plus: Release 11.2.0.4.0 Production on Fri Mar 5 16:54:57 2021
Copyright (c) 1982, 2013, Oracle. All rights reserved.
内容总结
以上是互联网集市为您收集整理的Centos7-安装oracle客户端11.2.0.4全部内容,希望文章能够帮你解决Centos7-安装oracle客户端11.2.0.4所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。