基础服务的profile文件配置

#JDK
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64/
export PATH=/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

#apr
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib
export LD_RUN_PATH=$LD_RUN_PATH:/usr/local/apr/lib

#mysql
export PATH=/data/mysql/bin/:$PATH

#redis
export REDIS_HOME=/usr/local/redis/bin
export PATH=$PATH:$REDIS_HOME

#nginx
PATH=$PATH:/data/nginx/bin/:/data/nginx/sbin

#mysql
export PATH=/data/mysql/bin/:$PATH

#mongo
export PATH=/data/mongodb/bin:$PATH
posted @ 2021-04-20 14:09  名字长的像一只老山羊  阅读(185)  评论(0编辑  收藏  举报