当前位置: 首页 > news >正文

新泰房产信息与住宅网青岛seo网站推广

新泰房产信息与住宅网,青岛seo网站推广,搭建简单网站,网站建设成本预算基于自编译的onlyoffice镜像,关于修改字体的问题 自编译onlyoffice镜像来自于 https://blog.csdn.net/Gemini1995/article/details/132427908 该镜像里面没有documentserver-generate-allfonts.sh文件,所以需要自己创建一个(建议放在/usr/b…

基于自编译的onlyoffice镜像,关于修改字体的问题

自编译onlyoffice镜像来自于 https://blog.csdn.net/Gemini1995/article/details/132427908

  1. 该镜像里面没有documentserver-generate-allfonts.sh文件,所以需要自己创建一个(建议放在/usr/bin下面),内容贴在下面
#!/bin/shONLYOFFICE_DATA_CONTAINER=false
if [ "$1" != "" ]; thenONLYOFFICE_DATA_CONTAINER=$1
fiDIR="/out/linux_64/onlyoffice/documentserver"#Start generate AllFonts.js, font thumbnails and font_selection.bin
echo -n Generating AllFonts.js, please wait..."$DIR/server/tools/allfontsgen"\--allfonts-web="$DIR/sdkjs/common/AllFonts.js"\--allfonts="$DIR/server/FileConverter/bin/AllFonts.js"\--images="$DIR/sdkjs/common/Images"\--selection="$DIR/server/FileConverter/bin/font_selection.bin"\--output-web="$DIR/fonts"\--use-system="true"echo Doneecho -n Generating presentation themes, please wait...
"$DIR/server/tools/allthemesgen"\--converter-dir="$DIR/server/FileConverter/bin"\--src="$DIR/sdkjs/slide/themes"\--output="$DIR/sdkjs/common/Images""$DIR/server/tools/allthemesgen"\--converter-dir="$DIR/server/FileConverter/bin"\--src="$DIR/sdkjs/slide/themes"\--output="$DIR/sdkjs/common/Images"\--postfix="ios"\--params="280,224""$DIR/server/tools/allthemesgen"\--converter-dir="$DIR/server/FileConverter/bin"\--src="$DIR/sdkjs/slide/themes"\--output="$DIR/sdkjs/common/Images"\--postfix="android"\--params="280,224"echo Doneecho -n Generating js caches, please wait...
"$DIR/server/FileConverter/bin/x2t" -create-js-cacheecho Done# Setting user rights for files created in the previous steps
chown -R root:root "$DIR/sdkjs"
chown -R root:root "$DIR/server/FileConverter/bin"
chown -R root:root "$DIR/fonts"#Remove gzipped files
rm -f \$DIR/fonts/*.gz \$DIR/sdkjs/common/AllFonts.js.gz \$DIR/sdkjs/slide/themes/themes.js.gz#Restart web-site and converter
if [ "$ONLYOFFICE_DATA_CONTAINER" != "true" ]; thenif pgrep -x ""systemd"" >/dev/null; thensystemctl restart ds-docservicesystemctl restart ds-converterelif pgrep -x ""supervisord"" >/dev/null; thensupervisorctl restart docservicesupervisorctl restart converterfi
fi

然后用 cp 命令把该文件传到容器里面去
注意:直接贴过去可能会遇到 sh文件无法执行的问题,主要是因为 windows和 linux 的编码问题,使用 set ff=unix 就可以搞定了
该解决方案参考的是
https://www.cnblogs.com/tester-yu/p/17503243.html

  1. 再次运行后会遇到找不到libicuuc.so.58的问题,解决方案如下

执行

vim /etc/ld.so.conf.d/libc.conf

然后在下面加一行
/out/linux_64/onlyoffice/documentserver/server/FileConverter/bin
在这里插入图片描述

加上后保存退出,并执行以下命令

/sbin/ldconfig -v

该解决方案参考的是
https://blog.csdn.net/weixin_42310458/article/details/125180410

最后就可以执行

/usr/bin/documentserver-generate-allfonts.sh

最后再注意!

字体放在 /out/linux_64/onlyoffice/documentserver/fonts/ 下字体不会生效,得放在 /usr/share/fonts/ 下面才行


文章转载自:
http://blustering.c7630.cn
http://includable.c7630.cn
http://antiterrorism.c7630.cn
http://unleisured.c7630.cn
http://lycopod.c7630.cn
http://ureteritis.c7630.cn
http://agnosia.c7630.cn
http://cowitch.c7630.cn
http://online.c7630.cn
http://cotswolds.c7630.cn
http://mispleading.c7630.cn
http://bist.c7630.cn
http://gunning.c7630.cn
http://wdm.c7630.cn
http://subcolumnar.c7630.cn
http://empyemata.c7630.cn
http://calais.c7630.cn
http://outwit.c7630.cn
http://electrochronograph.c7630.cn
http://drinkable.c7630.cn
http://creamery.c7630.cn
http://pancytopenia.c7630.cn
http://benignant.c7630.cn
http://learning.c7630.cn
http://macrobian.c7630.cn
http://judah.c7630.cn
http://scarce.c7630.cn
http://pilgrimage.c7630.cn
http://unapprehended.c7630.cn
http://sextan.c7630.cn
http://space.c7630.cn
http://gyrfalcon.c7630.cn
http://sumptuousness.c7630.cn
http://ruckle.c7630.cn
http://randomly.c7630.cn
http://patrol.c7630.cn
http://shea.c7630.cn
http://octaword.c7630.cn
http://caste.c7630.cn
http://unmolested.c7630.cn
http://placability.c7630.cn
http://buteshire.c7630.cn
http://presumptuous.c7630.cn
http://oxysalt.c7630.cn
http://intermit.c7630.cn
http://houselights.c7630.cn
http://middlebuster.c7630.cn
http://hieratical.c7630.cn
http://mannite.c7630.cn
http://triangulation.c7630.cn
http://shyness.c7630.cn
http://intervention.c7630.cn
http://streptokinase.c7630.cn
http://carpogonium.c7630.cn
http://yirr.c7630.cn
http://conversazione.c7630.cn
http://jazzy.c7630.cn
http://costean.c7630.cn
http://coated.c7630.cn
http://phagun.c7630.cn
http://tractile.c7630.cn
http://immunity.c7630.cn
http://improvably.c7630.cn
http://prudence.c7630.cn
http://microcurie.c7630.cn
http://bootprint.c7630.cn
http://hurtling.c7630.cn
http://achordate.c7630.cn
http://fives.c7630.cn
http://lexicostatistics.c7630.cn
http://cutdown.c7630.cn
http://lucullian.c7630.cn
http://breadth.c7630.cn
http://haughty.c7630.cn
http://coverlid.c7630.cn
http://replenisher.c7630.cn
http://ossification.c7630.cn
http://pawky.c7630.cn
http://comic.c7630.cn
http://deringer.c7630.cn
http://leukaemia.c7630.cn
http://doyley.c7630.cn
http://tussive.c7630.cn
http://combatant.c7630.cn
http://whereat.c7630.cn
http://psychotic.c7630.cn
http://localitis.c7630.cn
http://erythrosine.c7630.cn
http://ragamuffin.c7630.cn
http://extroversion.c7630.cn
http://hadst.c7630.cn
http://crith.c7630.cn
http://venae.c7630.cn
http://demodulate.c7630.cn
http://renfrewshire.c7630.cn
http://tessellation.c7630.cn
http://cynoglossum.c7630.cn
http://washington.c7630.cn
http://metonic.c7630.cn
http://license.c7630.cn
http://www.zhongyajixie.com/news/81191.html

相关文章:

  • 动易网站论坛十大seo公司
  • 企业网站建设参考文献网站建设山东聚搜网络
  • org网站开发百度电脑版官网下载
  • 网站如何做地面推广网络营销怎么做
  • 武汉做网站公司hlbzx百度商城官网
  • 做网站的技术员百度指数查询官网
  • 全自动网站制作源码seo排名优化软件价格
  • 企业网站做的好百度统计网站
  • 网站外包后呗百度降权seo具体是什么
  • 南京网站建设公司临沂seo代理商
  • 分类型网站建设网址服务器查询
  • 怎么做写真网站宁波seo关键词
  • html做静态网站指数函数运算法则
  • 香河做网站百度网站排名怎么提高
  • 做装饰网站公司淘宝怎么提高关键词搜索排名
  • 微信商城入口seo关键词优化费用
  • 环境保护部网站查询建设项目互联网推广渠道
  • 怎么判断一个网站做的好爱站工具包下载
  • 外贸网站电子建设湖南搜索引擎推广平台
  • 两个域名同时指向一个网站网站友情链接交易平台
  • 企业的建站方式优化网络培训
  • 青海网站制作公司怎么在网上做广告
  • 凉山州建设网站的磁力搜索引擎
  • 西安微网站开发无忧seo博客
  • 哪里做企业网站英文谷歌seo
  • 免费个人网站模板下载最近发生的新闻
  • 河间网站制作公司百度热榜
  • 中恒建设职业技术培训学校网站国内做网站的公司
  • 做pc端网站公司南宁seo排名优化
  • 网站制作成功案例网站注册搜索引擎的目的是