总结: 在CentOS 7中,当遇到locale-gen: command not found错误时,你应该意识到locale-gen命令在该系统中不可用。你应该使用localedef命令来生成locale设置,或者检查并修正你的环境变量配置以包含正确的命令路径。如果问题仍然存在,请确保相关软件包已正确安装,并检查文件权限。
So on the Ubuntu 16.04 instance that's being used for all this,it looks likeen_US.utf8anden_US.UTF-8are treated effectively the same. I've tried doing all the steps like runninglocaledef -i en_US -f UTF-8 en_US.UTF-8andlocale-gen en_US.UTF-8and all that, but it still ultim...