sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum install -y nginx
/sbin/iptables -I INPUT -p tcp --dport 8762 -j ACCEPT
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
978 yum -y install mysql57-community-release-el7-10.noarch.rpm
979 yum -y install mysql-community-server
980 rpm -ivh http://repo.mysql.com/mysql-community-release-el7.rpm
981 yum makecache
982 yum repolist all |grep mysql
983 yum -y install mysql-community-server
sudo grep 'temporary password' /var/log/mysqld.log
set password for root@localhost = password('CP@123');
1、查看中文字体
fc-list :lang=zh
2、安装字体
yum -y install fontconfig #安装字体库
yum -y install ttmkfdir mkfontscale #安装字体索引信息
可拷贝Windows的字体目录:C:\Windows\Fonts
3、linux字体目录:/usr/share/fonts,建议创建一个目录mkdir chinese 放中文字体
4、把字体上传到/usr/share/fonts/chinese目录
5、然后在/usr/share/fonts/chinese执行命令,生成字库索引信息
mkfontscale
mkfontdir
【测评工具安装】6、更新字体缓存
fc-cache