Linux下启动rabbitmq报错:./rabbitmq-server: line 80: erl: command not found的解决办法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
楼主今天在linux下启动rabbitmq的时候,发生了如下图的错误:
![]()
网上搜索得到了答案,现在分享给大家:
在linux的/etc/profile环境下添加如下两行代码:
#set erlang environment
export PATH=$PATH:/usr/local/erlang20/bin
#set rabbitmq environment
export PATH=$PATH:/usr/local/rabbitmq/sbin
这里需要注意到:
具体的PATH是要根据自己的安装路径来确定!
然后输入下面的代码使profile文件修改生效
source /etc/profile
最后重新启动rabbitmq就可以正常启动了:

A beautiful web dashboard for Linux
最近提交(Master分支:9 个月前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐




所有评论(0)