标签:force open app highlight server make install rabbitmq 查看
1.安装erlang 依赖
yum install -y gcc gcc-c++ unixODBC-devel openssl-devel ncurses-devel
2.安装erlang
### 设定安装位置
./configure --prefix=/opt/apps/erlang --without-javac
### 安装
make && make install
### 添加环境变量
vim ~/.base_profile
export PATH=$PATH:/opt/apps/erlang/bin
3.安装rabbitmq-server
rpm -ivh rabbitmq-server-3.6.2-1.noarch.rpm --nodeps --force
4.启动rabbitmq-server
rabbitmq-server
6、安装插件管理界面
rabbitmq-plugins enable rabbitmq_management
7.重新启动MQ
MQ启动:rabbitmq-server -detached
MQ停止:rabbitmqctl stop
8.添加用户
a,执行添加用户命令
rabbitmqctl add_user root root
b,执行设置权限命令
rabbitmqctl set_permissions -p / root ".*" ".*" ".*"
c,执行设置角色命令
rabbitmqctl set_user_tags root administrator
d,执行查看用户命令
查看用户:rabbitmqctl list_users
9.登陆系统
http://xx.208.xx.222:15672/#/
标签:force open app highlight server make install rabbitmq 查看
原文地址:http://www.cnblogs.com/mengyu/p/6411845.html