I usually don't need Linux at all. It's definitely a newbie, but it needs to be used in the past two days. To prevent forgetting it later, I wrote down the problems I encountered.
When I used the Secure Shell client to connect to Linux, I encountered Chinese garbled characters (I installed the Simplified Chinese version in Linux ). The solution is to use the VI command to open/etc/sysconfig/i18n and modify its content:
- Lang ="Zh_cn.gb18030"
- Language ="Zh_cn.gb18030: zh_cn.gb2312: zh_cn"
- Supported ="Zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: En"
- Sysfont ="Lat0-sun16"
Note that you cannot directly modify the file after opening it with vi. You need to press the I Key of the keyboard to enter the modification mode. After the modification, Press ESC and enter the colon to enter the baseline mode. You can enter WQ in the baseline to save the file.
At this time, use SSH to relink and you will see that the garbled problem has been resolved.