Home >Operation and Maintenance >CentOS >How to solve centos7 setup garbled problem
Centos7 setup garbled solution: 1. Execute "#vim /etc/profile export.UTF-8"; 2. Execute "#LANG=en_US.UTF-8".
#The operating environment of this article: centos7 system, Dell G3 computer.
How to solve the problem of garbled characters in centos7 setup
Solution to the problem of garbled characters when CentOS executes setup
Reason:
The default language of the system is Chinese, but the corresponding font is not installed.
Set the language to English.
Solution:
#vim /etc/profile export.UTF-8 <------在最后面加
You can also use the temporary command
#LANG=en_US.UTF-8
and set the putty encoding to UTF-8
------- -------------------------------------------------- --------------------------------------------------
CentOS cannot run setup? Then install setuptool, which can save a lot of system management time.
#安装setuptool yum install setuptool #可以发现执行setup后不全,再安装一个用于系统服务管理 yum install ntsysv #再安装个防火墙,以及setup中配套的防火墙设置、网络设置 yum install iptables #安装setup中配套的防火墙设置 yum install system-config-securitylevel-tui #安装setup中配套的网络设置 yum install system-config-network-tui
Recommended tutorial: "centos tutorial"
The above is the detailed content of How to solve centos7 setup garbled problem. For more information, please follow other related articles on the PHP Chinese website!