接下来想研究一下mq消息队列,打算在linux上面弄,所以先安装一个Centos 7 ,推荐这个安装教程,感觉比较全面 blog.csdn.net/yiyihuazi/a…
[root@localhost ~]# 分别代表用户名(root),主机名(localhost),当前路径(~,当前用户的home目录),权限标志位(#代表root,$代表普通用户)
安装rpm包出现信赖错误: blog.csdn.net/jinyun1984/…
参考安装教程1: www.cnblogs.com/skychenjiaj…
参考安装教程2: blog.battcn.com/2017/08/20/…
参考安装教程3: blog.csdn.net/qq_22075041…
wget、yum、rpm、apt-get区别:www.cnblogs.com/hanggegege/…
关于weget “无法建立SSL连接”的解决方法:blog.csdn.net/qq_35142785…
rabbitmq下载地址:www.rabbitmq.com/news.html
CentOS7.0 使用root登录桌面:blog.csdn.net/bolg_hero/a…
====================================================
启动服务:
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了。。。