步骤如下:
1.下载instantclient-basic-linux.x64-18.3.0.0.0dbru.zip
https://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
2.解压
mkdir -p /opt/oracle
cd /opt/oracle
unzip instantclient-basic-linux.x64-18.3.0.0.0dbru.zip
3.yum install libaio
4.root用户下在/etc/profile最后增加一行export LD_LIBRARY_PATH=/opt/oracle/instantclient_18_3:$LD_LIBRARY_PATH
5.source /etc/profile