juzhax.com
Common Error in CentOS: Failed to set locale, defaulting to C - Juzhax Technology
Failed to set locale, defaulting to C You can see this often in CentOS because you never set the locale for your Linux. You can try this [code lang=”bash”] echo "export LC_ALL=en_US.UTF-8" >> /etc/profile export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8 [/code] Then disconnect and reconnect to your bash. Related