oracle客户端安装配置
instantclient-basic-linux.x64-12.1.0.2.0.zip
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html #下载版本
# 下载完解压删除以下文件
rm -f *jdbc* *occi* *mysql* *README *jar uidrvci genezi adrci
# 容器中添加环境变量
except LD_LIBRARY_PATH=/root/instantclient_12_1
except ORACLE_BASE=/root/instantclient_12_1
except TNS_ADMIN=/root/instantclient_12_1
except PATH=$PATH:/root/instantclient_12_1
except ORACLE_HOME=/root/instantclient_12_1
# 容器中创建软连接,不同版本可能不一样
ln -s /usr/lib/libnsl.so.2.0.1 /usr/lib/libnsl.so.1
ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2
微信:jinmuqq222