1.oracle官网下载安装包instantclient-basic-linux.x64-11.2.0.4.0.zip
2.解压unzip instantclient-basic-linux.x64-11.2.0.4.0.zip && sudo mv instantclient_11_2/ oraclec
3.链接库sh -c "echo /usr/local/src/oraclec > /etc/ld.so.conf.d/oracle-instantclient.conf" && ldconfig
4.配置环境变量export LD_LIBRARY_PATH=/usr/local/src/oraclec:$LD_LIBRARY_PATH
5.使配置立刻生效source /etc/profile