Oracle
Oracle client安装
unzip instantclient-basic-linux.x64-12.2.0.1.0.zip
unzip instantclient-sqlplus-linux.x64-12.2.0.1.0.zip
unzip instantclient-tools-linux.x64-12.2.0.1.0.zip
--配置环境变量
vim ~/.bash_profile
export ORACLE_HOME=/home/ucm/opt/oracle/instantclient_12_2
export TNS_ADMIN=$ORACLE_HOME/network/admin
#export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export LD_LIBRARY_PATH=$ORACLE_HOME
export PATH=$PATH:$ORACLE_HOME
可选择配置tnsnames.ora
cd instantclient_12_2/
mkdir -p network/admin
cd network/admin
vim tnsnames.ora