美文网首页
zheng开发环境搭建

zheng开发环境搭建

作者: wtmxx | 来源:发表于2018-01-28 11:33 被阅读0次

    服务

    dubbo-admin管理平台的搭建
    maven参数
    sql_mode,修改后可以设置timestamp为零值,如何修改
    linux redis安装配置
    安装java1.7
    安装activemq5.14
    nginx配置原理
    服务启动脚本

    #!/bin/bash
    #zookeeper,activemq,redis,nginx, service
    case $1 in
      start)
        echo -e "---------\033[41;36;1m starting zookeeper \033[0m------------------->"
        /usr/local/zookeeper/bin/zkServer.sh start
        echo -e "---------\033[41;36;1m starting activemq \033[0m------------------->"
        /usr/local/apache-activemq/bin/activemq start
        echo -e "---------\033[41;36;1m starting redis \033[0m------------------->"
        service redis start;
        echo -e "---------\033[41;36;1m starting nginx \033[0m------------------->"
        service nginx start;;
      status)
        echo -e "---------\033[41;36;1m zookeeper status \033[0m------------------->"
        /usr/local/zookeeper/bin/zkServer.sh status
        echo -e "---------\033[41;36;1m activemq status \033[0m------------------->"
        /usr/local/apache-activemq/bin/activemq status
        echo -e "---------\033[41;36;1m starting status \033[0m------------------->"
        service redis status;
        echo -e "---------\033[41;36;1m nginx status \033[0m------------------->"
        service nginx status;;
      *)
        echo "options:"
        echo "start   start zookeeper,activemq,redis,nginx"
        echo "status  show zookeeeper,activemq,redis,nginx status"
      esac
    

    相关文章

      网友评论

          本文标题:zheng开发环境搭建

          本文链接:https://www.haomeiwen.com/subject/fwiiaxtx.html