1) 安装虚拟机

环境:Mac + ParallesDesktop16 + Debian 10 Arm64

IP地址:166.166.166.92

配置源:

deb https://mirror.sjtu.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ bullseye main contrib non-free

deb https://mirror.sjtu.edu.cn/debian/ bullseye-updates main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirror.sjtu.edu.cn/debian/ bullseye-backports main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ bullseye-backports main contrib non-free
2)安装ErLang语言环境
$: sudo apt-get intall erlang-nox
3)安装RabbitMQ Server
$: sudo apt-get install rabbitmq-server
4)安装Web管理界面

端口:15672

$: sudo rabbitmq-plugins enable rabbitmq_management # 启用RabbitMQ管理插件 -- 通过web登录
# 此时只能通过 localhost 访问 如需其他机器访问需添加用户 admin
5)添加用户
$: sudo rabbitmqctl add_user admin 123456
$: sudo rabbitmqctl set_user_tags admin administrator
$: sudo rabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"