yum install fonts-chinese
拷贝windows c:\windows\fonts ttf字体到linux /usr/share/fonts/CN_fonts 下
# mkdir /usr/share/fonts/CN_fonts 然后拷贝字体
# cd /usr/share/fonts/CN_fonts
# mkfontscale
# mkfontdir
# fc-cache
export LANG=zh_CN.gb2312
转载于:https://blog.51cto.com/jafy00/766222