CentOS7中安装了rabbitmq,操作CLI工具时报如下错误:
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
解决方法是在/etc/profile环境变量配置文件末尾加上如下配置:
vim /etc/profile export LC_ALL=en_US.UTF-8
然后执行:
source /etc/profile