环境变量

unset -f pathmunge

PATH=$PATH:$HOME/bin
export JAVA_HOME=/data/opt/jdk1.8.0_144
export JAVA_BIN=$JAVA_HOME/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH

MEMCACHED_HOME=/data/opt/memcached-1.4.7
PATH=$MEMCACHED_HOME/bin:$PATH
export MEMCACHED_HOME PATH

RESIN_HOME=/data/opt/resin
PATH=$RESIN_HOME/bin:$PATH
export RESIN_HOME PATH

NGINX_HOME=/data/opt/nginx
PATH=$NGINX_HOME/sbin:$PATH
export RNGINX_HOME PATH

MYSQL_HOME=/data/opt/mysql
PATH=$MYSQL_HOME/bin:$PATH

posted @ 2017-08-20 19:21  bruce peng  阅读(144)  评论(0编辑  收藏  举报