Home Docker建站实战 Docker入门 Onlyoffice安装字...

Onlyoffice安装字体

0

1. 复制字体到docker

 sudo docker cp /root/data/fonts 容器id:/usr/share/fonts/
  1. 进入容器
docker exec -it 容器id /bin/bash
  1. 到bin目录
cd /usr/bin
  1. 执行
./documentserver-generate-allfonts.sh
  1. 退出容器,重启容器
exit
docker restart onlyoffice

https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-linux.aspx

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

退出移动版