标签:开机 reload erlang cloud arc 系统启动 width kconfig border
1、添加官方源 |
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash |
|
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash |
||
2、安装 |
yum install erlang-21.2.4-1.el7.centos.x86_64 |
|
yum install rabbitmq-server-3.7.10-1.el7.noarch |
||
3、系统启动 |
注册到系统服务 |
chkconfig rabbitmq-server on |
开机启动 |
systemctl enable rabbitmq-server |
|
启动服务 |
systemctl start rabbitmq-server |
|
4、创建用户 |
rabbitmqctl add_user root root |
|
rabbitmqctl set_user_tags root administrator |
||
rabbitmqctl set_permissions -p / root ‘.*‘ ‘.*‘ ‘.*‘ |
||
rabbitmq-server -detached |
||
5、开放端口号 |
firewall-cmd --zone=public --add-port=15672/tcp --permanent |
|
firewall-cmd --zone=public --add-port=5672/tcp --permanent |
||
firewall-cmd --reload |
||
6、开放web管理 |
rabbitmq-plugins enable rabbitmq_management |
标签:开机 reload erlang cloud arc 系统启动 width kconfig border
原文地址:https://www.cnblogs.com/wenha/p/12079204.html