很可能是因为你搞错了ip地址,我就是这样。用ifconfig查看一下,是if不是ipconfig 我这个时候Windows的防火墙也是关闭的,也能访问
Linux环境安装:
Uses a Cloudsmith-provided Yum repository setup script.
Always verify what is downloaded before piping it to a privileged shell!
curl -1sLf ‘https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.rpm.sh’ | sudo -E bash
primary RabbitMQ signing key
rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
modern Erlang repository
rpm --import ‘https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key’
RabbitMQ server repository
rpm --import ‘https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key’ 📎rabbitmq.repo.md yum update -y yum -q makecache -y --disablerepo=’*’ --enablerepo=‘rabbitmq_erlang-noarch’ --enablerepo=‘rabbitmq_server-noarch’
install these dependencies from standard OS repositories
yum install socat logrotate -y
install RabbitMQ and zero dependency Erlang from the above repositories,
ignoring any versions provided by the standard repositories
yum install --repo rabbitmq_erlang --repo rabbitmq_server-noarch erlang rabbitmq-server chkconfig rabbitmq-server on /sbin/service rabbitmq-server start /sbin/service rabbitmq-server status /sbin/service rabbitmq-server stop yum -y install initscripts rabbitmq-plugins enable rabbitmq_management ifconfig systemctl status firewalld.service systemctl start firewalld.service systemctl stop firewalld.service systemctl enable firewalld.service ip:15672
|