zsCat分布式框架部署
http://pan.baidu.com/s/1pLoxCQR
下载虚拟机映像
将cms blog mall web模块分布打成war包,分别放入各自的tomcat
1、使用 service 启动:
[root@localhost /]# service mysqld start (5.0版本是mysqld)
2.启动zookeep
cd /root/Public/sz/zookeeper/zookeeper-3.4.6/bin
./zkServer.sh start
3.启动cms服务
cd /root/Public/pigDeploy/apache-tomcat-cms/bin
./startup.sh
4.启动mall服务
cd /root/Public/pigDeploy/apache-tomcat-mall/bin
./startup.sh
5.启动web工程
cd /root/Public/pigDeploy/apache-tomcat-web/bin
./startup.sh
请求访问
http://192.168.224.132:8082/index
6.查看日志
cd /data/appLogs/pig-web
cd /data/appLogs/pig-cms
cd /data/appLogs/pig-mall
qq: 951449465