环境变量配置
作者:互联网
Informix Client SDK环境变量安装
export LD_LIBRARY_PATH=${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${INFORMIXDIR}/lib/cli 这里是: vi /etc/profile: export LD_LIBRARY_PATH=/opt/IBM/Informix_Client-SDK/lib:/opt/IBM/Informix_Client-SDK/lib/esql:/opt/IBM/Informix_Client-SDK/lib/cli export INFORMIXDIR=/opt/IBM/Informix_Client-SDK 为了使其永久有效在 vi /etc/bashrc下同样添加
hosts
vi /etc/hosts 添加 ip 服务名 此处是: 10.10.12.13 informix12
sqlhosts
不要放在root目录下,可放其它目录,如home目录下 最后一行添加:服务名 onsoctcp 服务名 服务名 g=g_服务名 这里是: informix12 onsoctcp informix12 informix12 g=g_informix12 需要添加环境变量,这里是: export INFORMIXSQLHOSTS=/home/sqlhosts
service
vi /etc/services: 服务名 端口/tcp 这里是: vi /etc/services: informix12 27583/tcp
标签:lib,vi,配置,etc,Client,Informix,informix12,环境变量 来源: https://www.cnblogs.com/yu121/p/14589144.html