标签:
①:sudo chmod -R 777 /usr/local/openfire/bin
②:sudo su
③:cd /usr/local/openfire/bin
④:export JAVA_HOME=`/usr/libexec/java_home`
⑤:echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home
⑥: cd /usr/local/openfire/bin
⑦: ./openfire.sh
逐一执行完这些命令之后,服务器就可以启动了。如图:
¥¥¥
标签:
原文地址:http://www.cnblogs.com/luqinbin/p/5674025.html