linux 源码安装Rabbitmq

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux 源码安装Rabbitmq相关的知识,希望对你有一定的参考价值。


#yum install unixODBC-devel openssl-devel ncurses-devel  系统自带

#wget http://www.erlang.org/download/otp_src_17.0.tar.gz

[[email protected] ~]# cat /etc/bashrc

export ERL_HOME=/opt/erlang

export PATH=$PATH:$ERL_HOME/bin

#source /etc/bashrc

#./configure --prefix=/opt/erlang --without-javac

# make

 #make install



测试

[[email protected] ~]# /opt/erlang/bin/erl

Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.0  (abort with ^G)

1> EvenN = lists:filter (fun (N) -> N rem 2 == 0 end, lists:seq(1,100)).

[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,

 44,46,48,50,52,54,56,58|...]

2>



#wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.9/rabbitmq-server-generic-unix-3.6.9.tar.xz

#tar -xvf rabbitmq-server-generic-unix-3.6.9.tar.xz

#cd rabbitmq_server-3.6.9


启动RabbitMQ服务并在后台运行

./sbin/rabbitmq-server start -detached

安装web管理插件

./sbin/rabbitmq-plugins enable rabbitmq_management

创建RabbitMQ用户

./sbin/rabbitmqctl add_user admin admin

设定账号权限

./sbin/rabbitmqctl set_user_tags admin administrator

查看用户列表

./sbin/rabbitmqctl list_users


本文出自 “linux_oracle” 博客,请务必保留此出处http://pankuo.blog.51cto.com/8651697/1980103

以上是关于linux 源码安装Rabbitmq的主要内容,如果未能解决你的问题,请参考以下文章

RabbitMQ源码编译

RabbitMQ源码安装

rabbitmq3.6.6源码安装

linux安装rabbitmq ssm集成rabbitmq

linux下安装RabbitMQ

centos 7 下 rabbitmq 3.8.0 & erlang 22.1 源码编译安装