添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
无邪的丝瓜  ·  Asynchronous ...·  2 月前    · 
淡定的枇杷  ·  velocity的使用简介 - ...·  6 月前    · 
踢足球的松鼠  ·  Invalid length ...·  7 月前    · 
Category : Linux/ Unix

In this guide we are going to show you how to Fix bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8). This warning appears when you try to bash.

To fix the warning follow the following steps :

  • Open the environment file in the etc folder with your preferred editor.
  • vi /etc/environment
  • Press i key to enter edit mode, add the following lines to the file.
  • LANG=en_US.utf-8
  • LC_ALL=en_US.utf-8
  • Pressing Esc key and type :wq to write/save the file and exit the editor.
  • Run source /etc/environment
  • The warning is now fixed and should be gone from the terminal

    How to Install Nginx, MySQL, PHP (LEMP) Stack on CentOS