gopush-java
gopush 服务端搭建
首先要启动zookeeper:
cd /Users/leonard/work/src/data/programfiles/zookeeper-3.4.8/bin
sh zkServer.sh start
启动message,comet,web:
cd /Users/leonard/software/gopath/bin
nohup message -c message.conf 2>&1 >>/Users/leonard/work/src/data/logs/gopush-cluster/panic-message.log & nohup comet -c comet.conf 2>&1 >>/Users/leonard/work/src/data/logs/gopush-cluster/panic-comet.log &
nohup web -c web.conf 2>&1 >>/Users/leonard/work/src/data/logs/gopush-cluster/panic-web.log &
Error: Could not open "/data/apps/go/bin/comet_log.xml" for reading: open /data/apps/go/bin/comet_log.xml: no such file or directory
[2]+ Exit 1 comet -c comet.conf 2>&1 >> /Users/leonard/work/src/data/logs/gopush-cluster/panic-comet.log
解决:需要修改comet.conf
注意:message.conf需要修改
1,redis: node1:1 tcp@localhost:6379#admin
2,mysql:
node1:1 root:root@(localhost:3307)/gopush?parseTime=true&loc=Local&charset=utf8
blog comments powered by Disqus