1. 程式人生 > >Linux 修改系統語言(Centos-7.0)

Linux 修改系統語言(Centos-7.0)

Centos7系統語言配置資訊儲存在/etc/locale.conf檔案內。

更改步驟如下:

1.使用vim開啟locale.conf檔案

vim /etc/locale.conf

2.編輯locale.conf檔案後儲存退出

LANG="en_US.UTF-8"或LANG="zh_CN.UTF-8"

其中:en_US.UTF-8為英語,zh_CN.UTF-8為中文