Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change the system language to simplified Chinese by centos7

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

What the editor wants to share with you this time is how centos7 modifies the system language to simplified Chinese. The article is rich in content. Interested friends can learn about it. I hope you can get something after reading this article.

Description

When you install your own system, you can generally customize and choose the system language. But cloud servers are generally installed images, the default system language is English, and there may be computer words that beginners don't understand. Here is a brief description of how centos7 changes the system language to Chinese.

Modify centos7 system language

View the current language pack

Locale

Check that the system has a language pack

Locale-a

(zh_CN.UTF-8 is in simplified Chinese. If there is no zh_CN.UTF-8, install the language pack. If it exists, you can set it directly.)

Install simplified Chinese language Pack

Yum install kde-l10n-Chinese

Set to Chinese

Temporary modification, the previous settings will be restored after restarting the server

LANG= "zh_CN.UTF-8" # modified to Chinese LANG= "en_US.UTF-8" # modified to English

Permanent modification requires the configuration to be written into the file

Method (1)

Vi / etc/locale.conf## add the following to the first line and set the Chinese LANG=zh_CN.UTF8

Method (2)

Localectl set-locale LANG=zh_CN.UTF8

Other

Change the time zone to Asia and Shanghai

Ln-sf / usr/share/zoneinfo/Asia/Shanghai / etc/localtime

Bash: ifconfig: command not found solution when viewing ip

Yum install net-tools # # is generally not installed after reading this article on how to modify the system language of centos7 to simplified Chinese. If you think the content of the article is good, you can share it with more people.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report