Home  >  Q&A  >  body text

centOS下设置Rabbitmq服务开机自动启动的方法?

在网上找到了一些linux下设置服务开启启动的方法,试了试都达不到效果。
like:http://blog.renhao.org/2010/05/centos...
我不知道chkconfig –add postfix怎么使用,才能把/usr/local/sbin/rabbitmq-server服务加进去!

又找了个修改/etc/rc.local文件的方法,设置后重启还是不行!
我怀疑是因为开启rabbitmq需要root权限的原因吧?

请问大家还有其他方法么?

为情所困为情所困2734 days ago808

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-04-24 16:01:07

    You have almost found the solution, using the rpm package, right? Try:

    sudo chkconfig rabbitmq-server on

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-04-24 16:01:07

    chkconfig --add, yes--no-

    reply
    0
  • Cancelreply