EasyBuy项目运维

--------EasyBuyday01-----------------

(1) 启动zookeeper服务: /usr/local/zookeeper-3.4.6/bin/zkServer.sh start
(2) 查看zk服务状态:   /usr/local/zookeeper-3.4.6/bin/zkServer.sh status
(3) 停止zk服务:    /usr/local/zookeeper-3.4.6/bin/zkServer.sh stop
(4) 重启zk服务:   /usr/local/zookeeper-3.4.6/bin/zkServer.sh restart


(5) 启动tomcat-dubbo-monitor: 
    /usr/local/web/tomcat-dubbo-monitor/bin/startup.sh
    访问 http://192.168.12.168:8088
    用户名:root 密码:root

(6) 浏览器测试 http://localhost:9100/brand/findAll.do

--------EasyBuyday03-----------------

(7) windows 7运行nginx(cmd进入nginx所在的根目录)
启动: start nginx
停止: nginx -s stop
重新加载:nginx -s reload
重新打开日志文件:nginx.exe -s reopen
查看Nginx版本:nginx -v


---------EasyBuyday05-----------------
(8)端口 
easybuy-sellergoods-service  端口号:9000
easybuy-index-service       端口号:9001
easybuy-search-service       端口号:9002
easybuy-smsC

你可能感兴趣的:(java,Linux)