啓動錯誤日誌:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
安裝 localepurge 管理語言文件
sudo apt-get install localepurge
選擇想要的語言,例如 en_US.UTF-8 和 zh_CN.UTF-8。
再次進行配置:
sudo dpkg-reconfigure localepurge
生成自己想要的語言
sudo locale-gen zh_CN.UTF-8 en_US.UTF-8
打印出當前的配置信息
locale
重啓機器,重啓服務即可!