centos8 配置 oracle12c 客户端
下载 oracle 客户端 rpm
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
百度网盘地址
链接:https://pan.baidu.com/s/13IkAZQU87GejNUSu1tp_XQ
提取码:alzs
centos8安装客户端
yum install -y libaio
sudo rpm -ivh oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64\ (1).rpm
vim /etc/profile
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
source /etc/profile
cd /usr/lib/oracle/12.2/client64/lib
sudo ln -s libclntsh.so.12.1 libclntsh.so
sudo dnf install libnsl
自此连接成功