1 先下载字体
链接:https://pan.baidu.com/s/1FEV7K8c8S6o3gBukkSGp4w
提取码:font
2 安装字体脚本
vi font.sh
#!/bin/bash
echo "Start "
cd /data/soft/font
rpm --nodeps --force -ivh dejavu-fonts-common-2.33-6.el7.noarch.rpm dejavu-sans-fonts-2.33-6.el7.noarch.rpm freetype-2.8-14.el7.x86_64.rpm libpng-1.5.13-7.el7_2.x86_64.rpm fontpackages-filesystem-1.44-8.el7.noarch.rpm fontconfig-2.13.0-4.3.el7.x86_64.rpm
echo "Finished"