下载地址
http://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
选择:
Instant Client for Linux x86-64
下载以下两个ZIP包:
- instantclient-basic-linux.x64-12.2.0.1.0.zip
- instantclient-sqlplus-linux.x64-12.2.0.1.0.zip
解压安装
1 | unzip instantclient-basic-linux.x64-12.2.0.1.0.zip |
环境变量
1 | export ORACLE_HOME=/opt/instantclient |