查看所有字体:
fc-list
如果提示 fc-list: command not found,则需要运行# yum install fontconfig

查看中文字体:
fc-list :lang=zh

此处可以看出,系统没有中文字体;
找到win10的字体,并复制上传到服务器

把MSYH.TTF复制到/usr/share/fonts/目录下
cd /root
cp MSYH.TTF /usr/share/fonts/
建立字体索引信息,更新字体缓存
cd /usr/share/fonts/
mkfontscale //如果提示 mkfontscale: command not found,需自行安装 # yum install
mkfontdir
fc-cache //如果提示 fc-cache: command not found,则需要安装# yum install fontconfig
查看中文字体是否安装成功
fc-list :lang=zh

安装完成。