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 #安裝字體庫(kù)
yum -y install ttmkfdir mkfontscale #安裝字體索引信息
可拷貝Windows的字體目錄:C:\Windows\Fonts
3、linux字體目錄:/usr/share/fonts,建議創(chuàng)建一個(gè)目錄mkdir chinese 放中文字體
4、把字體上傳到/usr/share/fonts/chinese目錄
5、然后在/usr/share/fonts/chinese執(zhí)行命令,生成字庫(kù)索引信息
mkfontscale
mkfontdir
6城榛、更新字體緩存
fc-cache