服务
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
网友评论