sudo vim /etc/fonts/conf.d/49-sansserif.conf
将
<edit name="family" mode="append_last"> <string>sans-serif</string> </edit>
修改为
<edit name="family" mode="append_last"> <string>文泉驿正黑</string> </edit>
修改后文件内容:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <string>文泉驿正黑</string> </edit> </match> </fontconfig>
将mysql中数据导成sql文件:
mysqldump -h127.0.0.1 -P3306 -uroot -p654321 test_export_sql_db >links.sql