RabbitMQ 更换日志和数据存储目录
RabbitMQ About 318 words步骤
创建mnesia
和log
两个文件夹
mkdir /home/rabbitmq/{mnesia,log}
目录授权
chmod -R rabbitmq:rabbitmq /home/rabbitmq
新建rabbitmq-env.conf
配置文件
vim /etc/rabbitmq/rabbitmq-env.conf
添加以下配置
RABBITMQ_MNESIA_BASE=/home/rabbitmq/mnesia
RABBITMQ_LOG_BASE=/home/rabbitmq/log
重启RabbitMQ
sudo rabbitmqctl stop
sudo service rabbitmq-server start
Views: 4,166 · Posted: 2020-10-19
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...