Home >Operation and Maintenance >CentOS >How to solve centos7 setup garbled problem

How to solve centos7 setup garbled problem

藏色散人
藏色散人Original
2022-01-17 11:48:073580browse

Centos7 setup garbled solution: 1. Execute "#vim /etc/profile export.UTF-8"; 2. Execute "#LANG=en_US.UTF-8".

How to solve centos7 setup garbled problem

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn