`
ubuntu
  • 浏览: 107197 次
  • 来自: ...
文章分类
社区版块
存档分类
最新评论

ubuntu下自启动james

阅读更多
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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics