#!/bin/bash
mq_zk_install(){
cd /root/
wget -c http://54.179.201.103:8001/rabbitmq.tar
wget -c http://54.179.201.103:8001/zookeeper.tar
docker load >/root/rabbitmq.tar
docker load >/root/zookeeper.tar
wget -c http://54.179.201.103:8001/docker-mq-zk.tar.gz && tar xf docker-mq-zk.tar.gz
cd /root/docker-mq-zk/ && docker-compose up -d 
}

mq_zk_install
