接下来想研究一下mq消息队列,打算在linux上面弄,因此先安装一个Centos 7 ,推荐这个安装教程,感受比较全面 blog.csdn.net/yiyihuazi/a…html
[root@localhost ~]# 分别表明用户名(root),主机名(localhost),当前路径(~,当前用户的home目录),权限标志位(#表明root,$表明普通用户)node
安装rpm包出现信赖错误: blog.csdn.net/jinyun1984/…linux
参考安装教程1: www.cnblogs.com/skychenjiaj…centos
参考安装教程2: blog.battcn.com/2017/08/20/…bash
参考安装教程3: blog.csdn.net/qq_22075041…cookie
wget、yum、rpm、apt-get区别:www.cnblogs.com/hanggegege/…ide
关于weget “没法创建SSL链接”的解决方法:blog.csdn.net/qq_35142785…ui
rabbitmq下载地址:www.rabbitmq.com/news.htmlthis
CentOS7.0 使用root登陆桌面:blog.csdn.net/bolg_hero/a…centos7
====================================================
启动服务:
systemctl start rabbitmq-server.service
复制代码
查看服务状态:
systemctl status rabbitmq-server.service
复制代码
中止服务:
systemctl stop rabbitmq-server.service
复制代码
查看rabbit进程:
ps -ef | grep rabbit
复制代码
哎, 坑实在太多了,好不容易才弄好了,你们若是在使用”systemctl“有如下问题能够参考下面的地址 serverfault.com/questions/9…
Error: unable to perform an operation on node 'rabbit@sXXX-XXX-XXX-XXX'. Please see diagnostics information and suggestions below.
Most common reasons for this are:
* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server) * Target node is not running In addition to the diagnostics info below: * See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more * Consult server logs on node rabbit@sXXX-XXX-XXX-XXX DIAGNOSTICS =========== attempted to contact: ['rabbit@sXXX-XXX-XXX-XXX'] rabbit@sXXX-XXX-XXX-XXX: * unable to connect to epmd (port 4369) on sXXX-XXX-XXX-XXX: timeout (timed out) Current node details: * node name: 'rabbitmqcli30@sXXX-XXX-XXX-XXX' * effective user's home directory: /var/lib/rabbitmq
* Erlang cookie hash: BHd73A3DMRT7tM1xEdGGvg==
复制代码
验证一下,个人地址是:http://192.168.183.128:15672,你们访问本身的地址就好,端口是15672
rabbitmq装好了,有时间就继续研究在Java中如何使用mq了。。。