edit phoenix.sh to set the PHOENIX_HOME
PHOENIX_HOME=/opt/james
and comment out the bit of phoenix.sh
#PRGDIR=`dirname "$THIS_PROG"`
#PHOENIX_HOME=`cd "$PRGDIR/.." ; pwd`
#
#unset THIS_PROG
#
#if [ -r "$PHOENIX_HOME"/bin/setenv.sh ]; then
1. . "$PHOENIX_HOME"/bin/setenv.sh
#fi
在rc.local中加入
export JAVA_HOME=/opt/java
/opt/james/bin/phoenix.sh start
本文介绍如何设置PHOENIX_HOME环境变量并配置phoenix.sh脚本。通过编辑配置文件,可以确保Phoenix正确运行。具体步骤包括修改phoenix.sh,设置PHOENIX_HOME路径,并在rc.local中添加必要的JAVA_HOME及启动命令。
2320

被折叠的 条评论
为什么被折叠?



