1、
rocky linux 9
[root@B01 ~]# ls /usr/share/fonts/dejavu-s
dejavu-sans-fonts/ dejavu-sans-mono-fonts/ dejavu-serif-fonts/
[root@B01 ~]# ls /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf
/usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf
[root@B01 ~]# cd /usr/share/fonts/dejavu-sans-fonts/
[root@B01 dejavu-sans-fonts]# mv /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf DejaVuSans.ttf.bak
[root@CNT-ZBX6-PB01 dejavu-sans-fonts]# rz -E
rz waiting to receive.
[root@B01 dejavu-sans-fonts]# ls msyhbd.ttc
msyhbd.ttc
[root@B01 dejavu-sans-fonts]# mv msyhbd.ttc DejaVuSans.ttf
[root@B01 dejavu-sans-fonts]#
替换完字体后,会正常显示乱码-中文。