RabbitMQ學習筆記:centos7中操作rabbitmqctl指令the VM is running with native name encoding of latin1 which may

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環境變量配置文件末尾加上如下配置:
export LC_ALL=en_US.UTF-8
然後執行:
source /etc/profile

解決方案參考:https://stackoverflow.com/questions/32407164/the-vm-is-running-with-native-name-encoding-of-latin1-which-may-cause-elixir-to

GitHub地址:https://github.com/mingyang66/spring-parent/tree/master/spring-boot-control-rabbitmq-service

發佈了475 篇原創文章 · 獲贊 243 · 訪問量 146萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章