centOS下设置Rabbitmq服务开机自动启动的方法?
为情所困
为情所困 2017-04-24 15:59:07
0
2
792

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

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

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

为情所困
为情所困

reply all(2)
曾经蜡笔没有小新

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

sudo chkconfig rabbitmq-server on
给我你的怀抱

chkconfig --add, yes--no-

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!