安装指定版本的RabbitMQ原创
11人赞赏了该文章
443次浏览
编辑于2019年12月12日 20:29:33
###首先更新,然后安装JDK,编译Erlang时需要
sudo apt-get update
sudo apt-get install openjdk-8-jdk
### Install 参见https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/precise/rabbitmq-server_3.7.12-1_all.deb
wget --content-disposition https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/precise/rabbitmq-server_3.7.12-1_all.deb/download.deb
sudo apt install ./rabbitmq-server_3.7.12-1_all.deb
####配置rabbitMQ
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmqctl add_user [UserName] [Password]
sudo rabbitmqctl set_user_tags [UserName] administrator
sudo rabbitmqctl set_permissions -p "/" [UserName] ".*" ".*" ".*"
sudo apt-get update
sudo apt-get install openjdk-8-jdk
### Install 参见https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/precise/rabbitmq-server_3.7.12-1_all.deb
wget --content-disposition https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/precise/rabbitmq-server_3.7.12-1_all.deb/download.deb
sudo apt install ./rabbitmq-server_3.7.12-1_all.deb
####配置rabbitMQ
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmqctl add_user [UserName] [Password]
sudo rabbitmqctl set_user_tags [UserName] administrator
sudo rabbitmqctl set_permissions -p "/" [UserName] ".*" ".*" ".*"
赞 11
11人点赞
还没有人点赞,快来当第一个点赞的人吧!
打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!
推荐阅读