Commit 056ebf14 authored by daidekun's avatar daidekun

通过shell自动初始化rabbitmq

parent eb010631
#!/bin/sh #!/bin/sh
public_ip="www.q-gp.com" response=$(curl -X GET -H "Authorization: Basic cWE6cWF0ZXN0" "http://192.168.4.15:15672/api/definitions")
\ No newline at end of file curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://localhost:15672/api/definitions"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment